mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gstreamer-1.0: use different function name for env hook than gstreamer-0.10
This commit is contained in:
parent
5dfc6584a5
commit
d912cdf264
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
addGstreamerLibPath () {
|
||||
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[@]} addGstreamerLibPath)
|
||||
envHooks=(${envHooks[@]} addGstreamer1LibPath)
|
||||
|
||||
|
|
Loading…
Reference in a new issue