mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
compile matugen from sources instead of installing it from copr
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
# Original-Spec: https://copr-dist-git.fedorainfracloud.org/packages/errornointernet/quickshell/quickshell-git.git/plain/quickshell-git.spec?h=master
|
||||||
|
|
||||||
|
%global commit e65259d68edc034905da477b6c1a349e89e2aa8d
|
||||||
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
%global commits 719
|
||||||
|
%global snapdate 20260213
|
||||||
|
%global tag 4.0.0
|
||||||
|
|
||||||
|
Name: matugen
|
||||||
|
Version: %{tag}^%{commits}.%{shortcommit}
|
||||||
|
Release: 0%{?dist}
|
||||||
|
Summary: A cross-platform material you and base16 color generation tool
|
||||||
|
|
||||||
|
License: GPL-2.0
|
||||||
|
URL: https://github.com/InioX/matugen
|
||||||
|
Source0: %{url}/archive/%{commit}/matugen-%{shortcommit}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: rust-packaging
|
||||||
|
BuildRequires: cargo
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
%description
|
||||||
|
Flexible toolkit for making desktop shells with QtQuick, targeting
|
||||||
|
Wayland and X11.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n matugen-%{commit} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 target/release/matugen %{buildroot}%{_bindir}/matugen
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/matugen
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
||||||
@@ -68,7 +68,6 @@ packages = [
|
|||||||
"fish",
|
"fish",
|
||||||
"fontconfig",
|
"fontconfig",
|
||||||
"kitty",
|
"kitty",
|
||||||
"matugen",
|
|
||||||
"florian-karsten-space-grotesk-fonts",
|
"florian-karsten-space-grotesk-fonts",
|
||||||
"starship",
|
"starship",
|
||||||
"jetbrains-mono-nerd-fonts",
|
"jetbrains-mono-nerd-fonts",
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ function install_RPMS() {
|
|||||||
"$rpm_specs/cpptrace.spec"
|
"$rpm_specs/cpptrace.spec"
|
||||||
"$rpm_specs/quickshell-git.spec"
|
"$rpm_specs/quickshell-git.spec"
|
||||||
"$rpm_specs/hyprland-qt-support.spec"
|
"$rpm_specs/hyprland-qt-support.spec"
|
||||||
|
"$rpm_specs/matugen.spec"
|
||||||
)
|
)
|
||||||
for spec_file in ${local_specs[@]}; do
|
for spec_file in ${local_specs[@]}; do
|
||||||
# Download sources
|
# Download sources
|
||||||
|
|||||||
Reference in New Issue
Block a user