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