flatpak: update dependencies

- use system bubblewrap and xdg-dbus-proxy instead of building subprojects
- fix seccomp PACKAGECONFIG

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2023-07-10 09:24:22 +02:00
committed by Khem Raj
parent 564af52a77
commit ed0c5261ad
@@ -28,11 +28,13 @@ DEPENDS = " \
json-glib \
libarchive \
libcap \
libxml2 \
libxslt-native \
ostree \
polkit \
python3-pyparsing-native \
xmlto-native \
zstd \
"
RDEPENDS:${PN} = " \
@@ -40,17 +42,20 @@ RDEPENDS:${PN} = " \
ca-certificates \
dconf \
flatpak-xdg-utils \
xdg-dbus-proxy \
"
EXTRA_OEMESON += "-Dsystem_dbus_proxy=${bindir}/xdg-dbus-proxy -Dsystem_bubblewrap=${bindir}/bwrap"
GIR_MESON_OPTION = ""
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth"
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native"
PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth"
PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
PACKAGECONFIG ?= " \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'security', 'seccomp', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
"
FILES:${PN} += "${libdir} ${datadir}"