1 |
commit: e3935ded8f3fe6602a3d3675854b068f7c8732a4 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 16:22:16 2022 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 16:22:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3935ded |
7 |
|
8 |
sys-apps/xdg-desktop-portal-gtk: add 1.14.0 |
9 |
|
10 |
Backends relying on gnome are moved to xdg-desktop-portal-gtk. |
11 |
The appchooser and settings backends are enabled for non-GNOME GTK |
12 |
applications. |
13 |
|
14 |
Bug: 816135 |
15 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
16 |
|
17 |
sys-apps/xdg-desktop-portal-gtk/Manifest | 1 + |
18 |
.../xdg-desktop-portal-gtk-1.14.0.ebuild | 58 ++++++++++++++++++++++ |
19 |
2 files changed, 59 insertions(+) |
20 |
|
21 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/Manifest b/sys-apps/xdg-desktop-portal-gtk/Manifest |
22 |
index e46f4f3792fa..ec586271b380 100644 |
23 |
--- a/sys-apps/xdg-desktop-portal-gtk/Manifest |
24 |
+++ b/sys-apps/xdg-desktop-portal-gtk/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
+DIST xdg-desktop-portal-gtk-1.14.0.tar.xz 381316 BLAKE2B 73a1e1d9944c4776ef2ebff33b26559767aad10784e9518690d31575a6216014bd0c518bde9a3b4e92d6a7edbf1aaa3510d669a025b7574c4df978f7c24b83ac SHA512 b0ba54e1ddbdfbd22b8b31bf4ece261dc0beba303e642f10afc72659dd5477438a30688c9d018e3d1ed2adbc053ddf4e3a2d70de8cac03d9519355772862fafc |
27 |
DIST xdg-desktop-portal-gtk-1.8.0.tar.xz 370196 BLAKE2B d15a054e8fbc74718db7ad2d0f7b53c86b392e729fb4d5b8bdd87b16c0ebbf4feb11b29bc27da12990b351f520faa23bde694721819589513b6cfd1e4ea2f092 SHA512 832b3c4cb9ea738f2ab7641fbd7e14beaa5f6a1ae88f012cd44b12f4bc51588f61868b5982301e3dfd67965d6a69fd8669a9832b6ec7017168d611c87d76689b |
28 |
|
29 |
diff --git a/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.14.0.ebuild b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.14.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..9e8da15268bc |
32 |
--- /dev/null |
33 |
+++ b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.14.0.ebuild |
34 |
@@ -0,0 +1,58 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit systemd |
41 |
+ |
42 |
+MY_PV="${PV//_pre*}" |
43 |
+MY_P="${PN}-${MY_PV}" |
44 |
+ |
45 |
+DESCRIPTION="Backend implementation for xdg-desktop-portal using GTK+" |
46 |
+HOMEPAGE="https://flatpak.org/ https://github.com/flatpak/xdg-desktop-portal-gtk" |
47 |
+SRC_URI="https://github.com/flatpak/${PN}/releases/download/${MY_PV}/${MY_P}.tar.xz" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
52 |
+IUSE="wayland X" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ dev-util/gdbus-codegen |
56 |
+ sys-devel/gettext |
57 |
+ virtual/pkgconfig |
58 |
+" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ dev-libs/glib:2 |
62 |
+ media-libs/fontconfig |
63 |
+ sys-apps/dbus |
64 |
+ >=sys-apps/xdg-desktop-portal-1.14.0 |
65 |
+ x11-libs/cairo[X?] |
66 |
+ x11-libs/gdk-pixbuf:2 |
67 |
+ x11-libs/gtk+:3[wayland?,X?] |
68 |
+" |
69 |
+ |
70 |
+RDEPEND="${DEPEND}" |
71 |
+ |
72 |
+S="${WORKDIR}/${MY_P}" |
73 |
+ |
74 |
+src_configure() { |
75 |
+ # As done in Fedora: |
76 |
+ # All backends that are disabled are instead provided by |
77 |
+ # xdg-desktop-portal-gnome to keep this package free of GNOME dependencies. |
78 |
+ # The appchooser and settings backends are enabled for non-GNOME GTK |
79 |
+ # applications. |
80 |
+ local myeconfargs=( |
81 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
82 |
+ --enable-appchooser |
83 |
+ --enable-settings |
84 |
+ --disable-background |
85 |
+ --disable-lockdown |
86 |
+ --disable-screencast |
87 |
+ --disable-screenshot |
88 |
+ --disable-wallpaper |
89 |
+ ) |
90 |
+ |
91 |
+ econf "${myeconfargs[@]}" |
92 |
+} |