commit: 697e8e93d707117a402fad1bfb2b59b0c5f9d225
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 10:05:08 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 10:07:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697e8e93
sys-apps/xdg-desktop-portal-gtk: add 1.15.3
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/xdg-desktop-portal-gtk/Manifest | 1 +
.../xdg-desktop-portal-gtk-1.15.3.ebuild | 56 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/sys-apps/xdg-desktop-portal-gtk/Manifest
b/sys-apps/xdg-desktop-portal-gtk/Manifest
index 29e56b5aee53..3fc5c10657da 100644
--- a/sys-apps/xdg-desktop-portal-gtk/Manifest
+++ b/sys-apps/xdg-desktop-portal-gtk/Manifest
@@ -1,2 +1,3 @@
DIST xdg-desktop-portal-gtk-1.14.1.tar.xz 393964 BLAKE2B
fd7fb960a19a13ad722b3db6e00a81e737c25434a6c4f70b97ad6cb2f9e01a06e9dc563f0e61f496260275854404b006cf4b36df56cc967202def6ca4bf0c8a0
SHA512
d8b487e8fc7d8c1f0f41eb3ee28377b2f77af9c65569b5dbaee785ae40c163929da8b13b39b032e25631515cb8e7218129c8bbffe25692e85c7b8e9269024325
DIST xdg-desktop-portal-gtk-1.15.2.tar.xz 93044 BLAKE2B
a44f9fe19280e653f2e5ea0831ab273b51f9d7cf41d7ae39976f9cebbee3502915d15c5455ae28fc701e6816241c0c785eaa389399544fd21106ae953b1cfd47
SHA512
a4ee821cab0a73dade139abee5802fee21fc3dbdb801dea0dc87366f6a0ff2929836f333d5a874fa874c72570a8b792d9ce6b3d261072732935765ed3b2463af
+DIST xdg-desktop-portal-gtk-1.15.3.tar.xz 94556 BLAKE2B
ecb4f965342148064dcca288031d0a31631652f6b1aa8d2d18558e79613783bc950225d540e7db925b96f9d66b351e2aa87403b58898505be36f3e4a878111c0
SHA512
38a94ace605f95af74a2edd4cf9f52124b1f0e46612a3484d1fb51289ee27015077fa9f4cc75cfa48792101500ce8e0d62761d71ef4d4791837599352e2a81a0
diff --git
a/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.3.ebuild
b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.3.ebuild
new file mode 100644
index 000000000000..097d5d63f0c9
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd
+
+MY_PV="${PV//_pre*}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Backend implementation for xdg-desktop-portal using GTK+"
+HOMEPAGE="https://flatpak.org/
https://github.com/flatpak/xdg-desktop-portal-gtk"
+SRC_URI="https://github.com/flatpak/${PN}/releases/download/${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="wayland X"
+
+BDEPEND="
+ dev-util/gdbus-codegen
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+DEPEND="
+ dev-libs/glib:2
+ gnome-base/gsettings-desktop-schemas
+ media-libs/fontconfig
+ sys-apps/dbus
+ >=sys-apps/xdg-desktop-portal-1.14.0
+ x11-libs/cairo[X?]
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3[wayland?,X?]
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ # As done in Fedora:
+ # All backends that are disabled are instead provided by
+ # xdg-desktop-portal-gnome to keep this package free of GNOME
dependencies.
+ # The appchooser and settings backends are enabled for non-GNOME GTK
+ # applications.
+ local emesonargs=(
+ -Dsystemd-user-unit-dir="$(systemd_get_userunitdir)"
+ -Dappchooser=enabled
+ -Dsettings=enabled
+ -Dlockdown=disabled
+ -Dwallpaper=disabled
+ )
+
+ meson_src_configure
+}