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

10 lines
243 B
Bash

addGstreamer1LibPath () {
if test -d "$1/lib/gstreamer-1.0"
then
export GST_PLUGIN_SYSTEM_PATH_1_0="${GST_PLUGIN_SYSTEM_PATH_1_0}${GST_PLUGIN_SYSTEM_PATH_1_0:+:}$1/lib/gstreamer-1.0"
fi
}
envHooks+=(addGstreamer1LibPath)