summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer/core/setup-hook.sh
blob: 04863ab3b6128c5cb5e0381f5d107308cf169079 (plain) (blame)
1
2
3
4
5
6
7
8
9
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=(${envHooks[@]} addGstreamer1LibPath)