34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'kscreenlocker'
|
|
pkgname=kscreenlocker
|
|
version=5.23.5
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config kcoreaddons qt5-qmake
|
|
qt5-host-tools gettext kcmutils"
|
|
makedepends="kdeclarative-devel kidletime-devel kcmutils-devel
|
|
libSM-devel kwayland-devel libXi-devel pam-devel libXcursor-devel
|
|
layer-shell-qt-devel"
|
|
short_desc="KDE Library and components for secure lock screen architecture"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/plasma/kscreenlocker"
|
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=f5ca9dd81f17c599e11a51c6e986ff768ad88c0bde7e42e097d6a7efd9e6701f
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wayland-devel"
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
configure_args+=" -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
|
|
fi
|
|
|
|
kscreenlocker-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|