Play well with the GNOME portals

This commit is contained in:
Debarshi Ray 2022-05-05 21:32:56 +02:00 committed by Stepan Oksanichenko
parent 1c1184f5df
commit 3c38716e30
2 changed files with 16 additions and 13 deletions

View File

@ -0,0 +1 @@
5acea66b08ebeccc1047c1b5e55fddac3edfc14f xdg-desktop-portal-gtk-1.12.0.tar.xz

View File

@ -3,7 +3,7 @@
Name: xdg-desktop-portal-gtk Name: xdg-desktop-portal-gtk
Version: 1.12.0 Version: 1.12.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+ Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+ License: LGPLv2+
@ -15,7 +15,6 @@ BuildRequires: gettext
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version} BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
@ -30,9 +29,7 @@ Supplements: gtk3
Supplements: gtk4 Supplements: gtk4
%description %description
A backend implementation for xdg-desktop-portal that is using GTK+ and various A backend implementation for xdg-desktop-portal that is using GTK+.
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
org.gnome.SessionManager D-Bus interfaces.
%prep %prep
@ -40,18 +37,19 @@ org.gnome.SessionManager D-Bus interfaces.
%build %build
# All backends need to be enabled because xdg-desktop-portal-gnome is not # All backends that are disabled are instead provided by
# part of RHEL 9. Once xdg-desktop-portal-gnome is added, the portals in # xdg-desktop-portal-gnome, to keep this package free of GNOME dependencies.
# this package with GNOME dependencies should be disabled. # The appchooser and settings backends are enabled for non-GNOME GTK
# applications.
%configure \ %configure \
--disable-silent-rules \ --disable-silent-rules \
--enable-appchooser \ --enable-appchooser \
--enable-settings \ --enable-settings \
--enable-background \ --disable-background \
--enable-lockdown \ --disable-lockdown \
--enable-screencast \ --disable-screencast \
--enable-screenshot \ --disable-screenshot \
--enable-wallpaper --disable-wallpaper
%make_build %make_build
@ -79,6 +77,10 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog %changelog
* Thu May 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-2
- Play well with the GNOME portals
Resolves: #2051495
* Tue Feb 08 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1 * Tue Feb 08 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1
- Recommend this portal backend for all GTK3 and GTK4 users - Recommend this portal backend for all GTK3 and GTK4 users
Resolves: #2078624 Resolves: #2078624