From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E277D1584F2 for ; Thu, 20 Mar 2025 03:37:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CE53B343273 for ; Thu, 20 Mar 2025 03:37:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C4C4611037F; Thu, 20 Mar 2025 03:37:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B4B2411037F for ; Thu, 20 Mar 2025 03:37:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6324F34324F for ; Thu, 20 Mar 2025 03:37:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A32E02058 for ; Thu, 20 Mar 2025 03:37:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1742441797.6d65b555dfdbabb899bca895c273550eed20aa80.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gtk/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/xdg-desktop-portal-gtk/Manifest sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.2.ebuild X-VCS-Directories: sys-apps/xdg-desktop-portal-gtk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6d65b555dfdbabb899bca895c273550eed20aa80 X-VCS-Branch: master Date: Thu, 20 Mar 2025 03:37:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3320c9d6-2622-4145-b308-7ea73b6bb1e4 X-Archives-Hash: 1d8f8126683e8b2e37cf9fe51100afd5 commit: 6d65b555dfdbabb899bca895c273550eed20aa80 Author: Sam James gentoo org> AuthorDate: Thu Mar 20 03:35:50 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 20 03:36:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d65b555 sys-apps/xdg-desktop-portal-gtk: add 1.15.2 This fixes building against sys-apps/xdg-desktop-portal-1.20.0. The backends removed here from src_configure were removed entirely from xdg-desktop-portal-gtk. We're still in sync with what Fedora disables too (see comment). Signed-off-by: Sam James gentoo.org> sys-apps/xdg-desktop-portal-gtk/Manifest | 1 + .../xdg-desktop-portal-gtk-1.15.2.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 2aea6006d89c..29e56b5aee53 100644 --- a/sys-apps/xdg-desktop-portal-gtk/Manifest +++ b/sys-apps/xdg-desktop-portal-gtk/Manifest @@ -1 +1,2 @@ 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 diff --git a/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.2.ebuild b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.2.ebuild new file mode 100644 index 000000000000..097d5d63f0c9 --- /dev/null +++ b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.15.2.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 +}