1 |
commit: fdbb6a78c2d7c6801ddc668091f8140a16c32a0d |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 00:11:57 2023 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 00:15:18 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdbb6a78 |
7 |
|
8 |
sys-apps/flatpak: add 1.14.4 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/901507 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
sys-apps/flatpak/Manifest | 1 + |
14 |
sys-apps/flatpak/flatpak-1.14.4.ebuild | 108 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 109 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest |
18 |
index 9883f2091761..11a23544a987 100644 |
19 |
--- a/sys-apps/flatpak/Manifest |
20 |
+++ b/sys-apps/flatpak/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST flatpak-1.12.3.tar.xz 1555340 BLAKE2B 512b3f6abfb06d242aedad2c27c9870750254a9d0a3769999739f8885bbf1740b649e2a41f2c079532b049fcce8b58529572ea35e930437ed6b62194a73bcbb6 SHA512 2f39665457b4c3b99e32ebc88cf5b70202dba6118887617d3d7faa20f688f3f3fc14e343b70c0d11eb15ee743a68d07078e6cda14fd91aa10ca375797cfc95bc |
23 |
DIST flatpak-1.12.8.tar.xz 1568984 BLAKE2B 6db457eba6b5c03ae4b7037e55f0537821152a80cad8746939fe93008922a9a33ff9f08635613e56a84f2d151826130c497c1e9f7f1e41a5b2dc215882f2eb14 SHA512 5a37d94e12c18a746b222c1ddbd20bddfb22079af1d3a79dc819cdb25f04774c9e4b3a51f9b5ed64f210317e7ec9fb97324ae38ec3430c6a515ba4042805fc57 |
24 |
DIST flatpak-1.14.1.tar.xz 1626500 BLAKE2B bf33dcd5a0f0289e5bff32794012dcfc45dcdbb11ef0da5c68769c18b1bcd12fcc0308ea275a7532f59998db6afa019746313387b0f9636c7d9b91ceb7d66665 SHA512 1f22622b9a797b644b5fe9d26c3c4ec3f6b1a3b81a12d498e5aeeecb1a965c9aaa5c1d18843c938f116855bbbed3a8d9866997440f86241abe70eae13be7cdcb |
25 |
+DIST flatpak-1.14.4.tar.xz 1637484 BLAKE2B cf208c581ad76d46489ba473d290c35907da0d1d473bf2b4792fb56c31e7110cd38f1c6fc4ad04aa3675868d17116ba52a84b028d7b7789c1736cfe26f3cabfe SHA512 3f97096affd4f1de184ded353f1ab403d9f1813b199b9a1595596cc7c5d6b46062aa2ef184255823f50ae95ca60d0542d9b9e520f9a605f9bc51091863bf89b0 |
26 |
|
27 |
diff --git a/sys-apps/flatpak/flatpak-1.14.4.ebuild b/sys-apps/flatpak/flatpak-1.14.4.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..16d18d1775bf |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/flatpak/flatpak-1.14.4.ebuild |
32 |
@@ -0,0 +1,108 @@ |
33 |
+# Copyright 2020-2023 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+PYTHON_COMPAT=( python3_{9,10,11} ) |
38 |
+ |
39 |
+inherit linux-info python-any-r1 |
40 |
+ |
41 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" |
42 |
+DESCRIPTION="Linux application sandboxing and distribution framework" |
43 |
+HOMEPAGE="https://flatpak.org/" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" |
48 |
+IUSE="doc introspection policykit seccomp systemd X" |
49 |
+RESTRICT="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ acct-group/flatpak |
53 |
+ acct-user/flatpak |
54 |
+ >=app-arch/libarchive-2.8:= |
55 |
+ app-arch/zstd:= |
56 |
+ >=app-crypt/gpgme-1.1.8:= |
57 |
+ >=dev-libs/appstream-0.12:= |
58 |
+ >=dev-libs/appstream-glib-0.5.10:= |
59 |
+ >=dev-libs/glib-2.56:2= |
60 |
+ >=dev-libs/libxml2-2.4:= |
61 |
+ dev-libs/json-glib:= |
62 |
+ dev-libs/libassuan:= |
63 |
+ >=dev-util/ostree-2020.8:=[gpg(+)] |
64 |
+ dev-util/ostree[curl] |
65 |
+ >=gnome-base/dconf-0.26:= |
66 |
+ gnome-base/gsettings-desktop-schemas |
67 |
+ net-misc/curl:= |
68 |
+ >=sys-apps/bubblewrap-0.5.0 |
69 |
+ sys-apps/dbus |
70 |
+ >=sys-fs/fuse-2.9.9:0= |
71 |
+ sys-apps/xdg-dbus-proxy |
72 |
+ X? ( |
73 |
+ x11-apps/xauth |
74 |
+ x11-libs/libXau:= |
75 |
+ ) |
76 |
+ x11-libs/gdk-pixbuf:2= |
77 |
+ policykit? ( >=sys-auth/polkit-0.98:= ) |
78 |
+ seccomp? ( sys-libs/libseccomp:= ) |
79 |
+ systemd? ( sys-apps/systemd:= ) |
80 |
+" |
81 |
+ |
82 |
+DEPEND="${RDEPEND}" |
83 |
+# pyparsing version pinned for https://bugs.gentoo.org/825230 |
84 |
+BDEPEND=" |
85 |
+ >=sys-devel/automake-1.13.4 |
86 |
+ >=sys-devel/gettext-0.18.2 |
87 |
+ virtual/pkgconfig |
88 |
+ dev-util/gdbus-codegen |
89 |
+ sys-devel/bison |
90 |
+ introspection? ( >=dev-libs/gobject-introspection-1.40 ) |
91 |
+ doc? ( |
92 |
+ app-text/xmlto |
93 |
+ dev-libs/libxslt |
94 |
+ ) |
95 |
+ $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') |
96 |
+" |
97 |
+ |
98 |
+PDEPEND="sys-apps/xdg-desktop-portal" |
99 |
+ |
100 |
+python_check_deps() { |
101 |
+ has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]" |
102 |
+} |
103 |
+ |
104 |
+pkg_setup() { |
105 |
+ local CONFIG_CHECK="~USER_NS" |
106 |
+ linux-info_pkg_setup |
107 |
+ python-any-r1_pkg_setup |
108 |
+} |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ default |
112 |
+ # This line fails because locales are in /usr/lib/locale/locale-archive. |
113 |
+ sed -i 's:^cp -r /usr/lib/locale/C.*:#\0:' tests/make-test-runtime.sh || die |
114 |
+} |
115 |
+ |
116 |
+src_configure() { |
117 |
+ local myeconfargs=( |
118 |
+ --enable-sandboxed-triggers |
119 |
+ --localstatedir="${EPREFIX}"/var |
120 |
+ --with-system-bubblewrap |
121 |
+ --with-system-dbus-proxy |
122 |
+ $(use_enable X xauth) |
123 |
+ $(use_enable doc documentation) |
124 |
+ $(use_enable doc docbook-docs) |
125 |
+ $(use_enable introspection) |
126 |
+ $(use_enable policykit system-helper) |
127 |
+ $(use_enable seccomp) |
128 |
+ $(use_with systemd) |
129 |
+ ) |
130 |
+ |
131 |
+ econf "${myeconfargs[@]}" |
132 |
+} |
133 |
+ |
134 |
+src_install() { |
135 |
+ default |
136 |
+ # https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 |
137 |
+ find "${ED}" -name '*.la' -delete || die |
138 |
+ # resolve conflict with acct-user/flatpak for #856706 |
139 |
+ rm -rf "${ED}/usr/lib/sysusers.d" |
140 |
+} |