mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-01 03:21:41 +00:00
chore: Add patch to change behavior of steamdeck-dsp wireplumber config script
This commit is contained in:
parent
0b3eb4682d
commit
71b615fc24
57
spec_files/steamdeck-dsp/bazzite.patch
Normal file
57
spec_files/steamdeck-dsp/bazzite.patch
Normal file
@ -0,0 +1,57 @@
|
||||
--- a/wireplumber/hardware-profiles/wireplumber-hwconfig
|
||||
+++ b/wireplumber/hardware-profiles/wireplumber-hwconfig
|
||||
@@ -45,39 +45,23 @@
|
||||
install_hwprofile ()
|
||||
{
|
||||
local -r prpath="$1"
|
||||
- local -r runconf=/run/wireplumber
|
||||
+ local -r confdir=/usr/share/wireplumber
|
||||
local confd
|
||||
local conffile
|
||||
|
||||
- echo "Installing wireplumber hardware profile from '$prpath' in $runconf"
|
||||
-
|
||||
- rm -rf $runconf
|
||||
+ echo "Installing wireplumber hardware profile from '$prpath' in $confdir"
|
||||
|
||||
for confd in "${confdirs[@]}"
|
||||
do
|
||||
if [ -d "$prpath"/"$confd" ]
|
||||
then
|
||||
- mkdir -p $runconf/"$confd"
|
||||
+ mkdir -p $confdir/"$confd"
|
||||
for conffile in "$prpath"/"$confd"/*.lua
|
||||
do
|
||||
- cp -av $conffile $runconf/"$confd"
|
||||
+ /usr/bin/cp -avf $conffile $confdir/"$confd"
|
||||
done
|
||||
fi
|
||||
done
|
||||
-
|
||||
- cat - <<EOF > $runconf/README
|
||||
-This configuration was:
|
||||
-
|
||||
- - installed in $runconf
|
||||
- - by $0
|
||||
- - from $prpath
|
||||
-
|
||||
-It will be regenerated every time the system restarts.
|
||||
-
|
||||
-To alter it permanently either:
|
||||
- - edit $prpath
|
||||
- - override in \$XDG_CONFIG_DIR/wireplumber/
|
||||
-EOF
|
||||
}
|
||||
|
||||
unidentified ()
|
||||
--- a/wireplumber/systemd/system/multi-user.target.wants/wireplumber-sysconf.service
|
||||
+++ b/wireplumber/systemd/system/multi-user.target.wants/wireplumber-sysconf.service
|
||||
@@ -11,7 +11,7 @@
|
||||
Description=Hardware Specific Wireplumber Configuration
|
||||
After=multi-user.target
|
||||
Requisite=multi-user.target
|
||||
-ConditionPathIsDirectory=/run
|
||||
+Requires=wireplumber-workaround.service
|
||||
Before=shutdown.target
|
||||
|
||||
[Service]
|
@ -7,6 +7,7 @@ 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
|
||||
|
||||
Patch0: fedora.patch
|
||||
Patch1: bazzite.patch
|
||||
|
||||
Requires: pipewire-module-filter-chain-lv2
|
||||
Requires: ladspa-noise-suppression-for-voice
|
||||
|
Loading…
Reference in New Issue
Block a user