File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ recipe {
2+ name "seatd"
3+ version "0.9.3"
4+ release 2
5+ description "A minimal seat management daemon"
6+ url "https://git.sr.ht/~kennylevinsen/seatd"
7+ licenses "MIT"
8+ archs "aarch64" "x86_64"
9+ depends "linux-headers" \
10+ "llvm" \
11+ "meson" \
12+ "mimalloc-dev" \
13+ "musl-dev" \
14+ "ninja"
15+ }
16+
17+ source "https://git.sr.ht/~kennylevinsen/seatd/archive/${recipe.version}.tar.gz" {
18+ blake3 "c1653dc2766e90c1fa606869f527085d939e13a84369bfad0f6762deeada152c"
19+ }
20+
21+ build {
22+ script r #"
23+ export CFLAGS="$CFLAGS -fPIC -static"
24+ sed -i -e '/lib = library/s@library@static_library@' \
25+ -e '/libseat_soversion/d' meson.build
26+ meson setup build/ \
27+ -Dprefix=/usr \
28+ -Dlibdir=/usr/lib \
29+ -Dwerror=false
30+ ninja -C build/
31+ "#
32+ }
33+
34+ install {
35+ script r #"
36+ ninja -C build/ install
37+ "#
38+ }
39+
40+ package "seatd" {
41+ files "usr/bin/"
42+
43+ service "seatd" {
44+ type "daemon"
45+ command "/usr/bin/seatd" "-g" "video"
46+ }
47+ }
48+
49+ package "libseat-dev" {
50+ files "usr/include/" \
51+ "usr/lib/*.a" \
52+ "usr/lib/pkgconfig/"
53+ }
You can’t perform that action at this time.
0 commit comments