import xdg-desktop-portal-gtk-1.12.0-1.el9

This commit is contained in:
CentOS Sources 2022-03-01 05:55:45 -05:00 committed by Stepan Oksanichenko
parent 06397c9a43
commit 8e8419a0b9
3 changed files with 24 additions and 8 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz
SOURCES/xdg-desktop-portal-gtk-1.12.0.tar.xz

View File

@ -1 +1 @@
cf281335a301828c4b92e91ebf09113e3f485e18 SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz
5acea66b08ebeccc1047c1b5e55fddac3edfc14f SOURCES/xdg-desktop-portal-gtk-1.12.0.tar.xz

View File

@ -2,24 +2,25 @@
%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+
URL: https://github.com/flatpak/%{name}
Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: make
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: make
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
BuildRequires: systemd-rpm-macros
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 +38,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 +77,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