Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/clementine/PKGBUILD
blob: 328858fa9fa1bc1db783352eac2a5b46f2faacd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# rc2 disappeared, we have to rebuild because of protobuf
sed -i '
  s/^pkgver=1.4.0rc2$/pkgver=1.4.0rc1/
' PKGBUILD
sha256sums[0]='96ba2f5f3ece47b2c1065e980dcc37ada93ea42cf37b794ee804514ce4a65459'

# disable -Werror
eval "$(
  declare -f build | \
    sed '
      s|cmake -B build |cmake -B build -DBUILD_WERROR=OFF |
    '
)"

# RC1 misses includes to QPainterPath
source+=('clementine-1.4.0rc1-qpainterpath-missing-include.patch')
sha256sums+=('64d538336a4f017abf1c6efa0973fc95eb1ac44aaf510b7c1e8a041113e1cdfd')
eval "$(
  declare -f prepare \
  | sed '
    $ i cd $pkgname-$pkgver
    $ i patch -Np1 -i "$srcdir"/clementine-1.4.0rc1-qpainterpath-missing-include.patch
  '
)"