From b8d5049694d48fc93e27486fa4465b3902b3ae82 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 13 Jul 2021 11:54:47 +0300 Subject: [PATCH] libseat: provide runit service --- wayland/libseat/build | 5 +++++ wayland/libseat/checksums | 1 + wayland/libseat/files/seatd.run | 2 ++ wayland/libseat/sources | 1 + wayland/libseat/version | 2 +- 5 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 wayland/libseat/files/seatd.run diff --git a/wayland/libseat/build b/wayland/libseat/build index 777dc2b4..a5e706a1 100755 --- a/wayland/libseat/build +++ b/wayland/libseat/build @@ -13,3 +13,8 @@ meson \ ninja -C build ninja -C build install + +# Install runit service. +mkdir -p "$1/etc/sv/seatd" +cp -f seatd.run "$1/etc/sv/seatd/run" +ln -sf /run/runit/supervise.seatd "$1/etc/sv/seatd/supervise" diff --git a/wayland/libseat/checksums b/wayland/libseat/checksums index 69dd4337..70d39594 100644 --- a/wayland/libseat/checksums +++ b/wayland/libseat/checksums @@ -1 +1,2 @@ 274b56324fc81ca6002bc1cdd387668dee34a6e1063e5f3896805c3770948988 +b30d01feb5a9cbd177d646580324687034e939fa12326c766eb7cac117507b25 diff --git a/wayland/libseat/files/seatd.run b/wayland/libseat/files/seatd.run new file mode 100755 index 00000000..37b20bcc --- /dev/null +++ b/wayland/libseat/files/seatd.run @@ -0,0 +1,2 @@ +#!/bin/sh +exec seatd -g video diff --git a/wayland/libseat/sources b/wayland/libseat/sources index 723a3c96..88be8081 100644 --- a/wayland/libseat/sources +++ b/wayland/libseat/sources @@ -1 +1,2 @@ https://git.sr.ht/~kennylevinsen/seatd/archive/0.5.0.tar.gz +files/seatd.run diff --git a/wayland/libseat/version b/wayland/libseat/version index 0c9ae2a7..d5675706 100644 --- a/wayland/libseat/version +++ b/wayland/libseat/version @@ -1 +1 @@ -0.5.0 1 +0.5.0 2