Skip to content

Commit

Permalink
desktop-exports: point pipewire config and module dirs at the runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenstridge committed Nov 23, 2023
1 parent 33a725d commit bd462de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/desktop-exports
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ append_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/pulseaudio"
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 Pipewire where to find its configuration and plugins
export PIPEWIRE_CONFIG_DIR="$SNAP_DESKTOP_RUNTIME/usr/share/pipewire"
export PIPEWIRE_MODULE_DIR="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/pipewire-0.3"
export SPA_PLUGIN_DIR="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/spa-0.2"

# Tell GStreamer where to find its plugins
export GST_PLUGIN_PATH="$SNAP/usr/lib/$ARCH/gstreamer-1.0"
export GST_PLUGIN_SYSTEM_PATH="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/gstreamer-1.0"
Expand Down

0 comments on commit bd462de

Please sign in to comment.