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: Thu, 23 Dec 2021 11:37:58
Message-Id: 1640259461.bdc5b9088edbd12075e484af9c89185d45d3ea61.asturm@gentoo
1 commit: bdc5b9088edbd12075e484af9c89185d45d3ea61
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 23 10:47:23 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 23 11:37:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc5b908
7
8 sys-apps/xdg-desktop-portal: 1.12.1 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.12.1.ebuild | 42 ++++++++++++++++++++++
15 2 files changed, 43 insertions(+)
16
17 diff --git a/sys-apps/xdg-desktop-portal/Manifest b/sys-apps/xdg-desktop-portal/Manifest
18 index cd2c3da3e135..3ff5801a04f5 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.10.1.tar.xz 479660 BLAKE2B 88a2b8ea890036bf0d4192fae4ae143e350d903a528e09a0bd7ffc7bda2a58b5c04ae80f1cec4357bb05cba8db417b6193fc6ef7f7dd65bf414f80a8ac2800c5 SHA512 5db0bd866674ff016d864646ea7f91f09a1b8fbc5ec735e4c97165af71770d2c7d3333e771062644dd522b32f67ead72bc7ef99186e3b069671c174d4d601fdc
23 +DIST xdg-desktop-portal-1.12.1.tar.xz 484352 BLAKE2B afa14ab78f35cb1c0e66514f313f5dc297ceef88af1ca7b3028305faa8398bdae1b9e897289b18a93b1cda1a8290c0e51bf73e66c9dce231f57a58652fb9e120 SHA512 62df427e2d8d54acd9a34a02a77c26ae3911fbb4c5844eff4a253dc839775c929c6945401b93549ba200ba637d315146767e41f18a831d7627b35de880de0da1
24
25 diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.12.1.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.12.1.ebuild
26 new file mode 100644
27 index 000000000000..1b6590b6ba9b
28 --- /dev/null
29 +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.12.1.ebuild
30 @@ -0,0 +1,42 @@
31 +# Copyright 1999-2021 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"
46 +
47 +DEPEND="
48 + dev-libs/glib:2
49 + dev-libs/json-glib
50 + sys-fs/fuse:0
51 + geolocation? ( >=app-misc/geoclue-2.5.3:2.0 )
52 + screencast? ( >=media-video/pipewire-0.3:= )
53 +"
54 +RDEPEND="${DEPEND}
55 + sys-apps/dbus
56 +"
57 +BDEPEND="
58 + dev-util/gdbus-codegen
59 + sys-devel/gettext
60 + virtual/pkgconfig
61 +"
62 +
63 +src_configure() {
64 + local myeconfargs=(
65 + --disable-docbook-docs # requires flatpak
66 + --disable-libportal # not packaged
67 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
68 + $(use_enable geolocation geoclue)
69 + $(use_enable screencast pipewire)
70 + )
71 + econf "${myeconfargs[@]}"
72 +}