2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kscreen
|
2019-02-20 19:36:12 +00:00
|
|
|
pkgver=5.15.1
|
2019-02-12 15:04:21 +00:00
|
|
|
pkgrel=0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgdesc="KDE's screen management software"
|
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends="hicolor-icon-theme"
|
2019-02-12 15:04:21 +00:00
|
|
|
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"
|
2017-11-26 17:08:10 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
2019-02-12 15:04:21 +00:00
|
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
2017-11-26 17:08:10 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-02-20 19:36:12 +00:00
|
|
|
sha512sums="ad8a63980e8cd0159ca2b064110d55e137adf1ffe0c99f38690a1327a0d8a50271a98403fff9ebe693a01bab5d96cbf9ff0472f7895e0a50c5d0ae612189a97c kscreen-5.15.1.tar.xz"
|