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: Thu, 13 Jan 2022 04:24:01
Message-Id: 1642047831.6dc15d73c44f4a3fdd7cc2847c75bdc61d2781eb.zmedico@gentoo
1 commit: 6dc15d73c44f4a3fdd7cc2847c75bdc61d2781eb
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 13 04:22:38 2022 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 13 04:23:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc15d73
7
8 sys-apps/flatpak: Bump to version 1.12.3
9
10 Bug: https://bugs.gentoo.org/8310
11 Package-Manager: Portage-3.0.30, 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.12.3.ebuild | 102 +++++++++++++++++++++++++++++++++
16 2 files changed, 103 insertions(+)
17
18 diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest
19 index c970a9f7b09b..dbbd0d6a40ba 100644
20 --- a/sys-apps/flatpak/Manifest
21 +++ b/sys-apps/flatpak/Manifest
22 @@ -1,3 +1,4 @@
23 DIST flatpak-1.10.5.tar.xz 1511032 BLAKE2B 704ce0b5828728f1bb438dca2c1cd0b84277547fbb08400fe11abf243f5d9b5a6219c79188b362174f2a61eea42ae548d4279646838f3de3e4e75b8782f3dabe SHA512 8c2e365ce442a092c15178a8b39daecf21bfe162078c9a323e68d53194413f174e329812dd01d8da6bbfba3b0087aeb4d92a44067df3f6fa0253e33014d138ae
24 DIST flatpak-1.10.6.tar.xz 1517800 BLAKE2B 517251ff75fe8f44ed5a7d2b69301ceb801265854c3570d5349da3e3bac0f4f416163226db0b518e3e2b67427ccb57f9e47b6ed5a6d8ea6a86af146e779a3525 SHA512 a6fd46eaaea8510c74671b365e633cd782a02ad05c54ff107226573e3333ae2e9bd9b2ed76dbed401383e784d9530079c80beebb9d8512738815a16cabbe278c
25 DIST flatpak-1.12.2.tar.xz 1541068 BLAKE2B 78162c9ccf0b7b18e69c2594865999fc052a507b255b855f3879cdac0c86dbfcabc6a282f0a4de548d3e85142b0b3c8c26d21825f35e6a2f25ebc1aa13ff2b8b SHA512 4887fe540a821f2c8539fbe1fd89b1cc350126a6fa90c1acf070e08db0de1073406a061f5483bc7a7ef9b07f73409beb7bc02d055d4b3ae1c33ba5c318e11b6f
26 +DIST flatpak-1.12.3.tar.xz 1555340 BLAKE2B 512b3f6abfb06d242aedad2c27c9870750254a9d0a3769999739f8885bbf1740b649e2a41f2c079532b049fcce8b58529572ea35e930437ed6b62194a73bcbb6 SHA512 2f39665457b4c3b99e32ebc88cf5b70202dba6118887617d3d7faa20f688f3f3fc14e343b70c0d11eb15ee743a68d07078e6cda14fd91aa10ca375797cfc95bc
27
28 diff --git a/sys-apps/flatpak/flatpak-1.12.3.ebuild b/sys-apps/flatpak/flatpak-1.12.3.ebuild
29 new file mode 100644
30 index 000000000000..fcab58d20289
31 --- /dev/null
32 +++ b/sys-apps/flatpak/flatpak-1.12.3.ebuild
33 @@ -0,0 +1,102 @@
34 +# Copyright 2020-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python3_{8,9,10} )
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 +# 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 + >=dev-util/gtk-doc-1.20
93 + dev-libs/libxslt
94 + )
95 + $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]')
96 +"
97 +
98 +PDEPEND="
99 + gtk? ( sys-apps/xdg-desktop-portal-gtk )
100 + kde? ( kde-plasma/xdg-desktop-portal-kde )
101 +"
102 +
103 +python_check_deps() {
104 + has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]"
105 +}
106 +
107 +pkg_setup() {
108 + local CONFIG_CHECK="~USER_NS"
109 + linux-info_pkg_setup
110 + python-any-r1_pkg_setup
111 +}
112 +
113 +src_prepare() {
114 + default
115 + # This line fails because locales are in /usr/lib/locale/locale-archive.
116 + sed -i 's:^cp -r /usr/lib/locale/C.*:#\0:' tests/make-test-runtime.sh || die
117 +}
118 +
119 +src_configure() {
120 + local myeconfargs=(
121 + --enable-sandboxed-triggers
122 + --enable-xauth
123 + --localstatedir="${EPREFIX}"/var
124 + --with-system-bubblewrap
125 + --with-system-dbus-proxy
126 + $(use_enable doc documentation)
127 + $(use_enable doc gtk-doc)
128 + $(use_enable introspection)
129 + $(use_enable policykit system-helper)
130 + $(use_enable seccomp)
131 + $(use_with systemd)
132 + )
133 +
134 + econf "${myeconfargs[@]}"
135 +}