1 |
commit: 98d82a9a646f9dccd3321e5030b6610f384b538b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 28 15:06:40 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 28 15:34:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d82a9a |
7 |
|
8 |
sys-apps/xdg-desktop-portal: Pin to media-video/pipewire:0/0.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../xdg-desktop-portal-1.6.0-r2.ebuild | 47 ++++++++++++++++++++++ |
14 |
1 file changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.6.0-r2.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.6.0-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..77712209389 |
19 |
--- /dev/null |
20 |
+++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.6.0-r2.ebuild |
21 |
@@ -0,0 +1,47 @@ |
22 |
+# Copyright 1999-2020 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 ~arm arm64 ~ppc64 x86" |
36 |
+IUSE="doc geolocation screencast" |
37 |
+ |
38 |
+BDEPEND=" |
39 |
+ dev-util/gdbus-codegen |
40 |
+ sys-devel/gettext |
41 |
+ virtual/pkgconfig |
42 |
+ doc? ( |
43 |
+ app-text/docbook-xml-dtd:4.3 |
44 |
+ app-text/xmlto |
45 |
+ ) |
46 |
+" |
47 |
+DEPEND=" |
48 |
+ dev-libs/glib:2 |
49 |
+ dev-libs/json-glib |
50 |
+ media-libs/fontconfig |
51 |
+ sys-fs/fuse:0 |
52 |
+ geolocation? ( >=app-misc/geoclue-2.5.3:2.0 ) |
53 |
+ screencast? ( media-video/pipewire:0/0.2 ) |
54 |
+" |
55 |
+RDEPEND="${DEPEND} |
56 |
+ sys-apps/dbus |
57 |
+" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ local myeconfargs=( |
61 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
62 |
+ $(use_enable doc docbook-docs) |
63 |
+ $(use_enable geolocation geoclue) |
64 |
+ $(use_enable screencast pipewire) |
65 |
+ --disable-libportal # not packaged |
66 |
+ ) |
67 |
+ econf "${myeconfargs[@]}" |
68 |
+} |