24 lines
749 B
BlitzBasic
24 lines
749 B
BlitzBasic
|
DESCRIPTION = "REALTIMEKIT Realtime Policy and Watchdog Daemon"
|
||
|
LICENSE = "GPL-3.0-only & BSD-3-Clause"
|
||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a8e768468b658b3ed44971b53d4a6716"
|
||
|
|
||
|
SRC_URI = "git://github.com/heftig/rtkit.git;protocol=https;branch=master"
|
||
|
|
||
|
SRCREV = "b9169402fe5e82d20efb754509eb0b191f214599"
|
||
|
S = "${WORKDIR}/git"
|
||
|
|
||
|
inherit meson pkgconfig features_check useradd
|
||
|
|
||
|
REQUIRED_DISTRO_FEATURES = "polkit"
|
||
|
|
||
|
DEPENDS = "dbus libcap polkit xxd-native"
|
||
|
|
||
|
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||
|
PACKAGECONFIG[systemd] = ",,systemd"
|
||
|
|
||
|
USERADD_PACKAGES = "${PN}"
|
||
|
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /bin/nologin rtkit"
|
||
|
|
||
|
FILES:${PN} += "${libdir} ${datadir} ${systemd_system_unitdir}"
|
||
|
|