Enable appchooser and settings backends (#2012315)

This commit is contained in:
David King 2021-11-11 09:00:28 +00:00
parent bf54024610
commit 014a63e7d2

View File

@ -3,7 +3,7 @@
Name: xdg-desktop-portal-gtk
Version: 1.10.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
@ -14,11 +14,13 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
%{?systemd_requires}
BuildRequires: systemd
Requires: dbus
Requires: gsettings-desktop-schemas
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
%if 0%{?fedora}
# Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed
@ -36,13 +38,15 @@ A backend implementation for xdg-desktop-portal that is using GTK+.
%build
# 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.
%configure \
--disable-silent-rules \
--disable-appchooser \
--enable-appchooser \
--enable-settings \
--disable-background \
--disable-screencast \
--disable-screenshot \
--disable-settings \
--disable-wallpaper
%make_build
@ -71,6 +75,9 @@ A backend implementation for xdg-desktop-portal that is using GTK+.
%changelog
* Thu Nov 11 2021 David King <amigadave@amigadave.com> - 1.10.0-2
- Enable appchooser and settings backends (#2012315)
* Thu Sep 16 2021 David King <amigadave@amigadave.com> - 1.10.0-1
- Update to 1.10.0 (#2004781)