2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kscreen
|
|
|
|
pkgver=5.11.2
|
2017-12-11 20:37:41 +00:00
|
|
|
pkgrel=1
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
|
|
|
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="0ea6cac748f137a7a2cfa65636c5f3c2a45f95ef2723c1990406e9f8ac188e263f101a3b9ff402fd097661b1d29fa3942223f2f18512489c3eeab6847bbb696c kscreen-5.11.2.tar.xz"
|