From bdb10d118512dd742e61eb58ba5ef7d664531944 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 29 Nov 2023 12:21:05 -0800 Subject: [PATCH] fix(deck): Patch path to ladspa plugin in steamdeck-dsp --- spec_files/steamdeck-dsp/fedora.patch | 11 +++++++++++ spec_files/steamdeck-dsp/steamdeck-dsp.spec | 7 ++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 spec_files/steamdeck-dsp/fedora.patch diff --git a/spec_files/steamdeck-dsp/fedora.patch b/spec_files/steamdeck-dsp/fedora.patch new file mode 100644 index 00000000..c07cfc3c --- /dev/null +++ b/spec_files/steamdeck-dsp/fedora.patch @@ -0,0 +1,11 @@ +--- a/pipewire-confs/filter-chain-mic.conf ++++ b/pipewire-confs/filter-chain-mic.conf +@@ -14,7 +14,7 @@ + { + type = ladspa + name = rnnoise +- plugin = /usr/lib/ladspa/librnnoise_ladspa.so ++ plugin = /usr/lib64/ladspa/librnnoise_ladspa.so + label = noise_suppressor_stereo + control = { + "VAD Threshold (%)" = 23.0 diff --git a/spec_files/steamdeck-dsp/steamdeck-dsp.spec b/spec_files/steamdeck-dsp/steamdeck-dsp.spec index fbbd5214..082fb244 100644 --- a/spec_files/steamdeck-dsp/steamdeck-dsp.spec +++ b/spec_files/steamdeck-dsp/steamdeck-dsp.spec @@ -6,8 +6,8 @@ License: GPLv2 URL: https://github.com/ublue-os/bazzite Source: https://gitlab.com/evlaV/valve-hardware-audio-processing/-/archive/main/valve-hardware-audio-processing-main.tar.gz -Requires: ladspa -Requires: boost +Patch0: fedora.patch + Requires: ladspa-caps-plugins Requires: ladspa-noise-suppression-for-voice @@ -26,7 +26,8 @@ Steamdeck Audio Processing %define debug_package %{nil} %prep -%autosetup -n valve-hardware-audio-processing-main +%setup -n valve-hardware-audio-processing-main +%patch 0 -p1 %build %make_build FAUSTINC="/usr/include/faust" FAUSTLIB="/usr/share/faust"