diff --git a/recipes-wayland/seatd/seatd.bb b/recipes-wayland/seatd/seatd.bb new file mode 100644 index 0000000..389be54 --- /dev/null +++ b/recipes-wayland/seatd/seatd.bb @@ -0,0 +1,33 @@ +# stolen from: https://github.com/MarkusVolk/meta-wayland/blob/master/recipes-core/seatd/seatd_git.bb + +SUMMARY = "A minimal seat management daemon, and a universal seat management library." +DESCRIPTION = "Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root." +AUTHOR = "kennylevinsen" +HOMEPAGE = "https://git.sr.ht/~kennylevinsen/seatd" +SECTION = "libs" +LICENSE = "BSD-0-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a" + +SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https" + +PACKAGECONFIG[systemd] = ",,systemd" +PACKAGECONFIG[sysvinit] = ",,elogind" + +# On systems without logind/elogind, you need to use libseat-builtin. +# You have to suid the sway binary. Sway will drop root permissions shortly after startup. +PACKAGECONFIG[libseat-builtin] = "-Dlibseat-builtin=enabled -Dlibseat-logind=disabled,-Dlibseat-builtin=disabled" + +PACKAGECONFIG[man-pages] = ",,scdoc-native" + +PACKAGECONFIG ?= " \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \ +" + +S = "${WORKDIR}/git" +PV = "0.5.0+${SRCREV}" +SRCREV = "2204db5531ed16bf32f969645e7177f6118f8a8e" + +inherit meson + +EXTRA_OEMESON += "--buildtype release"