Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: x11-misc/xdg-desktop-portal/
Date: Sun, 17 Feb 2019 11:11:11
Message-Id: 1550401775.a7a03fdd41da7cdc8cde7d822676f5568480c9bb.asturm@gentoo
1 commit: a7a03fdd41da7cdc8cde7d822676f5568480c9bb
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 17 10:40:50 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 17 11:09:35 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a7a03fdd
7
8 x11-misc/xdg-desktop-portal: 1.2.0 version bump, add USE geoclue
9
10 Package-Manager: Portage-2.3.60, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../xdg-desktop-portal-1.2.0.ebuild | 47 ++++++++++++++++++++++
14 1 file changed, 47 insertions(+)
15
16 diff --git a/x11-misc/xdg-desktop-portal/xdg-desktop-portal-1.2.0.ebuild b/x11-misc/xdg-desktop-portal/xdg-desktop-portal-1.2.0.ebuild
17 new file mode 100644
18 index 0000000000..90099e8c1c
19 --- /dev/null
20 +++ b/x11-misc/xdg-desktop-portal/xdg-desktop-portal-1.2.0.ebuild
21 @@ -0,0 +1,47 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit autotools systemd
28 +
29 +DESCRIPTION="Desktop integration portal"
30 +HOMEPAGE="https://flatpak.org/ https://github.com/flatpak/xdg-desktop-portal"
31 +SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz"
32 +
33 +LICENSE="LGPL-2.1"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE="doc geolocation"
37 +
38 +BDEPEND="
39 + dev-util/gdbus-codegen
40 + sys-devel/gettext
41 + virtual/pkgconfig
42 + doc? (
43 + app-text/xmlto
44 + app-text/docbook-xml-dtd:4.3
45 + )
46 +"
47 +DEPEND="
48 + dev-libs/glib:2[dbus]
49 + sys-fs/fuse:0
50 + geolocation? ( app-misc/geoclue:2.0 )
51 +"
52 +RDEPEND="${DEPEND}"
53 +
54 +src_prepare() {
55 + default
56 + sed -e "/^PKG_CHECK_MODULES(FLATPAK/s/^/# DONT /" -i configure.ac || die
57 + eautoreconf
58 +}
59 +
60 +src_configure() {
61 + local myeconfargs=(
62 + --disable-pipewire
63 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
64 + $(use_enable doc docbook-docs)
65 + $(use_enable geolocation geoclue)
66 + )
67 + econf "${myeconfargs[@]}"
68 +}