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