Introduce Hyprland GUI utils package
All checks were successful
Build hyprland-guiutils / Build and push image (push) Successful in 2m26s
All checks were successful
Build hyprland-guiutils / Build and push image (push) Successful in 2m26s
This commit is contained in:
32
.gitea/workflows/build-hyprland-guiutils.yml
Normal file
32
.gitea/workflows/build-hyprland-guiutils.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Build hyprland-guiutils
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- .gitea/workflows/build-hyprland-guiutils.yml
|
||||
- "hyprland-guiutils.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-guiutils.spec
|
||||
repository-user: eriq12
|
||||
repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}
|
||||
54
hyprland-guiutils.spec
Normal file
54
hyprland-guiutils.spec
Normal file
@@ -0,0 +1,54 @@
|
||||
Name: hyprland-guiutils
|
||||
Version: 0.2.0
|
||||
Release: %autorelease
|
||||
Summary: Hyprland Qt/qml utility apps
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/hyprwm/hyprland-guiutils
|
||||
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
BuildRequires: cmake(Qt6Quick)
|
||||
BuildRequires: cmake(Qt6QuickControls2)
|
||||
BuildRequires: cmake(Qt6WaylandClient)
|
||||
BuildRequires: cmake(Qt6Widgets)
|
||||
BuildRequires: qt6-qtbase-private-devel
|
||||
BuildRequires: pkgconfig(hyprlang)
|
||||
BuildRequires: pkgconfig(hyprtoolkit)
|
||||
BuildRequires: pkgconfig(pixman-1)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(hyprutils)
|
||||
BuildRequires: wayland-devel
|
||||
|
||||
Requires: hyprland-qt-support%{?_isa}
|
||||
|
||||
Obsoletes: hyprland-qtutils <= 0.1.5
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/hyprland-dialog
|
||||
%{_bindir}/hyprland-donate-screen
|
||||
%{_bindir}/hyprland-run
|
||||
%{_bindir}/hyprland-update-screen
|
||||
%{_bindir}/hyprland-welcome
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user