Name: xdg-desktop-portal-wlr Version: 0.6.0 Release: 3%{?dist} Summary: xdg-desktop-portal backend for wlroots License: MIT URL: https://github.com/emersion/%{name} Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg Patch0: %{url}/commit/c83b3cc.patch#/xdg-desktop-portal-wlr-0.6.0-screenshot-Announce-version-property.patch BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: meson BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(inih) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libspa-0.2) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(scdoc) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) >= 1.24 BuildRequires: pkgconfig(wayland-scanner) Requires: dbus # required for Screenshot portal implementation Requires: grim Requires: xdg-desktop-portal # required for Screencast output selection. # xdpw will try to use first available of the 3 utilities Recommends: (slurp or wofi or bemenu) Suggests: slurp Enhances: sway Supplements: (sway and (flatpak or snapd)) %description %{summary}. This project seeks to add support for the screenshot, screencast, and possibly remote-desktop xdg-desktop-portal interfaces for wlroots based compositors. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build %meson \ -Dsd-bus-provider=libsystemd %meson_build %install %meson_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license LICENSE %doc README.md contrib/config.sample %{_libexecdir}/%{name} %{_mandir}/man5/%{name}.5* %{_datadir}/xdg-desktop-portal/portals/wlr.portal %{_datadir}/dbus-1/services/*.service %{_userunitdir}/%{name}.service %changelog * Tue Dec 13 2022 Aleksei Bavshin - 0.6.0-3 - Recommend only one chooser of 3 supported, prefer slurp. - Add missing BR: pkgconfig(systemd) - Add upstream patch for screenshot portal version - Convert License tag to SPDX * Sat Jul 23 2022 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 09 2022 Aleksei Bavshin - 0.6.0-1 - Update to 0.6.0 * Sat Jan 22 2022 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 05 2021 Aleksei Bavshin - 0.5.0-1 - Update to 0.5.0 * Wed Nov 03 2021 Aleksei Bavshin - 0.4.0-3 - Apply upstream patch for invalid screencast node_id (#2008645) * Fri Jul 23 2021 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 01 2021 Aleksei Bavshin - 0.4.0-1 - Update to 0.4.0 * Sun Apr 18 2021 Aleksei Bavshin - 0.3.0-1 - Update to 0.3.0 * Mon Feb 15 2021 Aleksei Bavshin - 0.2.0-1 - Update to 0.2.0 - Drop versioned pipewire dependency: all supported Fedora releases have required version. * Wed Jan 27 2021 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed May 06 2020 Aleksei Bavshin - 0.1.0-1 - Initial import (#1831981)