meta-wayland/recipes-core/seatd/seatd_git.bb

33 lines
1.2 KiB
BlitzBasic
Raw Normal View History

2021-06-02 16:13:46 +02:00
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"
2021-06-02 16:13:46 +02:00
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
2021-06-02 16:13:46 +02:00
"
S = "${WORKDIR}/git"
PV = "0.5.0+${SRCREV}"
SRCREV = "2204db5531ed16bf32f969645e7177f6118f8a8e"
2021-06-02 16:13:46 +02:00
inherit meson
EXTRA_OEMESON += "--buildtype release"