1 |
commit: 47ec7bcf87397307bd7056b71b03188358bab2ff |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 10 04:28:43 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 10 04:31:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ec7bcf |
7 |
|
8 |
sys-apps/flatpak: Re-add stable version 1.10.2 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/816951 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
sys-apps/flatpak/Manifest | 1 + |
14 |
sys-apps/flatpak/flatpak-1.10.2.ebuild | 101 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 102 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest |
18 |
index 6a588cd37a0..99756a251bc 100644 |
19 |
--- a/sys-apps/flatpak/Manifest |
20 |
+++ b/sys-apps/flatpak/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST flatpak-1.10.2.tar.xz 1507856 BLAKE2B b19b04d536b43a7bbb7f479e495538137402ff46bee3be5d180d12983c4e69b8726628bb69aea64917163a4722a34987b631a073c94083cae50d79dd7d74db20 SHA512 c932b9aa2803aa5b453917174bf282d82924aca7341d72555e2557fc588ccefa0eaf32b956f75752c17cd8f73b687d4a688ebd64df36680b80b5ff5750468597 |
23 |
DIST flatpak-1.10.5.tar.xz 1511032 BLAKE2B 704ce0b5828728f1bb438dca2c1cd0b84277547fbb08400fe11abf243f5d9b5a6219c79188b362174f2a61eea42ae548d4279646838f3de3e4e75b8782f3dabe SHA512 8c2e365ce442a092c15178a8b39daecf21bfe162078c9a323e68d53194413f174e329812dd01d8da6bbfba3b0087aeb4d92a44067df3f6fa0253e33014d138ae |
24 |
DIST flatpak-1.12.1.tar.xz 1546432 BLAKE2B b7d470526d78ea305b8ef605caa01ddd1aad2f99e2043e7d998d98c37da1ac5f9a7b19c6c164993cabf6f2cac71cee6b6d0eef44dd06487a5298f7451de1d06a SHA512 be0d8eba0d8cdbbdb899a530c4fbb0537b43c22283b6dcb427bc83b414e7ae2a5b176070ab313083cfb33fd281b5ee09c74a5aef9f3c3867d1d85e0c2a424cb1 |
25 |
|
26 |
diff --git a/sys-apps/flatpak/flatpak-1.10.2.ebuild b/sys-apps/flatpak/flatpak-1.10.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..62dc9a6edd2 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/flatpak/flatpak-1.10.2.ebuild |
31 |
@@ -0,0 +1,101 @@ |
32 |
+# Copyright 2020-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
37 |
+ |
38 |
+inherit autotools 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 x86" |
47 |
+IUSE="doc gtk kde introspection policykit seccomp systemd" |
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-glib-0.5.10:= |
57 |
+ >=dev-libs/glib-2.56:2= |
58 |
+ >=dev-libs/libxml2-2.4:= |
59 |
+ dev-libs/json-glib:= |
60 |
+ dev-libs/libassuan:= |
61 |
+ >=dev-util/ostree-2020.8:=[gpg(+)] |
62 |
+ || ( |
63 |
+ dev-util/ostree[curl] |
64 |
+ dev-util/ostree[soup] |
65 |
+ ) |
66 |
+ >=gnome-base/dconf-0.26:= |
67 |
+ >=net-libs/libsoup-2.4:= |
68 |
+ sys-apps/bubblewrap |
69 |
+ sys-apps/dbus |
70 |
+ >=sys-fs/fuse-2.9.9:0= |
71 |
+ sys-apps/xdg-dbus-proxy |
72 |
+ x11-apps/xauth |
73 |
+ x11-libs/gdk-pixbuf:2= |
74 |
+ x11-libs/libXau:= |
75 |
+ policykit? ( >=sys-auth/polkit-0.98:= ) |
76 |
+ seccomp? ( sys-libs/libseccomp:= ) |
77 |
+ systemd? ( sys-apps/systemd:= ) |
78 |
+" |
79 |
+ |
80 |
+DEPEND="${RDEPEND}" |
81 |
+BDEPEND=" |
82 |
+ >=sys-devel/automake-1.13.4 |
83 |
+ >=sys-devel/gettext-0.18.2 |
84 |
+ virtual/pkgconfig |
85 |
+ dev-util/gdbus-codegen |
86 |
+ sys-devel/bison |
87 |
+ introspection? ( >=dev-libs/gobject-introspection-1.40 ) |
88 |
+ doc? ( |
89 |
+ >=dev-util/gtk-doc-1.20 |
90 |
+ dev-libs/libxslt |
91 |
+ ) |
92 |
+ $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') |
93 |
+" |
94 |
+ |
95 |
+PDEPEND=" |
96 |
+ gtk? ( sys-apps/xdg-desktop-portal-gtk ) |
97 |
+ kde? ( kde-plasma/xdg-desktop-portal-kde ) |
98 |
+" |
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 |
+ --enable-xauth |
120 |
+ --localstatedir="${EPREFIX}"/var |
121 |
+ --with-system-bubblewrap |
122 |
+ --with-system-dbus-proxy |
123 |
+ $(use_enable doc documentation) |
124 |
+ $(use_enable doc gtk-doc) |
125 |
+ $(use_enable introspection) |
126 |
+ $(use_enable policykit system-helper) |
127 |
+ $(use_enable seccomp) |
128 |
+ $(use_with systemd) |
129 |
+ ) |
130 |
+ |
131 |
+ econf "${myeconfargs[@]}" |
132 |
+} |