commit:     e0c5b00aca2ab62b2027a36ff557713f68a1e092
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 09:34:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May  6 09:40:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c5b00a

sys-apps/xdg-desktop-portal-gnome: depend on newer sys-apps/xdg-desktop-portal

Should help with delays opening applications.

Bug: https://bugs.gentoo.org/905482
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../xdg-desktop-portal-gnome-44.1-r1.ebuild        | 45 ++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git 
a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.1-r1.ebuild 
b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.1-r1.ebuild
new file mode 100644
index 000000000000..d75beb04c2ad
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson systemd xdg
+
+DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="wayland X"
+
+# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
+# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
+DEPEND="
+       dev-libs/glib:2
+       gnome-base/gnome-desktop:4=
+       gui-libs/libadwaita:1
+       media-libs/fontconfig
+       sys-apps/dbus
+       >=sys-apps/xdg-desktop-portal-1.16.0-r1
+       >=sys-apps/xdg-desktop-portal-gtk-1.14.0
+       gui-libs/gtk:4[wayland?,X?]
+       X? ( x11-libs/libX11 )
+       wayland? ( dev-libs/wayland )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       dev-util/gdbus-codegen
+       sys-devel/gettext
+       virtual/pkgconfig
+
+       wayland? ( dev-util/wayland-scanner )
+"
+
+src_configure() {
+       local emesonargs=(
+               -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+       )
+
+       meson_src_configure
+}

Reply via email to