meta-wayland/recipes-core/seatd/seatd_git.bb
2021-11-23 17:55:35 +01:00

33 lines
1.1 KiB
BlitzBasic

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;branch=master"
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.6.3"
SRCREV = "${PV}"
inherit meson pkgconfig
EXTRA_OEMESON += "--buildtype release"