Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/
Date: Tue, 05 Apr 2022 16:35:20
Message-Id: 1649176429.1330255e5a87db8af331f727e0fac3efbc265923.asturm@gentoo
1 commit: 1330255e5a87db8af331f727e0fac3efbc265923
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 5 16:27:07 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 5 16:33:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1330255e
7
8 sys-apps/xdg-desktop-portal: 1.14.2 version bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sys-apps/xdg-desktop-portal/Manifest | 1 +
14 .../xdg-desktop-portal-1.14.2.ebuild | 44 ++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/sys-apps/xdg-desktop-portal/Manifest b/sys-apps/xdg-desktop-portal/Manifest
18 index 908b32900129..d2c044635c6e 100644
19 --- a/sys-apps/xdg-desktop-portal/Manifest
20 +++ b/sys-apps/xdg-desktop-portal/Manifest
21 @@ -1 +1,2 @@
22 DIST xdg-desktop-portal-1.12.1.tar.xz 484352 BLAKE2B afa14ab78f35cb1c0e66514f313f5dc297ceef88af1ca7b3028305faa8398bdae1b9e897289b18a93b1cda1a8290c0e51bf73e66c9dce231f57a58652fb9e120 SHA512 62df427e2d8d54acd9a34a02a77c26ae3911fbb4c5844eff4a253dc839775c929c6945401b93549ba200ba637d315146767e41f18a831d7627b35de880de0da1
23 +DIST xdg-desktop-portal-1.14.2.tar.xz 504088 BLAKE2B e0a378c1f1d80afda7d73fd8e545f7304eeab349cf3298ebb616021c7e16e8a088360681e31eedca9ac90978eb04167a7e857ddaa5e023a2a8c24c9f959f9b2c SHA512 7164d6c0d89843d117e03bc46963d72f24dae2b9fc8e173f06a78bbc80655ccf192d86f951d3c404c88bf5da88d9d2053ea52cf3e541b833ee937b6931d803d7
24
25 diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.14.2.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.14.2.ebuild
26 new file mode 100644
27 index 000000000000..32e526740664
28 --- /dev/null
29 +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.14.2.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit systemd
37 +
38 +DESCRIPTION="Desktop integration portal"
39 +HOMEPAGE="https://flatpak.org/ https://github.com/flatpak/xdg-desktop-portal"
40 +SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz"
41 +
42 +LICENSE="LGPL-2.1"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
45 +IUSE="geolocation screencast systemd"
46 +
47 +DEPEND="
48 + >=dev-libs/glib-2.66:2
49 + dev-libs/json-glib
50 + >=sys-fs/fuse-3.10.0:3
51 + x11-libs/gdk-pixbuf
52 + geolocation? ( >=app-misc/geoclue-2.5.3:2.0 )
53 + screencast? ( >=media-video/pipewire-0.3:= )
54 +"
55 +RDEPEND="${DEPEND}
56 + sys-apps/dbus
57 +"
58 +BDEPEND="
59 + dev-util/gdbus-codegen
60 + sys-devel/gettext
61 + virtual/pkgconfig
62 +"
63 +
64 +src_configure() {
65 + local myeconfargs=(
66 + --disable-docbook-docs # requires flatpak
67 + --disable-libportal # not packaged
68 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
69 + $(use_enable geolocation geoclue)
70 + $(use_enable screencast pipewire)
71 + $(use_with systemd)
72 + )
73 + econf "${myeconfargs[@]}"
74 +}