2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libkscreen
|
2019-02-20 19:36:12 +00:00
|
|
|
pkgver=5.15.1
|
2019-02-12 15:04:21 +00:00
|
|
|
pkgrel=0
|
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"
|
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 \
|
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-02-20 19:36:12 +00:00
|
|
|
sha512sums="9eb4dd48e9d025beead86b76476def8ac54f681aa7e8f2fd6fedd44a529f6d4cdac68458724f7a76fc7ea65a5a9f21bb70767e5c707f6c0537fc01cf748b5b46 libkscreen-5.15.1.tar.xz"
|