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: Fri, 03 Jan 2020 22:58:19
Message-Id: 1578092062.062a5b3a1a31e918a8e609686d90af2aa7bd5a87.asturm@gentoo
1 commit: 062a5b3a1a31e918a8e609686d90af2aa7bd5a87
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 3 22:52:04 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 3 22:54:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062a5b3a
7
8 sys-apps/xdg-desktop-portal: 1.6.0 version bump
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sys-apps/xdg-desktop-portal/Manifest | 1 +
14 .../xdg-desktop-portal-1.6.0.ebuild | 46 ++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/sys-apps/xdg-desktop-portal/Manifest b/sys-apps/xdg-desktop-portal/Manifest
18 index c07ddc5f59f..495b8273cf4 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.4.2.tar.xz 421660 BLAKE2B 5395218fa182947c589ff51cd43b838591e47442b23c4fe0719f0970bff3602e81c4f79ad93890bde97a529ca34a733032e85a1f21f41e9aa230d5c2d40e1136 SHA512 9a19dc8f6899a24f8827ce36447316ce74f293abed469be24adfaa16d18deac0b7c5d77f744eed9b540b54cd23145281dacb6811dc52b34180b21d6dc02efc5a
23 +DIST xdg-desktop-portal-1.6.0.tar.xz 453516 BLAKE2B 13ffcb21de6b61ddeb0782dcfc7b684287e54f94b9494b19589178594d1383a15048b8f9aeed7fb1260c3a2c967b267061d1db401085a686938c8629de8824c3 SHA512 7a0c702851762a55326142cb6b470205775284e0f749620ae6b648f216afcd684f8b20500339680b42812f628634344c9e826ab7cf13dd918fdbf733381d44ce
24
25 diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.6.0.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.6.0.ebuild
26 new file mode 100644
27 index 00000000000..656a81da481
28 --- /dev/null
29 +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.6.0.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit autotools 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 ~x86"
45 +IUSE="doc geolocation screencast"
46 +
47 +BDEPEND="
48 + dev-util/gdbus-codegen
49 + sys-devel/gettext
50 + virtual/pkgconfig
51 + doc? (
52 + app-text/xmlto
53 + app-text/docbook-xml-dtd:4.3
54 + )
55 +"
56 +DEPEND="
57 + dev-libs/glib:2[dbus]
58 + dev-libs/json-glib
59 + media-libs/fontconfig
60 + sys-fs/fuse:0
61 + geolocation? ( >=app-misc/geoclue-2.5.3:2.0 )
62 + screencast? ( media-video/pipewire:= )
63 +"
64 +RDEPEND="${DEPEND}"
65 +
66 +src_configure() {
67 + local myeconfargs=(
68 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
69 + $(use_enable doc docbook-docs)
70 + $(use_enable geolocation geoclue)
71 + $(use_enable screencast pipewire)
72 + --disable-libportal # not packaged
73 + --disable-geoclue
74 + )
75 + econf "${myeconfargs[@]}"
76 +}