42 lines
1.0 KiB
Bash
42 lines
1.0 KiB
Bash
# Template file for 'seatd'
|
|
pkgname=seatd
|
|
version=0.9.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dexamples=disabled $(vopt_if elogind -Dlibseat-logind=elogind)
|
|
-Dwerror=false"
|
|
hostmakedepends="pkg-config scdoc"
|
|
makedepends="$(vopt_if elogind elogind-devel)"
|
|
short_desc="Minimal seat management daemon"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="MIT"
|
|
homepage="https://sr.ht/~kennylevinsen/seatd/"
|
|
distfiles="https://git.sr.ht/~kennylevinsen/seatd/archive/${version}.tar.gz"
|
|
checksum=4276d1380c67e30a63c289b35f7bf955e126e6daf3596cd5aa6080670aa1214c
|
|
system_groups=_seatd
|
|
|
|
build_options="elogind"
|
|
build_options_default="elogind"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv seatd
|
|
}
|
|
|
|
libseat_package() {
|
|
short_desc="Universal seat management library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
libseat-devel_package() {
|
|
depends="libseat>=${version}_${revision} ${makedepends}"
|
|
short_desc="Universal seat management library - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|