void-packages/srcpkgs/kf6-kidletime/template

28 lines
986 B
Bash

# Template file for 'kf6-kidletime'
pkgname=kf6-kidletime
version=6.7.0
revision=1
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=60a6c70387b63e61147029ce57f170237271411630a3372a0e8d7240b8006aaf
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"
}
}