Markus Volk ccd2c8b67c
xdg-desktop-portal: update 1.20.0 -> 1.20.3
1.20.3:
    Add a fallback code path for GLib older than 2.76 (#1728)
    Don't require a .desktop file for Flatpak and Snap apps (#1729)

1.20.2:
    Fix a crash when loading information from Flatpak apps
    Fix fd handling to prevent EBADF errors

1.20.1:
Enhancements:
    Code cleanups and improvements to app info tracking
    Include PID/TID in realtime portal error messages
    Search for portal backends in $XDG_DATA_DIRS (#603)
    Prioritize user portal configs over system ones

Bug Fixes:
    Fix race condition in the host registry portal
    Avoid spurious warnings when dbus.service stops
    Documentation fixes (#1663)
    Fix running tests from /tmp
    Fix installing dynamic launcher (#1674)
    Improve error reporting in the document portal
    Fix incorrect state tracking in input capture portal

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-06 10:11:38 -07:00

50 lines
1.3 KiB
BlitzBasic

SUMMARY = "A portal frontend service for Flatpak and possibly other desktop containment frameworks."
HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
REQUIRED_DISTRO_FEATURES = "polkit"
DEPENDS = " \
json-glib \
glib-2.0 \
glib-2.0-native \
flatpak \
libportal \
geoclue \
pipewire \
fuse3 \
xmlto-native \
"
PORTAL_BACKENDS ?= " \
${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gtk', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gtk', '', d)} \
"
RDEPENDS:${PN} = "bubblewrap rtkit ${PORTAL_BACKENDS} fuse3-utils"
inherit meson pkgconfig python3native features_check
SRC_URI = " \
git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=xdg-desktop-portal-1.20 \
file://0001-meson.build-add-a-hack-for-crosscompile.patch \
"
SRCREV = "23a76c392170dbbd26230f85ef56c3a57e52b857"
FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1"
EXTRA_OEMESON += " \
--cross-file=${WORKDIR}/meson-${PN}.cross \
-Ddbus-service-dir=${datadir}/dbus-1/services \
-Dtests=disabled \
"
do_write_config:append() {
cat >${WORKDIR}/meson-${PN}.cross <<EOF
[binaries]
bwrap = '${bindir}/bwrap'
EOF
}