chore(falcond): Update based on discussion with the dev (#5591) (#5595)

(cherry picked from commit bc06f95358)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-06-20 08:31:56 -07:00
committed by GitHub
parent 1b732a47a4
commit 3d3770d132
2 changed files with 12 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
enable falcond.service
+11 -3
View File
@@ -2,11 +2,12 @@
Name: falcond
Version: 1.1.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Advanced Linux Gaming Performance Daemon
License: MIT
URL: https://git.pika-os.com/general-packages/falcond
Source0: %{url}/archive/v%{version}.tar.gz
Source1: %{name}.preset
BuildRequires: anda-srpm-macros >= 0.2.18
BuildRequires: systemd-rpm-macros
BuildRequires: zig >= 0.14.0
@@ -17,7 +18,9 @@ Conflicts: gamemode
Packager: Gilver E. <rockgrub@disroot.org>
%description
falcond is a powerful system daemon designed to automatically optimize your Linux gaming experience. It intelligently manages system resources and performance settings on a per-game basis, eliminating the need to manually configure settings for each game.
falcond is a powerful system daemon designed to automatically optimize your Linux gaming experience.
It intelligently manages system resources and performance settings on a per-game basis.
This eliminates the need to manually configure settings for each game.
%prep
%autosetup -n %{name}/%{name}
@@ -26,9 +29,10 @@ falcond is a powerful system daemon designed to automatically optimize your Linu
%install
install -Dm644 debian/%{name}.service -t %{buildroot}%{_unitdir}
install -Dm644 %{SOURCE1} %{buildroot}%{_presetdir}/60-%{name}.preset
# When DNF supports microarchitectures the fallback option for -c can be used here instead
DESTDIR="%{buildroot}" \
%ifarch x86_64 x86_64_v2 x86_64_v3 x86_64_v4
%ifarch x86_64
%{zig_build_target -r fast -c x86_64_v3 -s} \
%elifarch aarch64
%{zig_build_target -r fast -s} \
@@ -48,7 +52,11 @@ DESTDIR="%{buildroot}" \
%license ../LICENSE
%{_bindir}/%{name}
%{_unitdir}/%{name}.service
%{_presetdir}/60-%{name}.preset
%changelog
* Fri Jun 20 2025 Gilver E. <rockgrub@disroot.org> - 1.1.5-2
- Enable service by default
- Enable aarch64 CPU features
* Thu Jun 19 2025 Gilver E. <rockgrub@disroot.org> - 1.1.5-1
- Initial package