From 3d3770d132e03ac5641b466ab13e234f8d9fb062 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 20 Jun 2025 08:31:56 -0700 Subject: [PATCH] chore(falcond): Update based on discussion with the dev (#5591) (#5595) (cherry picked from commit bc06f953581a6d9b4aec6387322b54986468cc98) Co-authored-by: Gilver --- anda/system/falcond/falcond.preset | 1 + anda/system/falcond/falcond.spec | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 anda/system/falcond/falcond.preset diff --git a/anda/system/falcond/falcond.preset b/anda/system/falcond/falcond.preset new file mode 100644 index 0000000000..ab43d0cb0b --- /dev/null +++ b/anda/system/falcond/falcond.preset @@ -0,0 +1 @@ +enable falcond.service diff --git a/anda/system/falcond/falcond.spec b/anda/system/falcond/falcond.spec index 55ce4b8c55..b3b5cffc3d 100644 --- a/anda/system/falcond/falcond.spec +++ b/anda/system/falcond/falcond.spec @@ -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. %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. - 1.1.5-2 +- Enable service by default +- Enable aarch64 CPU features * Thu Jun 19 2025 Gilver E. - 1.1.5-1 - Initial package