diff options
Diffstat (limited to 'user/kdebugsettings/APKBUILD')
-rw-r--r-- | user/kdebugsettings/APKBUILD | 41 |
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" |