2021-03-15 20:30:08 +00:00
|
|
|
# Description: A minimal seat management daemon, and a universal seat management library
|
|
|
|
# URL: https://git.sr.ht/~kennylevinsen/seatd
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: meson ninja
|
2022-05-24 09:42:48 +02:00
|
|
|
# Optional: scdoc
|
2021-03-15 20:30:08 +00:00
|
|
|
|
|
|
|
name=seatd
|
2022-05-24 09:42:48 +02:00
|
|
|
version=0.7.0
|
2022-02-22 06:40:56 +01:00
|
|
|
release=1
|
2021-03-15 20:30:08 +00:00
|
|
|
source=(https://github.com/kennylevinsen/seatd/archive/$version/$name-$version.tar.gz
|
2021-10-20 16:18:57 +02:00
|
|
|
seatd.service)
|
2021-03-15 20:30:08 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
meson setup $name-$version build \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
2021-09-11 19:16:10 +02:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-10-21 16:35:36 +02:00
|
|
|
-D libseat-builtin=enabled
|
2021-03-15 20:30:08 +00:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2022-05-24 09:42:48 +02:00
|
|
|
|
2021-03-15 20:30:08 +00:00
|
|
|
install -Dm 755 $SRC/seatd.service $PKG/etc/rc.d/seatd
|
|
|
|
}
|