summaryrefslogtreecommitdiff
path: root/user/kde-gtk-config/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-08 08:46:27 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-08 08:46:27 +0000
commit8b68ad0711ee779f5ace3dabfec207afa9215170 (patch)
tree523f234f1129ac84952549afdd7743c7e18e8210 /user/kde-gtk-config/APKBUILD
parent138772487342fbe32827287514d12dcc9ef6859a (diff)
downloadpackages-8b68ad0711ee779f5ace3dabfec207afa9215170.tar.gz
packages-8b68ad0711ee779f5ace3dabfec207afa9215170.tar.bz2
packages-8b68ad0711ee779f5ace3dabfec207afa9215170.tar.xz
packages-8b68ad0711ee779f5ace3dabfec207afa9215170.zip
user/kde-gtk-config: new package
Diffstat (limited to 'user/kde-gtk-config/APKBUILD')
-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"