# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kdebugsettings pkgver=23.04.3 pkgrel=1 arch="all !armhf" url="https://kde.org/applications/utilities/" pkgdesc="An application to enable/disable qCDebug" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kcompletion-dev kconfig-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kitemviews-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/utilities/kdebugsettings.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kdebugsettings-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ced18a5a5585daa42c4a4143325cbfe7db7d2ec3ecda6afbd1e6374aea72ad72806c15c59c9ffbbf2809f917ed8a523b2fe79802214ddc2f714207a859736366 kdebugsettings-23.04.3.tar.xz "