Introduce hyprlauncher package
All checks were successful
Build hyprlauncher / Build and push image (push) Successful in 3m9s

This commit is contained in:
2025-12-22 13:16:51 -05:00
parent 15d53e7f82
commit 91cff8389a
2 changed files with 81 additions and 0 deletions

View File

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

49
hyprlauncher.spec Normal file
View File

@@ -0,0 +1,49 @@
Name: hyprlauncher
Version: 0.1.3
Release: %autorelease
Summary: A multipurpose and versatile launcher / picker for Hyprland
License: BSD-3-Clause
URL: https://github.com/hyprwm/hyprlauncher
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: pkgconfig(hyprlang)
BuildRequires: pkgconfig(hyprtoolkit)
BuildRequires: pkgconfig(hyprutils)
BuildRequires: pkgconfig(hyprwire)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libqalculate)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(xkbcommon)
Requires: wl-clipboard
%description
%{summary}.
%prep
%autosetup -p1
%build
%cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=Release
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog
%autochangelog