pmaports/temp/plasma-sdk/APKBUILD

67 lines
1.5 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-sdk
pkgver=5.20.90
pkgrel=0
pkgdesc="Applications useful for Plasma Development"
# armhf blocked by qt5-qtdeclarative
# s390x blocked by kconfigwidgets
# mips64 blocked by multiple dependencies
arch="all !armhf !s390x !mips64"
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
"
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"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-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="252d0ce38804bc2360c719b4791d1255fb17e8b6867a7b00f621dbc10ee8d97cf85f62983946116dfdaded3770be66fc8c96ae11a2799f2542f07ae4ca458617 plasma-sdk-5.20.90.tar.xz"