Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/flatpak/
Date: Sun, 19 Sep 2021 18:03:13
Message-Id: 1632074519.c0184c779020f3c6353bbc99b38309e184605511.zmedico@gentoo
1 commit: c0184c779020f3c6353bbc99b38309e184605511
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 19 18:01:53 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 19 18:01:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0184c77
7
8 sys-apps/flatpak: Bump to version 1.11.3
9
10 Closes: https://bugs.gentoo.org/809398
11 Package-Manager: Portage-3.0.23, Repoman-3.0.3
12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
13
14 sys-apps/flatpak/Manifest | 1 +
15 sys-apps/flatpak/flatpak-1.11.3.ebuild | 101 +++++++++++++++++++++++++++++++++
16 2 files changed, 102 insertions(+)
17
18 diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest
19 index 43a31dd972b..b6a0be925aa 100644
20 --- a/sys-apps/flatpak/Manifest
21 +++ b/sys-apps/flatpak/Manifest
22 @@ -2,3 +2,4 @@ DIST flatpak-1.10.0.tar.xz 1504300 BLAKE2B 213fb5449b075250cbec9f43ea5b02afae809
23 DIST flatpak-1.10.2.tar.xz 1507856 BLAKE2B b19b04d536b43a7bbb7f479e495538137402ff46bee3be5d180d12983c4e69b8726628bb69aea64917163a4722a34987b631a073c94083cae50d79dd7d74db20 SHA512 c932b9aa2803aa5b453917174bf282d82924aca7341d72555e2557fc588ccefa0eaf32b956f75752c17cd8f73b687d4a688ebd64df36680b80b5ff5750468597
24 DIST flatpak-1.10.3.tar.xz 1507484 BLAKE2B 862d42db1395b8542bee0c9502392fe617d9dc17d002f70c95a168a23aaf31ae9ab8cbb72b63234fab95f3ed2e165362ebdfc4f0694152a1740aa2643dfece1d SHA512 ff51383d4ead0f39926125eec706e5a4d38a739874a9d499adf432cfa05685643cfa411f7a247c8512ec10af8440deda0be06f4cc0808e8ba80941b07e49b633
25 DIST flatpak-1.11.1.tar.xz 1534700 BLAKE2B 811ac946fe6616d201ffc621881b396b6787ce435bdceb34c9fa3e162f20eba966d88695bcd6e3716b1f949976ac628a085249785c4e39989be5139cd89fdfaf SHA512 0121b4fcf159311c7480d1be29cd169a39ae61fcea9532f25b266b585038a07a930ff418a9c5b9645aab2510de78ad32c8ae8556991c8d2d7c08ab1e3cc819d1
26 +DIST flatpak-1.11.3.tar.xz 1544504 BLAKE2B 7a2f8e2dbbddf3e0afb355b98d3995f1276c7ff1b27ef873a3f262f8b34024c191d61c1dca33d58f50e19c18b2557b7de61a732f188470f4cfa751e5f3b64479 SHA512 5f0f6e42c8aec80fda348782742075dfaabf00c516c610e08f89a053a818011d52d5a459887d6f7490b1cc58899544e7ceb300e86cce8da55f24e1c53ee9dd17
27
28 diff --git a/sys-apps/flatpak/flatpak-1.11.3.ebuild b/sys-apps/flatpak/flatpak-1.11.3.ebuild
29 new file mode 100644
30 index 00000000000..a931e50425a
31 --- /dev/null
32 +++ b/sys-apps/flatpak/flatpak-1.11.3.ebuild
33 @@ -0,0 +1,101 @@
34 +# Copyright 2020-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python3_{8,9} )
39 +
40 +inherit autotools linux-info python-any-r1
41 +
42 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
43 +DESCRIPTION="Linux application sandboxing and distribution framework"
44 +HOMEPAGE="https://flatpak.org/"
45 +
46 +LICENSE="LGPL-2.1+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
49 +IUSE="doc gtk kde introspection policykit seccomp systemd"
50 +RESTRICT+=" test"
51 +
52 +RDEPEND="
53 + acct-group/flatpak
54 + acct-user/flatpak
55 + >=app-arch/libarchive-2.8:=
56 + app-arch/zstd:=
57 + >=app-crypt/gpgme-1.1.8:=
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 + || (
65 + dev-util/ostree[curl]
66 + dev-util/ostree[soup]
67 + )
68 + >=gnome-base/dconf-0.26:=
69 + >=net-libs/libsoup-2.4:=
70 + sys-apps/bubblewrap
71 + sys-apps/dbus
72 + >=sys-fs/fuse-2.9.9:0=
73 + sys-apps/xdg-dbus-proxy
74 + x11-apps/xauth
75 + x11-libs/gdk-pixbuf:2=
76 + x11-libs/libXau:=
77 + policykit? ( >=sys-auth/polkit-0.98:= )
78 + seccomp? ( sys-libs/libseccomp:= )
79 + systemd? ( sys-apps/systemd:= )
80 +"
81 +
82 +DEPEND="${RDEPEND}"
83 +BDEPEND="
84 + >=sys-devel/automake-1.13.4
85 + >=sys-devel/gettext-0.18.2
86 + virtual/pkgconfig
87 + dev-util/gdbus-codegen
88 + sys-devel/bison
89 + introspection? ( >=dev-libs/gobject-introspection-1.40 )
90 + doc? (
91 + >=dev-util/gtk-doc-1.20
92 + dev-libs/libxslt
93 + )
94 + $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]')
95 +"
96 +
97 +PDEPEND="
98 + gtk? ( sys-apps/xdg-desktop-portal-gtk )
99 + kde? ( kde-plasma/xdg-desktop-portal-kde )
100 +"
101 +
102 +python_check_deps() {
103 + has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]"
104 +}
105 +
106 +pkg_setup() {
107 + local CONFIG_CHECK="~USER_NS"
108 + linux-info_pkg_setup
109 + python-any-r1_pkg_setup
110 +}
111 +
112 +src_prepare() {
113 + default
114 + # This line fails because locales are in /usr/lib/locale/locale-archive.
115 + sed -i 's:^cp -r /usr/lib/locale/C.*:#\0:' tests/make-test-runtime.sh || die
116 +}
117 +
118 +src_configure() {
119 + local myeconfargs=(
120 + --enable-sandboxed-triggers
121 + --enable-xauth
122 + --localstatedir="${EPREFIX}"/var
123 + --with-system-bubblewrap
124 + --with-system-dbus-proxy
125 + $(use_enable doc documentation)
126 + $(use_enable doc gtk-doc)
127 + $(use_enable introspection)
128 + $(use_enable policykit system-helper)
129 + $(use_enable seccomp)
130 + $(use_with systemd)
131 + )
132 +
133 + econf "${myeconfargs[@]}"
134 +}