Introduce hyprpaper package
All checks were successful
Build hyprpaper / Build and push image (push) Successful in 2m1s

This commit is contained in:
2025-12-04 16:05:35 -05:00
parent 36e264ee3a
commit cc4b742eff
2 changed files with 90 additions and 0 deletions

58
hyprpaper.spec Normal file
View File

@@ -0,0 +1,58 @@
Name: hyprpaper
Version: 0.7.6
Release: %autorelease
Summary: Blazing fast wayland wallpaper utility with IPC controls
# LICENSE: BSD-3-Clause
# protocols/wlr-layer-shell-unstable-v1.xml: HPND-sell-variant
License: BSD-3-Clause AND HPND-sell-variant
URL: https://github.com/hyprwm/hyprpaper
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(hyprgraphics)
BuildRequires: pkgconfig(hyprlang)
BuildRequires: pkgconfig(hyprutils)
BuildRequires: pkgconfig(hyprwayland-scanner)
BuildRequires: pkgconfig(libmagic)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
%description
Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability
to dynamically change wallpapers through sockets. It will work on all
wlroots-based compositors, though.
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%post
%systemd_user_post %{name}.service
%preun
%systemd_user_preun %{name}.service
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_userunitdir}/%{name}.service
%changelog
%autochangelog