void-packages/srcpkgs/kscreenlocker/template

31 lines
1.2 KiB
Bash

# Template file for 'kscreenlocker'
pkgname=kscreenlocker
version=6.1.1
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext
elogind wayland-devel kf6-kpackage kf6-kcmutils"
makedepends="kf6-kdeclarative-devel kf6-kpackage-devel kf6-kidletime-devel
kf6-kcmutils-devel qt6-base-private-devel
kf6-ksvg-devel kf6-kpackage-devel pam-devel layer-shell-qt-devel libkf6screen-devel
libplasma-devel wayland-devel xcb-util-keysyms-devel libxcb-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=55d53a05f737d53569eaec2579d655cc5ca3365dd5ae5187811198cb95c671a9
kscreenlocker-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}