pmaports/temp/plymouth-kcm/APKBUILD

53 lines
1.2 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plymouth-kcm
pkgver=5.20.90
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by knewstuff
arch="all !armhf !s390x !mips64"
url="https://invent.kde.org/plasma/plymouth-kcm"
pkgdesc="KCM to manage the Plymouth (Boot) theme"
license="GPL-2.0-or-later"
depends="plymouth"
makedepends="
extra-cmake-modules
karchive-dev
kcmutils
kconfig-dev
kconfigwidgets-dev
kdeclarative-dev
ki18n-dev
kio-dev
knewstuff-dev
plymouth-dev
qt5-qtbase-dev
"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/plymouth-kcm-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="e8c07a29a51b0e48480d84e643ae83c7f29fb6ddc7bd0e87eb238a1f888872ce4955a5c4fc88e384194269fcbb3d0feb988dc835550a881d41495328d9e7db50 plymouth-kcm-5.20.90.tar.xz"