2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libkscreen
|
2019-05-07 14:15:59 +00:00
|
|
|
pkgver=5.15.5
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=2
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="KDE screen management software"
|
2019-05-27 20:10:25 +00:00
|
|
|
arch="all !armhf"
|
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"
|
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 \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-12 15:04:21 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2017-11-26 17:08:10 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-05-07 14:15:59 +00:00
|
|
|
sha512sums="038ea60f534edfd1ceaf523a2d00ecb53f62b6f64ce9900b1313f9ab25b7099146167cbce50b31c799644fb0d5c9522a9bcbaad81e9022feb7532c911b2ec030 libkscreen-5.15.5.tar.xz"
|