diff --git a/spec_files/galileo-mura/galileo-mura.spec b/spec_files/galileo-mura/galileo-mura.spec index 3fc9b53c..fadfe76e 100644 --- a/spec_files/galileo-mura/galileo-mura.spec +++ b/spec_files/galileo-mura/galileo-mura.spec @@ -8,6 +8,7 @@ URL: https://github.com/ublue-os/bazzite Source: https://gitlab.com/evlaV/galileo-mura-extractor/-/archive/main/galileo-mura-extractor-main.tar.gz Patch0: fedora.patch +Patch1: valve.patch BuildRequires: systemd-rpm-macros BuildRequires: gcc diff --git a/spec_files/galileo-mura/valve.patch b/spec_files/galileo-mura/valve.patch new file mode 100644 index 00000000..6f9a72ce --- /dev/null +++ b/spec_files/galileo-mura/valve.patch @@ -0,0 +1,11 @@ +--- a/galileo-mura-setup ++++ b/galileo-mura-setup +@@ -16,7 +16,7 @@ + deck_serial=${deck_serial^^} + manufacturer=$(sed -n 's/.*Manufacturer: \(.*\)/\1/p' < /tmp/mura/info.txt) + +-mura_base_path=/home/deck/.config/gamescope/mura ++mura_base_path="${XDG_CONFIG_HOME:-$HOME/.config}/gamescope/mura" + mkdir -p "$mura_base_path" + + if [ "$manufacturer" != "SDC" ]; then