Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "A minimal seat management daemon, and a universal seat management library." |
| 2 | DESCRIPTION = "Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root." |
| 3 | HOMEPAGE = "https://git.sr.ht/~kennylevinsen/seatd" |
| 4 | |
| 5 | LICENSE = "MIT" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a" |
| 8 | |
| 9 | SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;nobranch=1 \ |
| 10 | file://init" |
| 11 | SRCREV = "df13d03f9cfd0dc0c2b3298cd0e5eb4e4a10835e" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit meson pkgconfig update-rc.d |
| 15 | |
| 16 | PACKAGECONFIG ?= " \ |
| 17 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 18 | libseat-builtin \ |
| 19 | " |
| 20 | |
| 21 | PACKAGECONFIG[libseat-builtin] = "-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled" |
| 22 | PACKAGECONFIG[systemd] = ",,systemd" |
| 23 | |
| 24 | do_install:append() { |
| 25 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then |
| 26 | install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/seatd |
| 27 | fi |
| 28 | } |
| 29 | |
| 30 | INITSCRIPT_NAME = "seatd" |
| 31 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." |
| 32 | INHIBIT_UPDATERCD_BBCLASS = "${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', '1', '', d)}" |