33 lines
963 B
Text
33 lines
963 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libkscreen
|
|
pkgver=5.15.2
|
|
pkgrel=0
|
|
pkgdesc="KDE screen management software"
|
|
arch="all"
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="GPL-2.0"
|
|
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwayland-dev"
|
|
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
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="f803d5288722bb14452e730a522f6b8e69a386276b937ed309906848de83ffa6592d64a4372c072b8e0996c28dd64bc776c256f9f3c32d1993e92a514a27b43e libkscreen-5.15.2.tar.xz"
|