void-packages/srcpkgs/kf6-kidletime/template

28 lines
986 B
Bash

# Template file for 'kf6-kidletime'
pkgname=kf6-kidletime
version=6.3.0
revision=3
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-wayland-tools wayland-devel pkg-config"
makedepends="qt6-wayland-devel plasma-wayland-protocols wayland-protocols
libXScrnSaver-devel qt6-base-private-devel"
short_desc="Framework for detection and notification of device idle time"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kidletime"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=cd8f677cce6738342b88817d0e7c1803460f00e409d730c5ae0ea33b1426472d
kf6-kidletime-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}