pmaports/temp/kscreen/APKBUILD
Bart Ribbers 9aa3a65a83
temp/plasma*: fork from Alpine to upgrade to 5.20.90 (MR 1881)
[ci:skip-build] Never succeeds in time
[ci:skip-vercheck] We need our Mauikit to be a rel newer than in Alpine
repos, but the CI doesn't like it

This includes a big rewrite in kwin which should increase the
performance a whole lot, and some awesome other stuff
2021-02-02 14:13:31 +01:00

57 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kscreen
pkgver=5.20.90
pkgrel=0
pkgdesc="KDE's screen management software"
# armhf blocked by qt5-qtdeclarative
# s390x blocked by kconfigwidgets
arch="all !armhf !s390x !mips64"
url="https://kde.org/plasma-desktop/"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="hicolor-icon-theme"
makedepends="
extra-cmake-modules
kcmutils-dev
kconfig-dev
kconfigwidgets-dev
kdbusaddons-dev
kdeclarative-dev
kglobalaccel-dev
ki18n-dev
kiconthemes-dev
kwidgetsaddons-dev
kxmlgui-dev
libkscreen-dev
plasma-framework-dev
qt5-qtbase-dev
qt5-qtsensors-dev
"
checkdepends="xvfb-run"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/kscreen-$pkgver.tar.xz"
subpackages="$pkgname-lang"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
# kscreen-kded-configtest is broken
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kscreen-kded-configtest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="ae3e28aecb62479fec4b5f5e9f4d971cb4a80640182f726841ff7d232b9b8a8d1520e279d16d7a968280529e835883fc3cdc3f96a9f3e0ac8dbbd0493ffe46b5 kscreen-5.20.90.tar.xz"