From 1d93faea9d0d08a0bdc7d76f417ed0e04910628a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 25 Sep 2022 12:03:09 +0200 Subject: community/clementine: using 1.4.0rc1 and patched qpainterpath --- community/clementine/PKGBUILD | 24 +++++++++++++++++++++ ...ine-1.4.0rc1-qpainterpath-missing-include.patch | Bin 0 -> 1573 bytes 2 files changed, 24 insertions(+) create mode 100644 community/clementine/PKGBUILD create mode 100644 community/clementine/clementine-1.4.0rc1-qpainterpath-missing-include.patch (limited to 'community') diff --git a/community/clementine/PKGBUILD b/community/clementine/PKGBUILD new file mode 100644 index 00000000..328858fa --- /dev/null +++ b/community/clementine/PKGBUILD @@ -0,0 +1,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 + ' +)" diff --git a/community/clementine/clementine-1.4.0rc1-qpainterpath-missing-include.patch b/community/clementine/clementine-1.4.0rc1-qpainterpath-missing-include.patch new file mode 100644 index 00000000..49654005 Binary files /dev/null and b/community/clementine/clementine-1.4.0rc1-qpainterpath-missing-include.patch differ -- cgit v1.2.3-54-g00ecf