# # spec file for package mise # # Copyright (c) 2024 Jo Carllyle # # Please submit bugfixes or comments via https://github.com/calyle/rpm-spec-templates # Name: xdg-desktop-portal-hyprland Version: 1.3.12 Release: 1%{?dist} Summary: xdg-desktop-portal backend for hyprland # xdg-desktop-portal-hyprland: BSD-3-Clause # protocols/wlr-foreign-toplevel-management-unstable-v1.xml: HPND-sell-variant License: BSD-3-Clause AND HPND-sell-variant URL: https://github.com/hyprwm/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(hyprland-protocols) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: pkgconfig(sdbus-c++) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(hyprwayland-scanner) BuildRequires: pkgconfig(hyprutils) Requires: dbus-common Requires: dbus # required for Screenshot portal implementation Requires: grim Requires: xdg-desktop-portal # required for hyprland-share-picker Requires: slurp Requires: qt6-qtwayland Enhances: hyprland Supplements: hyprland %description %{summary}. %prep %autosetup -N %build %cmake -G Ninja -DBUILD_SHARED_LIBS:BOOL=OFF %cmake_build %install %cmake_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license LICENSE %doc contrib/config.sample %{_bindir}/hyprland-share-picker %{_libexecdir}/%{name} %{_datadir}/xdg-desktop-portal/portals/hyprland.portal %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service %{_userunitdir}/%{name}.service %changelog * Sat Apr 25 2026 Jo Carllyle <96739684+calyle@users.noreply.github.com> - See GitHub for full changelog