From d8d62900e41726a1867b3094c0f17ae57ddd4183 Mon Sep 17 00:00:00 2001 From: Kinsteen Date: Sat, 14 Jan 2023 20:03:28 +0100 Subject: [PATCH] backend: Add runner libs to fix embedded GStreamer not finding them (#2525) Add runner libs to fix embedded GStreamer not finding them --- bottles/backend/wine/winecommand.py | 3 +++ com.usebottles.bottles.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/bottles/backend/wine/winecommand.py b/bottles/backend/wine/winecommand.py index ae75da20604..32e7c685c63 100644 --- a/bottles/backend/wine/winecommand.py +++ b/bottles/backend/wine/winecommand.py @@ -230,6 +230,8 @@ def get_env(self, environment: dict = None, return_steam_env: bool = False, retu runner_path = ManagerUtils.get_runner_path(config.get("Runner")) if arch == "win64": runner_libs = [ + "lib", + "lib64", "lib/wine/x86_64-unix", "lib32/wine/x86_64-unix", "lib64/wine/x86_64-unix", @@ -244,6 +246,7 @@ def get_env(self, environment: dict = None, return_steam_env: bool = False, retu ] else: runner_libs = [ + "lib", "lib/wine/i386-unix", "lib32/wine/i386-unix", "lib64/wine/i386-unix" diff --git a/com.usebottles.bottles.yml b/com.usebottles.bottles.yml index 19deff1e84e..6c9d19706fa 100644 --- a/com.usebottles.bottles.yml +++ b/com.usebottles.bottles.yml @@ -20,6 +20,7 @@ finish-args: - --system-talk-name=org.freedesktop.UDisks2 - --env=LD_LIBRARY_PATH=/app/lib:/app/lib32 - --env=PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/usr/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin/ + - --env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/app/lib32/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0 - --require-version=1.1.2 inherit-extensions: