grilo: add setup hook for grilo plugins

This commit is contained in:
Luca Bruno 2015-07-29 11:15:35 +00:00
parent 763fda70f0
commit ed3c294e75
2 changed files with 9 additions and 0 deletions

View file

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m";
};
setupHook = ./setup-hook.sh;
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
preConfigure = ''

View file

@ -0,0 +1,7 @@
make_grilo_find_plugins() {
if [ -d "$1"/lib/grilo-0.2 ]; then
addToSearchPath GRL_PLUGIN_PATH "$1/lib/grilo-0.2"
fi
}
envHooks+=(make_grilo_find_plugins)