Update to 1.19.1

Resolves: RHEL-70763
This commit is contained in:
Jan Grulich 2025-01-06 12:26:29 +01:00
parent b978350da7
commit 2cdc8e33c0
4 changed files with 2012 additions and 6 deletions

1
.gitignore vendored
View File

@ -47,3 +47,4 @@
/xdg-desktop-portal-1.18.1.tar.xz
/xdg-desktop-portal-1.18.2.tar.xz
/xdg-desktop-portal-1.18.4.tar.xz
/xdg-desktop-portal-1.19.1.tar.xz

View File

@ -1 +1 @@
SHA512 (xdg-desktop-portal-1.18.4.tar.xz) = 482676777e8180752e13ff485acab91de117f4ecf2aefd313a6f596df800f37d7004ee4ba1040009eb69a6efc780efc7dcd7e46b3f59c47bd9f21aef48d346de
SHA512 (xdg-desktop-portal-1.19.1.tar.xz) = c480cdc6fbbdeedbfe0e37ac463b6afa9127efa1b3e6c665c28e272c23f5d41e6f3f0e8e3c69c31d0829032a009bcf04643ba7f782332a3eccf591eca5c6dff4

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,14 @@
%bcond docs %{undefined rhel}
%global flatpak_version 1.5.0
%global geoclue_version 2.5.2
%global glib_version 2.69.1
%global glib_version 2.72.0
%global libportal_version 0.9.0
%global low_memory_monitor_version 2.0
%global pipewire_version 0.2.90
Name: xdg-desktop-portal
Version: 1.18.4
Version: 1.19.1
Release: %autorelease
Summary: Portal frontend service to flatpak
@ -14,6 +17,10 @@ License: LGPL-2.1-or-later
URL: https://github.com/flatpak/xdg-desktop-portal/
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
# Backport of webextensions portal
# PR: https://github.com/flatpak/xdg-desktop-portal/pull/1537
Patch0: xdg-desktop-portal-webextensions.patch
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: meson
@ -22,23 +29,34 @@ BuildRequires: pkgconfig(flatpak) >= %{flatpak_version}
BuildRequires: pkgconfig(fuse3)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
BuildRequires: pkgconfig(libportal)
BuildRequires: pkgconfig(libportal) >= %{libportal_version}
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(umockdev-1.0)
BuildRequires: python3-dbusmock
BuildRequires: python3-gobject-base
BuildRequires: python3-pytest
%if %{undefined rhel}
BuildRequires: python3-pytest-xdist
%endif
%if %{with docs}
BuildRequires: python3-furo
BuildRequires: python3-sphinx-copybutton
BuildRequires: python3-sphinxext-opengraph
BuildRequires: /usr/bin/sphinx-build
%endif
BuildRequires: /usr/bin/gst-inspect-1.0
BuildRequires: gstreamer1-plugins-good
# for man-pages
BuildRequires: /usr/bin/rst2man
BuildRequires: /usr/bin/xmlto
Requires: dbus
Requires: geoclue2 >= %{geoclue_version}
Requires: glib2%{?_isa} >= %{glib_version}
Requires: libportal%{?_isa} >= %{libportal_version}
Recommends: pipewire >= %{pipewire_version}
Requires: pipewire-libs%{?_isa} >= %{pipewire_version}
# Required for the document portal.
@ -70,7 +88,7 @@ The pkg-config file for %{name}.
%build
%meson
%meson %{!?with_docs:-Ddocumentation=disabled}
%meson_build
@ -108,6 +126,7 @@ install -dm 755 %{buildroot}/%{_datadir}/xdg-desktop-portal/portals
%{_libexecdir}/xdg-desktop-portal
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
%{_libexecdir}/xdg-desktop-portal-validate-icon
%{_libexecdir}/xdg-desktop-portal-validate-sound
%{_libexecdir}/xdg-document-portal
%{_libexecdir}/xdg-permission-store
%{_mandir}/man5/portals.conf.5*