Rebase to 1.12.0

Resolves: #2051493
This commit is contained in:
Debarshi Ray 2022-02-08 18:53:06 +01:00
parent 401cb6e472
commit 55c1ac17ee
3 changed files with 22 additions and 4 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@
/xdg-desktop-portal-gtk-1.7.0.tar.xz
/xdg-desktop-portal-gtk-1.7.1.tar.xz
/xdg-desktop-portal-gtk-1.8.0.tar.xz
/xdg-desktop-portal-gtk-1.12.0.tar.xz

View File

@ -1 +1 @@
SHA512 (xdg-desktop-portal-gtk-1.8.0.tar.xz) = 832b3c4cb9ea738f2ab7641fbd7e14beaa5f6a1ae88f012cd44b12f4bc51588f61868b5982301e3dfd67965d6a69fd8669a9832b6ec7017168d611c87d76689b
SHA512 (xdg-desktop-portal-gtk-1.12.0.tar.xz) = da4750ef6a289aaf1856778f761e51706f71416eb3c5dfe3d239a0b784fb3682e6553e6e1f840ca1b8af493b8931205f37c1a9967986b0cee6af6022b448e237

View File

@ -2,8 +2,8 @@
%global xdg_desktop_portal_version 1.5.4
Name: xdg-desktop-portal-gtk
Version: 1.8.0
Release: 4%{?dist}
Version: 1.12.0
Release: 1%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
@ -14,12 +14,14 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gnome-desktop-3.0)
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
@ -37,7 +39,18 @@ org.gnome.SessionManager D-Bus interfaces.
%build
%configure --disable-silent-rules
# All backends need to be enabled because xdg-desktop-portal-gnome is not
# part of RHEL 9. Once xdg-desktop-portal-gnome is added, the portals in
# this package with GNOME dependencies should be disabled.
%configure \
--disable-silent-rules \
--enable-appchooser \
--enable-settings \
--enable-background \
--enable-lockdown \
--enable-screencast \
--enable-screenshot \
--enable-wallpaper
%make_build
@ -65,6 +78,10 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog
* Tue Feb 08 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1
- Rebase to 1.12.0
Resolves: #2051493
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.0-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688