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"