aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kvantum
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-08 05:57:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-08 06:11:06 -0300
commitad9e4aa6f2e61cb9f95b18f6016ad5fb01033542 (patch)
treead567fa54ec051262fdffb161c7a581fd2ba0514 /testing/kvantum
parentb6772a0772a0eecf6038f0413918f3e158fa528f (diff)
downloadaports-ad9e4aa6f2e61cb9f95b18f6016ad5fb01033542.tar.bz2
aports-ad9e4aa6f2e61cb9f95b18f6016ad5fb01033542.tar.xz
testing/kvantum: new aport
https://github.com/tsujan/Kvantum SVG-based theme engine for Qt5
Diffstat (limited to 'testing/kvantum')
-rw-r--r--testing/kvantum/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/kvantum/APKBUILD b/testing/kvantum/APKBUILD
new file mode 100644
index 0000000000..695c115b7f
--- /dev/null
+++ b/testing/kvantum/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=kvantum
+pkgver=0.12.1
+pkgrel=0
+pkgdesc="SVG-based theme engine for Qt5"
+options="!check" # No testsuite
+url="https://github.com/tsujan/Kvantum"
+arch="all"
+license="GPL-2.0-or-later"
+depends="hicolor-icon-theme"
+makedepends="cmake qt5-qtbase-dev qt5-qtsvg-dev qt5-qtx11extras-dev libx11-dev
+ libxext-dev kwindowsystem-dev qt5-qttools-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/tsujan/Kvantum/archive/V$pkgver/kvantum-$pkgver.tar.gz"
+builddir="$srcdir/Kvantum-$pkgver/Kvantum"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DENABLE_QT4=OFF \
+ ${CMAKE_CROSSOPTS} .
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/share/kde4
+}
+
+sha512sums="a3c3c6418baca89b3d1d6c02ec370cde530882643dec3c8714f01cc8c36541b0cc7f124d605f8931086cd74eebd522b88a968bcf9cd1f7adea2028b359ff1de5 kvantum-0.12.1.tar.gz"