Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/
Date: Sat, 24 Sep 2022 16:46:55
Message-Id: 1664037822.cd6ab0758f821a1209846ffff4f4279afaece906.mattst88@gentoo
1 commit: cd6ab0758f821a1209846ffff4f4279afaece906
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 16:03:26 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 16:43:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd6ab075
7
8 sys-apps/xdg-desktop-portal: Version bump to 1.15.0
9
10 Closes: https://bugs.gentoo.org/867025
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 sys-apps/xdg-desktop-portal/Manifest | 1 +
14 .../xdg-desktop-portal-1.15.0.ebuild | 45 ++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/sys-apps/xdg-desktop-portal/Manifest b/sys-apps/xdg-desktop-portal/Manifest
18 index ba757d537994..bffac4d717fa 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.14.6.tar.xz 515076 BLAKE2B fa39b207fa883cd15389d644eb6e6491f8619a4609d3fc9c7e92c039f7247c4b2acbc5031ec25213b61b69d1b14f1f8867b41a20f0d85e4bfd56a9d3d5d715f4 SHA512 2991f435d6808d0838b0ed64f37694dbd9128473edfbc36468e9ee289a962a8c2ec465b87c22a1571801de34bd08ea64b4570dcc3160e03fb6a07270a311e263
23 +DIST xdg-desktop-portal-1.15.0.tar.xz 521732 BLAKE2B a49ab7a1462771c628a24f9759e239dd3f8233b26c2a5f6e9fc848e00eb36c74a21cd1fd4d43af0c0f46782c46d6a822af86fd7b49fa1f77a1cbd96452a00348 SHA512 98b36841c54bdd5221c0719e9646abb7f117351ff780682591c269d2a57f7b1946deaef38c2caa6474e1048e283a68c55a791e8d2a0be000ca9e563ed98c28ef
24
25 diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild
26 new file mode 100644
27 index 000000000000..c0589cac6847
28 --- /dev/null
29 +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.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[suid]
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 +}