diff options
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.bb | 81 |
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 @@ | |||
| 1 | DESCRIPTION = "Desktop containment framework." | ||
| 2 | HOMEPAGE = "http://flatpak.org" | ||
| 3 | LICENSE = "LGPL-2.1-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 5 | |||
| 6 | SRC_URI = " \ | ||
| 7 | git://github.com/flatpak/flatpak;protocol=https;branch=main;tag=${PV} \ | ||
| 8 | file://0001-flatpak-pc-add-pc_sysrootdir.patch \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRCREV = "9b21874f1a175a9b7c79175a221fa043e202ca73" | ||
| 12 | |||
| 13 | |||
| 14 | inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check useradd | ||
| 15 | |||
| 16 | REQUIRED_DISTRO_FEATURES = "polkit" | ||
| 17 | |||
| 18 | DEPENDS = " \ | ||
| 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 | |||
| 38 | RDEPENDS:${PN} = " \ | ||
| 39 | ca-certificates \ | ||
| 40 | flatpak-xdg-utils \ | ||
| 41 | fuse3-utils \ | ||
| 42 | bubblewrap \ | ||
| 43 | xdg-dbus-proxy \ | ||
| 44 | " | ||
| 45 | |||
| 46 | GIR_MESON_OPTION = "gir" | ||
| 47 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
| 48 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
| 49 | GTKDOC_MESON_OPTION = 'gtkdoc' | ||
| 50 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' | ||
| 51 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' | ||
| 52 | |||
| 53 | PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf" | ||
| 54 | PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native" | ||
| 55 | PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native" | ||
| 56 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native" | ||
| 57 | PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth" | ||
| 58 | PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp" | ||
| 59 | PACKAGECONFIG[malcontent] = "-Dmalcontent=enabled,-Dmalcontent=disabled,malcontent" | ||
| 60 | PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux" | ||
| 61 | PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols" | ||
| 62 | |||
| 63 | PACKAGECONFIG ?= " \ | ||
| 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 | |||
| 69 | EXTRA_OEMESON = " \ | ||
| 70 | -Dsystem_fusermount=fusermount3 \ | ||
| 71 | -Dsystem_bubblewrap=bwrap \ | ||
| 72 | -Dsystem_dbus_proxy=xdg-dbus-proxy \ | ||
| 73 | " | ||
| 74 | |||
| 75 | USERADD_PACKAGES = "${PN}" | ||
| 76 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /sbin/nologin flatpak" | ||
| 77 | |||
| 78 | FILES:${PN} += "${libdir} ${datadir}" | ||
| 79 | |||
| 80 | CVE_STATUS[CVE-2026-34078] = "fixed-version: fixed in v1.17.4" | ||
| 81 | CVE_STATUS[CVE-2026-34079] = "fixed-version: fixed in v1.17.4" | ||
