[arch-commits] Commit in qtcurve/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jun 3 23:45:04 UTC 2017
Date: Saturday, June 3, 2017 @ 23:45:03
Author: arojas
Revision: 233838
Update to 1.9.1, add a specific -kde subpackage and keep -qt5 light
Modified:
qtcurve/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-03 21:42:46 UTC (rev 233837)
+++ PKGBUILD 2017-06-03 23:45:03 UTC (rev 233838)
@@ -5,8 +5,8 @@
# Contributor: Pierre Schmitz <pierre at archlinux.de>
pkgbase=qtcurve
-pkgname=('qtcurve-utils' 'qtcurve-gtk2' 'qtcurve-qt4' 'qtcurve-qt5')
-pkgver=1.9.0
+pkgname=('qtcurve-utils' 'qtcurve-gtk2' 'qtcurve-qt4' 'qtcurve-qt5' 'qtcurve-kde')
+pkgver=1.9.1
pkgrel=1
pkgdesc='A configurable set of widget styles for KDE and Gtk'
arch=('i686' 'x86_64')
@@ -15,15 +15,22 @@
groups=('qtcurve')
makedepends=('extra-cmake-modules' 'gtk2' 'qt4' 'kdelibs4support' 'kdoctools' 'frameworkintegration' 'python' 'kdesignerplugin')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/KDE/qtcurve/archive/$pkgver.tar.gz")
-sha256sums=('1024503be314596f8047f0ab0efde99a01959bacfaffd0d1305212be53d34b85')
+sha256sums=('fbfdafdac90d4c540dd55a4accfecfc3a17c1f532c5241e28003348beafaca15')
prepare() {
- mkdir -p build
+ mkdir -p build{,-kde}
}
build() {
cd build
+ cmake ../$pkgbase-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQTC_QT4_ENABLE_KDE=false \
+ -DQTC_QT5_ENABLE_KDE=false
+ make
+ cd ../build-kde
cmake ../$pkgbase-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -32,6 +39,7 @@
}
package_qtcurve-utils() {
+ pkgdesc='A configurable set of widget styles for KDE and Gtk (shared libraries)'
depends=('libx11' 'gcc-libs')
cd build/lib/utils
make DESTDIR="$pkgdir" install
@@ -38,6 +46,7 @@
}
package_qtcurve-gtk2() {
+ pkgdesk='A configurable set of widget styles for Gtk2'
depends=('qtcurve-utils' 'gtk2')
cd build/gtk2
make DESTDIR="$pkgdir" install
@@ -46,6 +55,7 @@
}
package_qtcurve-qt4() {
+ pkgdesc='A configurable set of widget styles for Qt4'
depends=('qtcurve-utils' 'qt4')
cd build/qt4
make DESTDIR="$pkgdir" install
@@ -52,7 +62,17 @@
}
package_qtcurve-qt5() {
- depends=('qtcurve-utils' 'kdelibs4support' 'frameworkintegration')
+ pkgdesc='A configurable set of widget styles for Qt5'
+ depends=('qtcurve-utils' 'qt5-svg' 'qt5-x11extras')
+ groups=()
cd build/qt5
make DESTDIR="$pkgdir" install
}
+
+package_qtcurve-kde() {
+ pkgdesc='A configurable set of widget styles for Qt5 (with KDE integration)'
+ depends=('qtcurve-utils' 'kdelibs4support' 'frameworkintegration')
+ conflicts=('qtcurve-qt5')
+ cd build-kde/qt5
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list