diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-02-02 08:05:54 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-02-02 00:10:29 -0800 |
commit | 4ff9097409a43d8e5249abdaf935751b71aecbd0 (patch) | |
tree | 5a9442fcb2d9798f274e7d21f083eef4be1afd88 | |
parent | 8d298ef6d8b70f37849dc44dc98579f8ba917f0f (diff) | |
download | meta-openembedded-4ff9097409a43d8e5249abdaf935751b71aecbd0.tar.gz |
rtkit: add recipe
rtkit is a runtime dependency for xdg-desktop-portal
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/rtkit/rtkit_0.13.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/rtkit/rtkit_0.13.bb b/meta-oe/recipes-support/rtkit/rtkit_0.13.bb new file mode 100644 index 0000000000..7ae9925038 --- /dev/null +++ b/meta-oe/recipes-support/rtkit/rtkit_0.13.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "REALTIMEKIT Realtime Policy and Watchdog Daemon" | ||
2 | LICENSE = "GPL-3.0-only & BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a8e768468b658b3ed44971b53d4a6716" | ||
4 | |||
5 | SRC_URI = "git://github.com/heftig/rtkit.git;protocol=https;branch=master" | ||
6 | |||
7 | SRCREV = "b9169402fe5e82d20efb754509eb0b191f214599" | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | inherit meson pkgconfig features_check useradd | ||
11 | |||
12 | REQUIRED_DISTRO_FEATURES = "polkit" | ||
13 | |||
14 | DEPENDS = "dbus libcap polkit xxd-native" | ||
15 | |||
16 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | ||
17 | PACKAGECONFIG[systemd] = ",,systemd" | ||
18 | |||
19 | USERADD_PACKAGES = "${PN}" | ||
20 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /bin/nologin rtkit" | ||
21 | |||
22 | FILES:${PN} += "${libdir} ${datadir}" | ||
23 | |||