From 203282068e7404fff26132f686480ebc00e9859f Mon Sep 17 00:00:00 2001 From: Sergio Schvezov Date: Fri, 26 Jun 2020 16:51:30 -0300 Subject: [PATCH] extensions: export content snap egl vendor dir Also remove conditional check on the "base" vendor directory as append_dir already takes care of directory existence. Signed-off-by: Sergio Schvezov Co-authored-by: Ken VanDine --- extensions/desktop/common/desktop-exports | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/desktop/common/desktop-exports b/extensions/desktop/common/desktop-exports index 76c1643b77..81371d105e 100644 --- a/extensions/desktop/common/desktop-exports +++ b/extensions/desktop/common/desktop-exports @@ -99,8 +99,8 @@ append_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/libunity" append_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/pulseaudio" # EGL vendor files on glvnd enabled systems -[ -d /var/lib/snapd/lib/glvnd/egl_vendor.d ] && \ - append_dir __EGL_VENDOR_LIBRARY_DIRS "/var/lib/snapd/lib/glvnd/egl_vendor.d" +append_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"