1 |
commit: 277c9e630192d6ef58827b879d025dd613f22258 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 25 17:00:34 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 25 17:05:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277c9e63 |
7 |
|
8 |
sys-apps/xdg-desktop-portal: New package |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sys-apps/xdg-desktop-portal/Manifest | 1 + |
14 |
sys-apps/xdg-desktop-portal/metadata.xml | 8 ++++ |
15 |
.../xdg-desktop-portal-1.2.0.ebuild | 47 ++++++++++++++++++++++ |
16 |
3 files changed, 56 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/xdg-desktop-portal/Manifest b/sys-apps/xdg-desktop-portal/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..cb882d4c980 |
21 |
--- /dev/null |
22 |
+++ b/sys-apps/xdg-desktop-portal/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST xdg-desktop-portal-1.2.0.tar.xz 405856 BLAKE2B 8d198c7c18b829f531e34d6526b52776a1acffcb874a2ea93953314710aa18bcb1988ffe190bb7b7f7c0d1c4eb1bc3d39fd2f7da626754730bf64f349ae75d39 SHA512 7c7dff8f1f44b4f564f195a8f9ad2985f6085d16638d18941459cd14d76d8ae7cafaf72f461f2c0c1414a8bace9f3ab4a5416de06edb71df677fd7bdca47f61a |
25 |
|
26 |
diff --git a/sys-apps/xdg-desktop-portal/metadata.xml b/sys-apps/xdg-desktop-portal/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..2fdbf33d963 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/xdg-desktop-portal/metadata.xml |
31 |
@@ -0,0 +1,8 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="project"> |
36 |
+ <email>kde@g.o</email> |
37 |
+ <name>Gentoo KDE Project</name> |
38 |
+ </maintainer> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.2.0.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.2.0.ebuild |
42 |
new file mode 100644 |
43 |
index 00000000000..90099e8c1c6 |
44 |
--- /dev/null |
45 |
+++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.2.0.ebuild |
46 |
@@ -0,0 +1,47 @@ |
47 |
+# Copyright 1999-2019 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=7 |
51 |
+ |
52 |
+inherit autotools systemd |
53 |
+ |
54 |
+DESCRIPTION="Desktop integration portal" |
55 |
+HOMEPAGE="https://flatpak.org/ https://github.com/flatpak/xdg-desktop-portal" |
56 |
+SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" |
57 |
+ |
58 |
+LICENSE="LGPL-2.1" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~amd64 ~x86" |
61 |
+IUSE="doc geolocation" |
62 |
+ |
63 |
+BDEPEND=" |
64 |
+ dev-util/gdbus-codegen |
65 |
+ sys-devel/gettext |
66 |
+ virtual/pkgconfig |
67 |
+ doc? ( |
68 |
+ app-text/xmlto |
69 |
+ app-text/docbook-xml-dtd:4.3 |
70 |
+ ) |
71 |
+" |
72 |
+DEPEND=" |
73 |
+ dev-libs/glib:2[dbus] |
74 |
+ sys-fs/fuse:0 |
75 |
+ geolocation? ( app-misc/geoclue:2.0 ) |
76 |
+" |
77 |
+RDEPEND="${DEPEND}" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ default |
81 |
+ sed -e "/^PKG_CHECK_MODULES(FLATPAK/s/^/# DONT /" -i configure.ac || die |
82 |
+ eautoreconf |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ local myeconfargs=( |
87 |
+ --disable-pipewire |
88 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
89 |
+ $(use_enable doc docbook-docs) |
90 |
+ $(use_enable geolocation geoclue) |
91 |
+ ) |
92 |
+ econf "${myeconfargs[@]}" |
93 |
+} |