nixpkgs/pkgs/development/libraries/gstreamer/legacy/gstreamer/setup-hook.sh
2014-08-09 12:47:05 +02:00

8 lines
230 B
Bash

addGstreamerLibPath () {
if test -d "$1/lib/gstreamer-0.10"
then
export GST_PLUGIN_SYSTEM_PATH="${GST_PLUGIN_SYSTEM_PATH}${GST_PLUGIN_SYSTEM_PATH:+:}$1/lib/gstreamer-0.10"
fi
}
envHooks+=(addGstreamerLibPath)