mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit bc06f95358)
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
enable falcond.service
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user