Added X11 stuff
This commit is contained in:
parent
0bb40fc248
commit
b2446f5817
2 changed files with 43 additions and 0 deletions
22
xidlehook/template
Normal file
22
xidlehook/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# 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
|
||||||
|
}
|
21
xssproxy/template
Normal file
21
xssproxy/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'xssproxy'
|
||||||
|
pkgname=xssproxy
|
||||||
|
version=1.0.1
|
||||||
|
revision=1
|
||||||
|
_author=vincentbernat
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="glib-devel libX11-devel libXScrnSaver-devel dbus-devel"
|
||||||
|
short_desc="Forward freedesktop.org Idle Inhibition Service calls to Xss"
|
||||||
|
maintainer="Lian Drake <d4r1us-drk@proton.me>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/vincentbernat/xssproxy"
|
||||||
|
distfiles="https://github.com/${_author}/${pkgname}/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=c949a2554e9bd5e57cc30189ae58abda097ca7f30cf0ce6ca8174d475087a9ea
|
||||||
|
|
||||||
|
# Override installation paths
|
||||||
|
make_install_args="bindir=/usr/bin man1dir=/usr/share/man/man1"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Reference in a new issue