1 |
commit: af32d8f6b04f4b1c62b0549d0c73b8fb4b681a34 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 31 15:40:44 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 31 15:41:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af32d8f6 |
7 |
|
8 |
sys-apps/xdg-desktop-portal-gtk: new package |
9 |
|
10 |
Needed for example for screensharing support in GTK+ applications |
11 |
using pipewire on GNOME desktop. |
12 |
|
13 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
14 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
15 |
|
16 |
sys-apps/xdg-desktop-portal-gtk/Manifest | 1 + |
17 |
sys-apps/xdg-desktop-portal-gtk/metadata.xml | 8 ++++ |
18 |
.../xdg-desktop-portal-gtk-1.7.1_pre.ebuild | 47 ++++++++++++++++++++++ |
19 |
3 files changed, 56 insertions(+) |
20 |
|
21 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/Manifest b/sys-apps/xdg-desktop-portal-gtk/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..acbbf6ecac3 |
24 |
--- /dev/null |
25 |
+++ b/sys-apps/xdg-desktop-portal-gtk/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST xdg-desktop-portal-gtk-1.7.1.tar.xz 369932 BLAKE2B 510652a0025fc27d447a0482552a0ae9c8e08f0471166466356043c026c922b1b0779053bcc7902f041f93ccd71e2e71882594eee7f4dda8cea295e419192941 SHA512 2a2326559a4ed7e44ffddc1a6881c25f14822465f5660bc806e7d8a120d66268e2987329f4bc9f7821329eea41ee96b15a39c5f7ac805a1e04d0604a88b31c08 |
28 |
|
29 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/metadata.xml b/sys-apps/xdg-desktop-portal-gtk/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..996e7cacd21 |
32 |
--- /dev/null |
33 |
+++ b/sys-apps/xdg-desktop-portal-gtk/metadata.xml |
34 |
@@ -0,0 +1,8 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="project"> |
39 |
+ <email>gnome@g.o</email> |
40 |
+ <name>Gentoo GNOME Desktop</name> |
41 |
+ </maintainer> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.7.1_pre.ebuild b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.7.1_pre.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..ab551f0f5df |
47 |
--- /dev/null |
48 |
+++ b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.7.1_pre.ebuild |
49 |
@@ -0,0 +1,47 @@ |
50 |
+# Copyright 1999-2020 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+inherit autotools systemd |
56 |
+ |
57 |
+MY_PV="${PV//_pre*}" |
58 |
+MY_P="${PN}-${MY_PV}" |
59 |
+ |
60 |
+DESCRIPTION="portal backend implementation that is using GTK+ and various pieces of GNOME" |
61 |
+HOMEPAGE="https://flatpak.org/ https://github.com/flatpak/xdg-desktop-portal-gtk" |
62 |
+SRC_URI="https://github.com/flatpak/${PN}/releases/download/${MY_PV}/${MY_P}.tar.xz" |
63 |
+ |
64 |
+LICENSE="LGPL-2.1" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="" |
67 |
+IUSE="wayland X" |
68 |
+ |
69 |
+BDEPEND=" |
70 |
+ sys-devel/gettext |
71 |
+ virtual/pkgconfig |
72 |
+" |
73 |
+ |
74 |
+DEPEND=" |
75 |
+ dev-libs/glib:2 |
76 |
+ dev-util/gdbus-codegen |
77 |
+ gnome-base/gnome-desktop:3= |
78 |
+ media-libs/fontconfig |
79 |
+ sys-apps/dbus |
80 |
+ >=sys-apps/xdg-desktop-portal-1.7 |
81 |
+ x11-libs/cairo[X?] |
82 |
+ x11-libs/gdk-pixbuf:2 |
83 |
+ x11-libs/gtk+:3[wayland?,X?] |
84 |
+" |
85 |
+ |
86 |
+RDEPEND="${DEPEND}" |
87 |
+ |
88 |
+S="${WORKDIR}/${MY_P}" |
89 |
+ |
90 |
+src_configure() { |
91 |
+ local myeconfargs=( |
92 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
93 |
+ ) |
94 |
+ |
95 |
+ econf "${myeconfargs[@]}" |
96 |
+} |