diff options
Diffstat (limited to 'meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb')
| -rw-r--r-- | meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb new file mode 100644 index 0000000000..e0aca558fd --- /dev/null +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 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 | glib-2.0-native \ | ||
| 12 | flatpak \ | ||
| 13 | libportal \ | ||
| 14 | geoclue \ | ||
| 15 | pipewire \ | ||
| 16 | fuse3 \ | ||
| 17 | xmlto-native \ | ||
| 18 | " | ||
| 19 | |||
| 20 | PORTAL_BACKENDS ?= " \ | ||
| 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gtk', '', d)} \ | ||
| 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gtk', '', d)} \ | ||
| 23 | " | ||
| 24 | |||
| 25 | RDEPENDS:${PN} = "bubblewrap rtkit ${PORTAL_BACKENDS} fuse3-utils" | ||
| 26 | |||
| 27 | inherit meson pkgconfig python3native features_check | ||
| 28 | |||
| 29 | SRC_URI = " \ | ||
| 30 | git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=xdg-desktop-portal-1.20 \ | ||
| 31 | file://0001-meson.build-add-a-hack-for-crosscompile.patch \ | ||
| 32 | " | ||
| 33 | |||
| 34 | SRCREV = "23a76c392170dbbd26230f85ef56c3a57e52b857" | ||
| 35 | |||
| 36 | FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1" | ||
| 37 | |||
| 38 | EXTRA_OEMESON += " \ | ||
| 39 | --cross-file=${WORKDIR}/meson-${PN}.cross \ | ||
| 40 | -Ddbus-service-dir=${datadir}/dbus-1/services \ | ||
| 41 | -Dtests=disabled \ | ||
| 42 | " | ||
| 43 | |||
| 44 | do_write_config:append() { | ||
| 45 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | ||
| 46 | [binaries] | ||
| 47 | bwrap = '${bindir}/bwrap' | ||
| 48 | EOF | ||
| 49 | } | ||
