summaryrefslogtreecommitdiff
path: root/user/grantleetheme
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-20 00:01:50 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-20 00:01:50 +0000
commitc24d76e973433cc679959e93f1941f989376061b (patch)
tree4445d700a9c6a994dd62e371b1c73a4a110ceba1 /user/grantleetheme
parentaf76d614a71ac22cb21fccd76094a0c02eb42ed6 (diff)
downloadpackages-c24d76e973433cc679959e93f1941f989376061b.tar.gz
packages-c24d76e973433cc679959e93f1941f989376061b.tar.bz2
packages-c24d76e973433cc679959e93f1941f989376061b.tar.xz
packages-c24d76e973433cc679959e93f1941f989376061b.zip
user/grantleetheme: New package
Diffstat (limited to 'user/grantleetheme')
-rw-r--r--user/grantleetheme/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/grantleetheme/APKBUILD b/user/grantleetheme/APKBUILD
new file mode 100644
index 000000000..6ac4749c7
--- /dev/null
+++ b/user/grantleetheme/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=grantleetheme
+pkgver=20.04.3
+pkgrel=0
+pkgdesc="KDE Grantlee theme support library"
+url="https://kde.org/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="qt5-qtbase-dev cmake extra-cmake-modules grantlee-dev kauth-dev
+ kcodecs-dev kconfigwidgets-dev kcoreaddons-dev kguiaddons-dev ki18n-dev
+ kiconthemes-dev knewstuff-dev kservice-dev kwidgetsaddons-dev
+ kxmlgui-dev attica-dev"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://download.kde.org/stable/release-service/$pkgver/src/grantleetheme-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4bf3dd73238fffa4db2c2ec8d619100570847684e2fc5ec84b2f23c651b505127cfa019d0a8ceb9f8b0237124f53007d7052d67d7476f0f43a51e29b92e787cf grantleetheme-20.04.3.tar.xz"