Skip to content

Commit

Permalink
Merge pull request #20 from jhenstridge/pipewire-env
Browse files Browse the repository at this point in the history
desktop-exports: point pipewire config and module dirs at the runtime
  • Loading branch information
kenvandine authored Dec 21, 2023
2 parents 33a725d + bd462de commit 29db6a3
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 29db6a3

Please sign in to comment.