Introduce Hyprland protocols packages
All checks were successful
Build hyprland-protocols / Build and push image (push) Successful in 1m3s

This commit is contained in:
2025-12-03 19:54:42 -05:00
parent 0127446e9e
commit 39905d4370
2 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
name: Build hyprland-protocols
on:
push:
branches:
- main
paths:
- .gitea/workflows/build-hyprland-protocols.yml
- "hyprland-protocols.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: ./hyprland-protocols.spec
repository-user: eriq12
repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}

44
hyprland-protocols.spec Normal file
View File

@@ -0,0 +1,44 @@
Name: hyprland-protocols
Version: 0.7.0
Release: %autorelease
Summary: Wayland protocol extensions for Hyprland
BuildArch: noarch
License: BSD-3-Clause
URL: https://github.com/hyprwm/hyprland-protocols
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: meson
%description
%{summary}.
%package devel
Summary: Wayland protocol extensions for Hyprland
%description devel
%{summary}.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%files devel
%license LICENSE
%doc README.md
%{_datadir}/pkgconfig/%{name}.pc
%{_datadir}/%{name}/
%changelog
%autochangelog