summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb')
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb80
1 files changed, 80 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
new file mode 100644
index 0000000000..f99c8ac36a
--- /dev/null
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
@@ -0,0 +1,80 @@
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 \
8 file://0001-flatpak-pc-add-pc_sysrootdir.patch \
9"
10
11SRCREV = "1440f4faa67ebf69c7559f31d2cab59e6ec6fe2b"
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"
36
37RDEPENDS:${PN} = " \
38 ca-certificates \
39 flatpak-xdg-utils \
40 fuse3-utils \
41 bubblewrap \
42 xdg-dbus-proxy \
43"
44
45GIR_MESON_OPTION = "gir"
46GIR_MESON_ENABLE_FLAG = 'enabled'
47GIR_MESON_DISABLE_FLAG = 'disabled'
48GTKDOC_MESON_OPTION = 'gtkdoc'
49GTKDOC_MESON_ENABLE_FLAG = 'enabled'
50GTKDOC_MESON_DISABLE_FLAG = 'disabled'
51
52PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
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[soup] = "-Dhttp_backend=soup,,libsoup-2.4"
57PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native"
58PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth"
59PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
60PACKAGECONFIG[malcontent] = "-Dmalcontent=enabled,-Dmalcontent=disabled,malcontent"
61PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux"
62PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols"
63
64PACKAGECONFIG ?= " \
65 curl \
66 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \
67 ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
68 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-security-context', '', d)} \
69"
70
71EXTRA_OEMESON = " \
72 -Dsystem_fusermount=fusermount3 \
73 -Dsystem_bubblewrap=bwrap \
74 -Dsystem_dbus_proxy=xdg-dbus-proxy \
75"
76
77USERADD_PACKAGES = "${PN}"
78USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /sbin/nologin flatpak"
79
80FILES:${PN} += "${libdir} ${datadir}"