[neon/snap-packaging/snapcraft-desktop-integration] common: Fix gstreamer plugin path.

Scarlett Moore null at kde.org
Wed Jul 24 11:26:29 BST 2024


Git commit 7e395c5f1fc844ac033ec39833f535c5f1cb97cd by Scarlett Moore.
Committed on 24/07/2024 at 10:26.
Pushed by scarlettmoore into branch 'master'.

Fix gstreamer plugin path.

M  +1    -1    common/desktop-exports

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/7e395c5f1fc844ac033ec39833f535c5f1cb97cd

diff --git a/common/desktop-exports b/common/desktop-exports
index 78802e4..6001d69 100644
--- a/common/desktop-exports
+++ b/common/desktop-exports
@@ -123,7 +123,7 @@ prepend_dir __EGL_VENDOR_LIBRARY_DIRS "/var/lib/snapd/lib/glvnd/egl_vendor.d"
 append_dir __EGL_VENDOR_LIBRARY_DIRS "$SNAP_DESKTOP_RUNTIME/usr/share/glvnd/egl_vendor.d"
 
 # Tell GStreamer where to find its plugins
-export GST_PLUGIN_PATH="$SNAP/usr/lib/$ARCH/gstreamer-1.0"
+export GST_PLUGIN_PATH="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/gstreamer-1.0"
 export GST_PLUGIN_SYSTEM_PATH="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/gstreamer-1.0"
 # gst plugin scanner doesn't install in the correct path: https://github.com/ubuntu/snapcraft-desktop-helpers/issues/43
 export GST_PLUGIN_SCANNER="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"


More information about the Neon-commits mailing list