2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libkscreen
|
2018-12-29 20:27:48 +00:00
|
|
|
pkgver=5.14.4
|
2019-01-18 14:02:04 +00:00
|
|
|
pkgrel=1
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="KDE screen management software"
|
2017-11-26 17:08:10 +00:00
|
|
|
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=""
|
2018-05-02 20:50:29 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwayland-dev"
|
2017-11-26 17:08:10 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
options="!check" # Fails due to requiring dbus-x11 and it running
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2018-12-29 20:27:48 +00:00
|
|
|
sha512sums="6f50be0e3b07eda71deab051b22b908601381b881539b9aeb6343b993570b8dc010b2c7c3820be0cfa879140e2275b96e293d92fd760807e9448c4a421248eb5 libkscreen-5.14.4.tar.xz"
|