Introduce hyprpaper package
All checks were successful
Build hyprpaper / Build and push image (push) Successful in 2m1s
All checks were successful
Build hyprpaper / Build and push image (push) Successful in 2m1s
This commit is contained in:
32
.gitea/workflows/build-hyprpaper.yml
Normal file
32
.gitea/workflows/build-hyprpaper.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: Build hyprpaper
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .gitea/workflows/build-hyprpaper.yml
|
||||||
|
- "hyprpaper.spec"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_push:
|
||||||
|
name: Build and push image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Setup environment
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y podman iptables
|
||||||
|
|
||||||
|
# These stage versions are pinned by https://github.com/renovatebot/renovate
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6 # v5
|
||||||
|
|
||||||
|
- name: Build RPM and Upload
|
||||||
|
uses: https://git.hydrosaber.com/hydros/build-rpm@main
|
||||||
|
with:
|
||||||
|
spec-file-path: ./hyprpaper.spec
|
||||||
|
repository-user: eriq12
|
||||||
|
repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}
|
||||||
58
hyprpaper.spec
Normal file
58
hyprpaper.spec
Normal 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
|
||||||
Reference in New Issue
Block a user