[arch-commits] Commit in qtcurve/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Sep 11 16:18:05 UTC 2019
Date: Wednesday, September 11, 2019 @ 16:18:04
Author: arojas
Revision: 509293
Qt 5.13.1 rebuild (FS#63724)
Modified:
qtcurve/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-11 16:13:28 UTC (rev 509292)
+++ PKGBUILD 2019-09-11 16:18:04 UTC (rev 509293)
@@ -8,7 +8,7 @@
pkgname=(qtcurve-utils qtcurve-gtk2 qtcurve-qt5 qtcurve-kde)
epoch=1
pkgver=1.9
-pkgrel=2
+pkgrel=3
pkgdesc='A configurable set of widget styles for KDE and Gtk'
arch=(x86_64)
url='https://github.com/KDE/qtcurve/'
@@ -15,26 +15,29 @@
license=(LGPL)
groups=(qtcurve)
makedepends=(extra-cmake-modules gtk2 kdelibs4support kdoctools frameworkintegration kdesignerplugin git)
-source=(https://download.kde.org/stable/$pkgbase/$pkgbase-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/$pkgbase/$pkgbase-$pkgver.tar.xz{,.sig}
+ qtcurve-gcc9.patch::"https://cgit.kde.org/qtcurve.git/patch/?id=ee2228ea")
sha256sums=('281f5e3d13b0c1c0aeea6f5c7e895aedcb8f4ce91bdbd12d068d3616bc6d2f99'
- 'SKIP')
+ 'SKIP'
+ 'be0167f269f3b0161bdcb3f8cbc0ab1043a0b1df5ecf09e22996a4cb8a946027')
validpgpkeys=(D88390B2991F8242FABD2A3C07F45E2A1937DD32) # Yichao Yu <yyc1992 at gmail.com>
prepare() {
mkdir -p build{,-kde}
+
+ cd $pkgbase-$pkgver
+ patch -p1 -i ../qtcurve-gcc9.patch # Fix build with GCC 9
}
build() {
cd build
cmake ../$pkgbase-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DQTC_QT5_ENABLE_KDE=false
+ -DQTC_QT5_ENABLE_KDE=false \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
cd ../build-kde
cmake ../$pkgbase-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_QT4=false \
-DENABLE_GTK2=false
make
}
More information about the arch-commits
mailing list