22 lines
881 B
Text
22 lines
881 B
Text
# Template file for 'xidlehook'
|
|
pkgname=xidlehook
|
|
version=0.10.0
|
|
revision=1
|
|
build_wrksrc="xidlehook-daemon"
|
|
build_style=cargo
|
|
configure_args="$(vopt_if pulseaudio '--features pulse' '--no-default-features')"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="libxcb-devel libXScrnSaver-devel $(vopt_if pulseaudio pulseaudio-devel)"
|
|
short_desc="Xautolock rewrite in Rust, with a few extra features"
|
|
maintainer="MOIS3Y <stepan@zhukovsky.me>"
|
|
license="MIT"
|
|
homepage="https://gitlab.com/jD91mZM2/xidlehook"
|
|
distfiles="https://gitlab.com/jD91mZM2/xidlehook/-/archive/${version}/xidlehook-${version}.tar.gz"
|
|
checksum=66751b78c5174c0e430d9becd749771d593f388db348514d8c3256670dc77cd8
|
|
build_options_default="pulseaudio"
|
|
desc_option_pulseaudio="Don't invoke the timer when any audio is playing (Only works with Pulseaudio)"
|
|
build_options="pulseaudio"
|
|
|
|
post_install() {
|
|
vlicense ../LICENSE
|
|
}
|