summaryrefslogtreecommitdiff
path: root/user/kdebugsettings/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-18 18:55:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-18 18:55:09 +0000
commit134fd91a883b6e62366eec39a122c1ff00ff195d (patch)
treeae59c766303c42f20009328af8b11c201b44d197 /user/kdebugsettings/APKBUILD
parent4127d89c47bdd5a5adf232851e0d4b2406b651f0 (diff)
downloadpackages-134fd91a883b6e62366eec39a122c1ff00ff195d.tar.gz
packages-134fd91a883b6e62366eec39a122c1ff00ff195d.tar.bz2
packages-134fd91a883b6e62366eec39a122c1ff00ff195d.tar.xz
packages-134fd91a883b6e62366eec39a122c1ff00ff195d.zip
user/kdebugsettings: New package
Diffstat (limited to 'user/kdebugsettings/APKBUILD')
-rw-r--r--user/kdebugsettings/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/kdebugsettings/APKBUILD b/user/kdebugsettings/APKBUILD
new file mode 100644
index 000000000..d1b0bb962
--- /dev/null
+++ b/user/kdebugsettings/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kdebugsettings
+pkgver=20.04.3
+pkgrel=0
+pkgdesc="Set KDE debug settings"
+url="https://kde.org/applications/development/org.kde.kdebugsettings"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="qt5-qtbase-dev cmake extra-cmake-modules kcompletion-dev
+ kconfig-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kitemviews-dev
+ kwidgetsaddons-dev"
+subpackages="$pkgname-lang"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kdebugsettings-$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="af6770415d7f8ba5ff56c13ce7227cc1b22b2db2f24da3ae5ee9d03d3275ced87dd0f73d310f0e4b1eaeb20bbe26df76f40b7c6a258be506529394d044826012 kdebugsettings-20.04.3.tar.xz"