1 |
commit: 26774c6bf830a9caa7dfcb5457c5ff561d8fcd52 |
2 |
Author: David Heidelberg <david <AT> ixit <DOT> cz> |
3 |
AuthorDate: Thu May 7 12:56:53 2020 +0000 |
4 |
Commit: David Heidelberg <david <AT> ixit <DOT> cz> |
5 |
CommitDate: Thu May 7 14:43:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26774c6b |
7 |
|
8 |
sys-apps/xdg-desktop-portal-gtk: New package. |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: David Heidelberg <david <AT> ixit.cz> |
12 |
|
13 |
sys-apps/xdg-desktop-portal-gtk/Manifest | 1 + |
14 |
sys-apps/xdg-desktop-portal-gtk/metadata.xml | 8 +++++ |
15 |
.../xdg-desktop-portal-gtk-1.6.0.ebuild | 36 ++++++++++++++++++++++ |
16 |
3 files changed, 45 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/Manifest b/sys-apps/xdg-desktop-portal-gtk/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..5384a90 |
21 |
--- /dev/null |
22 |
+++ b/sys-apps/xdg-desktop-portal-gtk/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST xdg-desktop-portal-gtk-1.6.0.tar.xz 366292 BLAKE2B 66676f5dc26b8eaa3db477a4c6e021cbae7f96944a9636bcb3e2f8b5ddb6123be0c6430819aaf02a107f17d29c5eef820c4c2be16d20f05f6e13f0bdeb0ed73d SHA512 97111e0c14a8cb54d88d0dd8142003b3f1a60e156131cce77deec0f43c936a110eda24c1e8efbb555dad0ad5aafe392d8c5afab80ea96166f616e6255371adc8 |
25 |
|
26 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/metadata.xml b/sys-apps/xdg-desktop-portal-gtk/metadata.xml |
27 |
new file mode 100644 |
28 |
index 0000000..775bda7 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/xdg-desktop-portal-gtk/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="person"> |
36 |
+ <email>david@××××.cz</email> |
37 |
+ <name>David Heidelberg</name> |
38 |
+ </maintainer> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.6.0.ebuild b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.6.0.ebuild |
42 |
new file mode 100644 |
43 |
index 0000000..ef7ad5c |
44 |
--- /dev/null |
45 |
+++ b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.6.0.ebuild |
46 |
@@ -0,0 +1,36 @@ |
47 |
+# Copyright 1999-2020 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=7 |
51 |
+ |
52 |
+inherit systemd |
53 |
+ |
54 |
+SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" |
55 |
+DESCRIPTION="GTK/GNOME backend for xdg-desktop-portal" |
56 |
+HOMEPAGE="https://github.com/flatpak/xdg-desktop-portal-gtk" |
57 |
+ |
58 |
+LICENSE="LGPL-2.1" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~amd64" |
61 |
+IUSE="wayland X" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ gnome-base/gnome-desktop:3 |
65 |
+ media-libs/fontconfig |
66 |
+ >=dev-libs/glib-2.44:2[dbus] |
67 |
+ >=x11-libs/gtk+-3.21.5:3[wayland=,X=] |
68 |
+ >=sys-apps/xdg-desktop-portal-1.6.0-r1 |
69 |
+" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ >=sys-devel/gettext-0.18.3 |
72 |
+" |
73 |
+BDEPEND=" |
74 |
+ virtual/pkgconfig |
75 |
+" |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local myeconfargs=( |
79 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
80 |
+ ) |
81 |
+ econf "${myeconfargs[@]}" |
82 |
+} |