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: 1632074238.d621a6dce2fd416a833f5f5a01a9f6af0f29610f.zmedico@gentoo
1 commit: d621a6dce2fd416a833f5f5a01a9f6af0f29610f
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 19 17:57:18 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 19 17:57:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d621a6dc
7
8 sys-apps/flatpak: Bump to version 1.10.3
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 sys-apps/flatpak/Manifest | 1 +
14 sys-apps/flatpak/flatpak-1.10.3.ebuild | 101 +++++++++++++++++++++++++++++++++
15 2 files changed, 102 insertions(+)
16
17 diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest
18 index a78528391da..43a31dd972b 100644
19 --- a/sys-apps/flatpak/Manifest
20 +++ b/sys-apps/flatpak/Manifest
21 @@ -1,3 +1,4 @@
22 DIST flatpak-1.10.0.tar.xz 1504300 BLAKE2B 213fb5449b075250cbec9f43ea5b02afae809b8e58d3be0afd39a70d78431f7efc7912462ce46061a53aa4dc2ef8f5e9504cdaffe4b39d2f53292736442ceb3d SHA512 8eaabd66cbd26f5288fb72cddcd195ea4702243e9f5ceff425836b5f305e2b7a4172e67d30cc0e74ad97937c007e8f4ab81080a7ada3f528d05f74845c923aeb
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
27 diff --git a/sys-apps/flatpak/flatpak-1.10.3.ebuild b/sys-apps/flatpak/flatpak-1.10.3.ebuild
28 new file mode 100644
29 index 00000000000..a931e50425a
30 --- /dev/null
31 +++ b/sys-apps/flatpak/flatpak-1.10.3.ebuild
32 @@ -0,0 +1,101 @@
33 +# Copyright 2020-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python3_{8,9} )
38 +
39 +inherit autotools 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 ~ppc64 ~riscv ~x86"
48 +IUSE="doc gtk kde introspection policykit seccomp systemd"
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-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 + x11-apps/xauth
74 + x11-libs/gdk-pixbuf:2=
75 + x11-libs/libXau:=
76 + policykit? ( >=sys-auth/polkit-0.98:= )
77 + seccomp? ( sys-libs/libseccomp:= )
78 + systemd? ( sys-apps/systemd:= )
79 +"
80 +
81 +DEPEND="${RDEPEND}"
82 +BDEPEND="
83 + >=sys-devel/automake-1.13.4
84 + >=sys-devel/gettext-0.18.2
85 + virtual/pkgconfig
86 + dev-util/gdbus-codegen
87 + sys-devel/bison
88 + introspection? ( >=dev-libs/gobject-introspection-1.40 )
89 + doc? (
90 + >=dev-util/gtk-doc-1.20
91 + dev-libs/libxslt
92 + )
93 + $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]')
94 +"
95 +
96 +PDEPEND="
97 + gtk? ( sys-apps/xdg-desktop-portal-gtk )
98 + kde? ( kde-plasma/xdg-desktop-portal-kde )
99 +"
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 + --enable-xauth
121 + --localstatedir="${EPREFIX}"/var
122 + --with-system-bubblewrap
123 + --with-system-dbus-proxy
124 + $(use_enable doc documentation)
125 + $(use_enable doc gtk-doc)
126 + $(use_enable introspection)
127 + $(use_enable policykit system-helper)
128 + $(use_enable seccomp)
129 + $(use_with systemd)
130 + )
131 +
132 + econf "${myeconfargs[@]}"
133 +}