pmaports/kde/kscreen/APKBUILD
Bhushan Shah d2ce083552 aports/kde: upgrade to KDE Plasma 5.13.2 release
Also includes a revert for the commit which broke the libinput devices
for consolekit session. I am still unsure of solution for both of the
problems to suggest upstream. But it is in my todo list.

Fixes #1585
2018-07-02 12:09:58 +05:30

38 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kscreen
pkgver=5.13.2
pkgrel=0
pkgdesc="KDE's screen management software"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
license="GPL-2.0"
depends="hicolor-icon-theme"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev libkscreen-dev kdbusaddons-dev
kconfig-dev kconfigwidgets-dev ki18n-dev kxmlgui-dev kauth-dev kcoreaddons-dev
kcodecs-dev kwidgetsaddons-dev kglobalaccel-dev kdeclarative-dev
plasma-framework-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/plasma/$pkgver/kscreen-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # Fails due to requiring running X11
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="331edb6b512df892ded1c892487be56d43c0c273edc6f3268efceb9f2926b8c9a980dda8ec08219ec42cadf45f69a3fcbe7f4aa1bc30adc186996dd95f55cb52 kscreen-5.13.2.tar.xz"