Name: xdg-desktop-portal-hyprland Epoch: 1 Version: 1.4.1 Release: %autorelease Summary: XDG Desktop Portal backend for Hyprland License: BSD-3-Clause URL: https://github.com/hyprwm/xdg-desktop-portal-hyprland Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch: https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/b653ab53a435e92cc00f34771e6823bc59f2f740.patch Patch: https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/688feb3d88404598f12440a668136e74044391de.patch BuildRequires: cmake >= 3.19 BuildRequires: gcc-c++ BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(hyprland-protocols) BuildRequires: pkgconfig(hyprlang) >= 0.2.0 BuildRequires: pkgconfig(hyprutils) >= 0.2.6 BuildRequires: pkgconfig(hyprwayland-scanner) >= 0.4.2 BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libpipewire-0.3) >= 1.1.82 BuildRequires: pkgconfig(libspa-0.2) BuildRequires: pkgconfig(sdbus-c++) >= 2.0.0 BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-scanner) Requires: grim Requires: qt6-qtwayland Requires: slurp Requires: xdg-desktop-portal Recommends: hyprpicker Enhances: hyprland Supplements: hyprland Supplements: hyprland-git %description %{name} is an XDG Desktop Portal backend for Hyprland. It provides Hyprland-specific portal implementations for desktop integration, including screen capture and screenshot support. %prep %autosetup -p1 %build %cmake \ -DSYSTEMD_SERVICES:BOOL=ON %cmake_build %install %cmake_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license LICENSE %doc README.md %{_bindir}/hyprland-share-picker %{_libexecdir}/%{name} %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service %{_datadir}/xdg-desktop-portal/portals/hyprland.portal %{_userunitdir}/%{name}.service %changelog %autochangelog