# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-sdk pkgver=5.27.6 pkgrel=0 pkgdesc="Applications useful for Plasma Development" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" depends=" kirigami2 qt5-qtquickcontrols " makedepends=" extra-cmake-modules karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdeclarative-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kparts-dev kservice-dev ktexteditor-dev kwidgetsaddons-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-sdk-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang $pkgname-zsh-completion" prepare() { default_prepare # This currently breaks CMake rm -r po/nl/docs/plasma-sdk } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # iconmodeltest is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "iconmodeltest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 74f82eb09f362c445ddc1d46ddd5e02a848245ee0f84b332273a4376403c5273da66febf26583f32a1fe8e7223860a4e8ab0782f1d396139991da2941500630b plasma-sdk-5.27.6.tar.xz "