sys-apps/xdg-desktop-portal-gnome: add 47.3

Not sure why we have the 47.x dev releases in ~arch but tiny changes
over .3 and fixes xdg-desktop-portal-1.20.0 compat along with one
other bug fix.

Closes: https://bugs.gentoo.org/951706
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-03-23 08:51:43 +00:00
parent e13cd9661d
commit 49d56af8bc
2 changed files with 57 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST xdg-desktop-portal-gnome-46.2.tar.xz 161088 BLAKE2B 586729957351a41cc483e68fc3f8774f662542f8f8e7bb18228ba8adbe852a030bea18ba71192ce9d2219e10199d3b0b4d699d864dbf202a43dbd860f73b7916 SHA512 8257a30fd2303e32c6eebd2fd97e876f2776aeb7442de96040d7fdb5961b674272d03c24ebd89bfb55a88bd668ae75bde3f3405a26cda48b93c23033d0d7bde5
DIST xdg-desktop-portal-gnome-47.1.tar.xz 163448 BLAKE2B dfaa078689f5f897c8deb289ff21339cab13b01a7ec5e1367da0e0488a4b95c08d6f7778f53fbb4dcffe766093117c41b175bfbce840587168f146245fcceea9 SHA512 bc4118b56baed90c42ae75c99c911d11d1541c8e2d4629672621d29217bc49bfa37218a9b27bd4b2712d95d2b6dbab36212687a6d15bca33467bb8dbde047ef3
DIST xdg-desktop-portal-gnome-47.2.tar.xz 163904 BLAKE2B 534704a415a2bc11f29119cd33c3ddff435c9fa8ef81303ddd21d1465486061dda73d700645840cf612b10b46d94f3d401cb2c3e04c05496be1a0d4c03eb524e SHA512 0be371c1891544eea4e20665c2b8b79435a505a5245c3ae98e8378b33a7c9569bad17e1c9d9c23919377447aff85734fdaa394b0a93e5e14d985696c1694a5bf
DIST xdg-desktop-portal-gnome-47.3.tar.xz 163996 BLAKE2B 24434f86c92881179ade791c020c6be9565365edc44a68215773c53308e89bd4215b2e9e2108f2587fc93d8cad28aaf534c03dc531244188d8b91e055d5a9ccf SHA512 4d5dc6e4ff151dbe0a50b40d2adf3a1b2c30efaa2d0bc63a69f4d7cb57d2aad695a145b2a4a49c9abc9140549d264c18547f70f3f25b9fbd18f13ae7c52cbd9a

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org gnome2-utils 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/gsettings-desktop-schemas-47_alpha
gnome-base/gnome-desktop:4=
>=gui-libs/libadwaita-1.6_beta:1
media-libs/fontconfig
sys-apps/dbus
>=sys-apps/xdg-desktop-portal-1.18.2
>=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
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}