From 858f760771ac8b1c454e0a9ba74a3051db5b9c6f Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 21 Dec 2022 06:32:24 +0100 Subject: xdg-desktop-portal-wlr: add recipe Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../xdg-desktop-portal-wlr_0.6.0.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb diff --git a/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb b/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb new file mode 100644 index 0000000000..b8cdf25c1d --- /dev/null +++ b/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "This provides screenshot/screencast xdg-desktop-portal backends for wlroots." +HOMEPAGE = "https://github.com/emersion/xdg-desktop-portal-wlr" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1" + +DEPENDS = " \ + wayland \ + wayland-native \ + wayland-protocols \ + libdrm \ + libinih \ + pipewire \ + virtual/libgbm \ +" + +inherit meson pkgconfig + +SRC_URI = "git://github.com/emersion/xdg-desktop-portal-wlr.git;protocol=https;nobranch=1" + +S = "${WORKDIR}/git" +SRCREV = "0a8bfa14607022a080f8b6eabc4757d1918d3cd9" + +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'basu', d)}" + +PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native" +PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsd-bus-provider=libsystemd,-Dsystemd=disabled" +PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu" + +FILES:${PN} += "${systemd_user_unitdir} ${datadir}" -- cgit v1.2.3-54-g00ecf