summaryrefslogtreecommitdiff
path: root/user/kde-gtk-config
diff options
context:
space:
mode:
Diffstat (limited to 'user/kde-gtk-config')
-rw-r--r--user/kde-gtk-config/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/kde-gtk-config/APKBUILD b/user/kde-gtk-config/APKBUILD
new file mode 100644
index 000000000..b7f88f151
--- /dev/null
+++ b/user/kde-gtk-config/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kde-gtk-config
+pkgver=5.12.6
+pkgrel=0
+pkgdesc="KDE System Settings panel for configuring GTK+ application styles"
+url="https://www.kde.org/"
+arch="all"
+license="GPL-3.0+"
+depends="gsettings-desktop-schemas"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev gtk+2.0-dev gtk+3.0-dev
+ karchive-dev kcmutils-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev
+ kio-dev knewstuff-dev gsettings-desktop-schemas-dev"
+subpackages="$pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ 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() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="05682cf2acef5532aef62b68ca4c3602df1a0141fe791cc0ad3b7ea7893e00327b3b98d515c95db4333e4e6a7c19b3b98f7d9a47e551c571d5492591f7225882 kde-gtk-config-5.12.6.tar.xz"