5427d7da1a
* Update KDE Frameworks to 5.41.0 * Bump pkgrel of packages depending on the KDE Framework update
35 lines
1,007 B
Text
35 lines
1,007 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libkscreen
|
|
pkgver=5.11.2
|
|
pkgrel=1
|
|
pkgdesc='KDE screen management software'
|
|
arch="all"
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
|
license="GPL-2.0"
|
|
depends=""
|
|
depends_dev="qt5-qtbase-dev qt5-x11extras-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 \
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="29f8488e8b5b40ea5bca00ee3a6a9fb59295be1a964ca389205e669b0b2143823920eeb80e2eba03356d657a50ee2a0ce06a6d6628afdd11f1dfd77d9755b1b5 libkscreen-5.11.2.tar.xz"
|