diff options
2 files changed, 66 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch new file mode 100644 index 0000000000..4b80c6e9f8 --- /dev/null +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 7727dbfef4dd7ced3958ae9ada59a8899976b12d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Mon, 12 Dec 2022 18:40:31 +0100 | ||
| 4 | Subject: [PATCH] xdg-desktop-portal.pc.in: add pc_sysrootdir dir | ||
| 5 | |||
| 6 | --- | ||
| 7 | xdg-desktop-portal.pc.in | 2 +- | ||
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 9 | |||
| 10 | diff --git a/xdg-desktop-portal.pc.in b/xdg-desktop-portal.pc.in | ||
| 11 | index 585c0c8..15b5817 100644 | ||
| 12 | --- a/xdg-desktop-portal.pc.in | ||
| 13 | +++ b/xdg-desktop-portal.pc.in | ||
| 14 | @@ -2,7 +2,7 @@ prefix=@prefix@ | ||
| 15 | datarootdir=@datarootdir@ | ||
| 16 | datadir=@datadir@ | ||
| 17 | |||
| 18 | -interfaces_dir=${datadir}/dbus-1/interfaces/ | ||
| 19 | +interfaces_dir=${pc_sysrootdir}${datadir}/dbus-1/interfaces | ||
| 20 | |||
| 21 | Name: xdg-desktop-portal | ||
| 22 | Description: Desktop integration portal | ||
| 23 | -- | ||
| 24 | 2.34.1 | ||
| 25 | |||
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb new file mode 100644 index 0000000000..84e04e9f2e --- /dev/null +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | SUMMARY = "A portal frontend service for Flatpak and possibly other desktop containment frameworks." | ||
| 2 | HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal" | ||
| 3 | LICENSE = "LGPL-2.1-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 5 | |||
| 6 | REQUIRED_DISTRO_FEATURES = "polkit" | ||
| 7 | |||
| 8 | DEPENDS = " \ | ||
| 9 | json-glib \ | ||
| 10 | glib-2.0 \ | ||
| 11 | libportal \ | ||
| 12 | geoclue \ | ||
| 13 | pipewire \ | ||
| 14 | dbus-native \ | ||
| 15 | fuse3 \ | ||
| 16 | bubblewrap-native \ | ||
| 17 | xmlto-native \ | ||
| 18 | flatpak \ | ||
| 19 | python3-dbus-native \ | ||
| 20 | " | ||
| 21 | |||
| 22 | PORTAL_BACKENDS ?= " \ | ||
| 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xdg-desktop-portal-wlr', '', d)} \ | ||
| 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk', 'xdg-desktop-portal-gnome', '', d)} \ | ||
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gnome', '', d)} \ | ||
| 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gnome', '', d)} \ | ||
| 27 | " | ||
| 28 | |||
| 29 | RDEPENDS:${PN} = "bubblewrap ${PORTAL_BACKENDS}" | ||
| 30 | |||
| 31 | inherit meson pkgconfig python3native features_check | ||
| 32 | |||
| 33 | SRC_URI = " \ | ||
| 34 | git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main \ | ||
| 35 | file://0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch \ | ||
| 36 | " | ||
| 37 | |||
| 38 | S = "${WORKDIR}/git" | ||
| 39 | SRCREV = "88af6c8ca4106fcf70925355350a669848e9fd5a" | ||
| 40 | |||
| 41 | FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1" | ||
