grilo: add setup hook for grilo plugins
This commit is contained in:
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m";
|
sha256 = "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
|
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|||||||
@@ -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)
|
||||||
Reference in New Issue
Block a user