index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | community/clementine/PKGBUILD | 24 | ||||
-rw-r--r-- | community/clementine/clementine-1.4.0rc1-qpainterpath-missing-include.patch | 33 |
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 --- /dev/null +++ b/community/clementine/clementine-1.4.0rc1-qpainterpath-missing-include.patch @@ -0,0 +1,33 @@ +diff -rauN clementine-1.4.0rc1/src/widgets/freespacebar.cpp clementine-1.4.0rc1-qpainterpath-missing-include-patch/src/widgets/freespacebar.cpp +--- clementine-1.4.0rc1/src/widgets/freespacebar.cpp 2020-01-02 22:53:03.000000000 +0100 ++++ clementine-1.4.0rc1-qpainterpath-missing-include-patch/src/widgets/freespacebar.cpp 2022-09-25 10:08:57.635983555 +0200 +@@ -20,6 +20,7 @@ + + #include <QLinearGradient> + #include <QPainter> ++#include <QPainterPath> + + const int FreeSpaceBar::kBarHeight = 20; + const int FreeSpaceBar::kBarBorderRadius = 8; +diff -rauN clementine-1.4.0rc1/src/widgets/osdpretty.cpp clementine-1.4.0rc1-qpainterpath-missing-include-patch/src/widgets/osdpretty.cpp +--- clementine-1.4.0rc1/src/widgets/osdpretty.cpp 2020-01-02 22:53:03.000000000 +0100 ++++ clementine-1.4.0rc1-qpainterpath-missing-include-patch/src/widgets/osdpretty.cpp 2022-09-25 10:09:23.468658878 +0200 +@@ -26,6 +26,7 @@ + #include <QLayout> + #include <QMouseEvent> + #include <QPainter> ++#include <QPainterPath> + #include <QSettings> + #include <QTimer> + #include <QTimeLine> +diff -rauN clementine-1.4.0rc1/src/widgets/sliderwidget.cpp clementine-1.4.0rc1-qpainterpath-missing-include-patch/src/widgets/sliderwidget.cpp +--- clementine-1.4.0rc1/src/widgets/sliderwidget.cpp 2020-01-02 22:53:03.000000000 +0100 ++++ clementine-1.4.0rc1-qpainterpath-missing-include-patch/src/widgets/sliderwidget.cpp 2022-09-25 10:09:36.561658722 +0200 +@@ -24,6 +24,7 @@ + #include <QBrush> + #include <QImage> + #include <QPainter> ++#include <QPainterPath> + #include <QSize> + #include <QTimer> + #include <QStyle> |