summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/flatpak/flatpak_1.17.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/flatpak/flatpak_1.17.6.bb')
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak_1.17.6.bb81
1 files changed, 81 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.17.6.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.17.6.bb
new file mode 100644
index 0000000000..1512b7239f
--- /dev/null
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.17.6.bb
@@ -0,0 +1,81 @@
1DESCRIPTION = "Desktop containment framework."
2HOMEPAGE = "http://flatpak.org"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5
6SRC_URI = " \
7 git://github.com/flatpak/flatpak;protocol=https;branch=main;tag=${PV} \
8 file://0001-flatpak-pc-add-pc_sysrootdir.patch \
9"
10
11SRCREV = "9b21874f1a175a9b7c79175a221fa043e202ca73"
12
13
14inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check useradd
15
16REQUIRED_DISTRO_FEATURES = "polkit"
17
18DEPENDS = " \
19 appstream \
20 bison-native \
21 bubblewrap-native \
22 fuse3 \
23 gdk-pixbuf \
24 glib-2.0 \
25 gpgme \
26 json-glib \
27 libarchive \
28 libcap \
29 libxml2 \
30 ostree \
31 polkit \
32 python3-pyparsing-native \
33 xdg-dbus-proxy-native \
34 zstd \
35 curl \
36"
37
38RDEPENDS:${PN} = " \
39 ca-certificates \
40 flatpak-xdg-utils \
41 fuse3-utils \
42 bubblewrap \
43 xdg-dbus-proxy \
44"
45
46GIR_MESON_OPTION = "gir"
47GIR_MESON_ENABLE_FLAG = 'enabled'
48GIR_MESON_DISABLE_FLAG = 'disabled'
49GTKDOC_MESON_OPTION = 'gtkdoc'
50GTKDOC_MESON_ENABLE_FLAG = 'enabled'
51GTKDOC_MESON_DISABLE_FLAG = 'disabled'
52
53PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"
54PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"
55PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
56PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native"
57PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth"
58PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
59PACKAGECONFIG[malcontent] = "-Dmalcontent=enabled,-Dmalcontent=disabled,malcontent"
60PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux"
61PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols"
62
63PACKAGECONFIG ?= " \
64 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \
65 ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
66 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-security-context', '', d)} \
67"
68
69EXTRA_OEMESON = " \
70 -Dsystem_fusermount=fusermount3 \
71 -Dsystem_bubblewrap=bwrap \
72 -Dsystem_dbus_proxy=xdg-dbus-proxy \
73"
74
75USERADD_PACKAGES = "${PN}"
76USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /sbin/nologin flatpak"
77
78FILES:${PN} += "${libdir} ${datadir}"
79
80CVE_STATUS[CVE-2026-34078] = "fixed-version: fixed in v1.17.4"
81CVE_STATUS[CVE-2026-34079] = "fixed-version: fixed in v1.17.4"