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: Mon, 08 Aug 2022 12:08:45
Message-Id: 1659960406.ca747773604f123dbe92adcf83fcc93693cbb8b8.asturm@gentoo
1 commit: ca747773604f123dbe92adcf83fcc93693cbb8b8
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 8 11:29:23 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 8 12:06:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca747773
7
8 sys-apps/xdg-desktop-portal: add 1.14.6
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 sys-apps/xdg-desktop-portal/Manifest | 1 +
13 .../xdg-desktop-portal-1.14.6.ebuild | 45 ++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/sys-apps/xdg-desktop-portal/Manifest b/sys-apps/xdg-desktop-portal/Manifest
17 index c92c3fc2895c..36ef1df5823f 100644
18 --- a/sys-apps/xdg-desktop-portal/Manifest
19 +++ b/sys-apps/xdg-desktop-portal/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xdg-desktop-portal-1.14.4.tar.xz 510492 BLAKE2B 32f71cbc74d6bb3010e31172972dd7bfc4c982691ef55f66c29d5cf4aa2abeed816f890800691e898f739c2c7aa13db1e04f322c89ce30e9ac8a69b87435a448 SHA512 23fa4f9fdf39f22d6eaa4f6020db5f81d272b85fe6051467c5e28a752c65b18a9b540fafe5b27725fafa29dffefcd113d873928cd78e3658895cd24d96b82f73
22 DIST xdg-desktop-portal-1.14.5.tar.xz 514880 BLAKE2B ec470a54c3336c73af1cee1c589726884dc5607d7af6e68d4ea8653706fb5a33aa2bf8e45b432d4954c49fa313d62f43f658efb0222c2c706cd377bdbf74c5b7 SHA512 5ce108ca5ef7bffe292d2ac39f22e555c56b02ec1635716bb1fb71aebf9146aa1fdda1392a6c8e2c9e61f1789445eb642b91cf8d25d3aa3f196a368026aeb984
23 +DIST xdg-desktop-portal-1.14.6.tar.xz 515076 BLAKE2B fa39b207fa883cd15389d644eb6e6491f8619a4609d3fc9c7e92c039f7247c4b2acbc5031ec25213b61b69d1b14f1f8867b41a20f0d85e4bfd56a9d3d5d715f4 SHA512 2991f435d6808d0838b0ed64f37694dbd9128473edfbc36468e9ee289a962a8c2ec465b87c22a1571801de34bd08ea64b4570dcc3160e03fb6a07270a311e263
24
25 diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.14.6.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.14.6.ebuild
26 new file mode 100644
27 index 000000000000..b3c3088512f7
28 --- /dev/null
29 +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.14.6.ebuild
30 @@ -0,0 +1,45 @@
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 ~loong ~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 + systemd? ( sys-apps/systemd )
55 +"
56 +RDEPEND="${DEPEND}
57 + sys-apps/dbus
58 +"
59 +BDEPEND="
60 + dev-util/gdbus-codegen
61 + sys-devel/gettext
62 + virtual/pkgconfig
63 +"
64 +
65 +src_configure() {
66 + local myeconfargs=(
67 + --disable-docbook-docs # requires flatpak
68 + --disable-libportal # not packaged
69 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
70 + $(use_enable geolocation geoclue)
71 + $(use_enable screencast pipewire)
72 + $(use_with systemd)
73 + )
74 + econf "${myeconfargs[@]}"
75 +}