firefox-wrapper: use gstreamer hook
This commit is contained in:
parent
effaa51680
commit
e177e90b9b
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
|||||||
categories = "Application;Network;WebBrowser;";
|
categories = "Application;Network;WebBrowser;";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [makeWrapper];
|
buildInputs = [makeWrapper] ++ gst_plugins;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
if [ ! -x "${browser}/bin/${browserName}" ]
|
if [ ! -x "${browser}/bin/${browserName}" ]
|
||||||
@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
|||||||
--suffix-each LD_LIBRARY_PATH ':' "$libs" \
|
--suffix-each LD_LIBRARY_PATH ':' "$libs" \
|
||||||
--suffix-each GTK_PATH ':' "$gtk_modules" \
|
--suffix-each GTK_PATH ':' "$gtk_modules" \
|
||||||
--suffix-each LD_PRELOAD ':' "$(cat $(filterExisting $(addSuffix /extra-ld-preload $plugins)))" \
|
--suffix-each LD_PRELOAD ':' "$(cat $(filterExisting $(addSuffix /extra-ld-preload $plugins)))" \
|
||||||
--suffix-each GST_PLUGIN_PATH ':' "$gst_plugins" \
|
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \
|
||||||
--prefix-contents PATH ':' "$(filterExisting $(addSuffix /extra-bin-path $plugins))"
|
--prefix-contents PATH ':' "$(filterExisting $(addSuffix /extra-bin-path $plugins))"
|
||||||
|
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
@ -49,7 +49,6 @@ stdenv.mkDerivation {
|
|||||||
# where to find the plugin in its tree.
|
# where to find the plugin in its tree.
|
||||||
plugins = map (x: x + x.mozillaPlugin) plugins;
|
plugins = map (x: x + x.mozillaPlugin) plugins;
|
||||||
libs = map (x: x + "/lib") libs ++ map (x: x + "/lib64") libs;
|
libs = map (x: x + "/lib") libs ++ map (x: x + "/lib64") libs;
|
||||||
gst_plugins = map (x: x + "/lib/gstreamer-0.10") gst_plugins;
|
|
||||||
gtk_modules = map (x: x + x.gtkModule) gtk_modules;
|
gtk_modules = map (x: x + x.gtkModule) gtk_modules;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user