|
|
|
@ -1,7 +1,8 @@
|
|
|
|
|
%global xdg_desktop_portal_version 1.1.1
|
|
|
|
|
# Required for xdp_impl_background_emit_running_applications_changed
|
|
|
|
|
%global xdg_desktop_portal_version 1.5.4
|
|
|
|
|
|
|
|
|
|
Name: xdg-desktop-portal-gtk
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Version: 1.12.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Backend implementation for xdg-desktop-portal using GTK+
|
|
|
|
|
|
|
|
|
@ -11,15 +12,19 @@ Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
|
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
|
|
|
|
|
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 flatpak and gtk3 are both installed
|
|
|
|
|
Supplements: (flatpak and gtk3)
|
|
|
|
|
# Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed
|
|
|
|
|
Supplements: (gtk3 and (flatpak or snapd))
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -29,11 +34,21 @@ org.gnome.SessionManager D-Bus interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-silent-rules
|
|
|
|
|
# All backends need to be enabled because xdg-desktop-portal-gnome is not
|
|
|
|
|
# part of RHEL 8.
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
|
--enable-appchooser \
|
|
|
|
|
--enable-settings \
|
|
|
|
|
--enable-background \
|
|
|
|
|
--enable-lockdown \
|
|
|
|
|
--enable-screencast \
|
|
|
|
|
--enable-screenshot \
|
|
|
|
|
--enable-wallpaper
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -61,6 +76,20 @@ org.gnome.SessionManager D-Bus interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 16 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1
|
|
|
|
|
- Rebase to 1.12.0
|
|
|
|
|
Resolves: RHEL-16694
|
|
|
|
|
|
|
|
|
|
* Sat Mar 26 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.8.0-1
|
|
|
|
|
- Rebase to 1.8.0
|
|
|
|
|
- Remove unnecessary non-arch-specific explicit library Requires
|
|
|
|
|
Resolves: #2062432
|
|
|
|
|
|
|
|
|
|
* Mon May 25 2020 Jonas Ådahl <jadahl@redhat.com> - 1.6.0-1
|
|
|
|
|
- Rebase to 1.6.0 (#1837413)
|
|
|
|
|
- Bump supported Mutter screen cast API version (#1837413)
|
|
|
|
|
- Backport bugfix (#1837413)
|
|
|
|
|
|
|
|
|
|
* Sat Oct 26 2019 David King <dking@redhat.com> - 1.4.0-1
|
|
|
|
|
- Rebase to 1.4.0 (#1748335)
|
|
|
|
|
|
|
|
|
|