2024-07-13 08:20:00 +02:00

58 lines
1.4 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-frameworks
pkgname=kcmutils
pkgver=6.4.0
pkgrel=0
pkgdesc="Utilities for interacting with KCModules"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only AND LGPL-2.1-or-later"
depends_dev="
kconfigwidgets-dev
kcoreaddons-dev
kdeclarative-dev
ki18n-dev
kiconthemes-dev
kitemviews-dev
kservice-dev
kxmlgui-dev
"
makedepends="$depends_dev
doxygen
extra-cmake-modules
qt6-qttools-dev
samurai
"
checkdepends="
kirigami
xvfb-run
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/frameworks/kcmutils.git"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcmutils-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
cmake --build build
}
check() {
xvfb-run ctest --test-dir build --output-on-failure -E "kcmultidialogtest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
4006c7eb0ac7971d6da095b65181259c334e9f8f9fedc9f16664cbaefb34506a86db26f15c6d8a2e11e9a75a7994d32f0dfe077354b82221fd31ce9c612497fa kcmutils-6.4.0.tar.xz
"