b79c6dfc5f
The elogind build option is enabled by default so that we can enable only the libseat wlroots backend by default. This is also the right default if other projects start using seatd.
40 lines
1 KiB
Bash
40 lines
1 KiB
Bash
# Template file for 'seatd'
|
|
pkgname=seatd
|
|
version=0.4.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dexamples=disabled $(vopt_if elogind -Dlogind=enabled)"
|
|
hostmakedepends="pkg-config scdoc"
|
|
makedepends="$(vopt_if elogind elogind-devel)"
|
|
short_desc="Minimal seat management daemon"
|
|
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
|
|
license="MIT"
|
|
homepage="https://kl.wtf/projects/seatd/"
|
|
distfiles="https://git.sr.ht/~kennylevinsen/seatd/archive/${version}.tar.gz"
|
|
checksum=3c7458ff0c0d41ddd7734d01a5c5a9110ee5b94f01931e7e41ea0fd0c2e6050f
|
|
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"
|
|
}
|
|
}
|