sound-juicer: use gstreamer setup hook
This commit is contained in:
parent
4b31f51e7d
commit
bac36baf5b
|
@ -5,11 +5,6 @@
|
||||||
let
|
let
|
||||||
major = "3.16";
|
major = "3.16";
|
||||||
minor = "1";
|
minor = "1";
|
||||||
GST_PLUGIN_PATH = stdenv.lib.makeSearchPath "lib/gstreamer-1.0" [
|
|
||||||
gst_all_1.gst-plugins-base
|
|
||||||
gst_all_1.gst-plugins-good
|
|
||||||
gst_all_1.gst-plugins-bad
|
|
||||||
gst_all_1.gst-libav ];
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "${major}.${minor}";
|
version = "${major}.${minor}";
|
||||||
|
@ -24,15 +19,16 @@ in stdenv.mkDerivation rec {
|
||||||
gnome3.gsettings_desktop_schemas libmusicbrainz5 libdiscid isocodes
|
gnome3.gsettings_desktop_schemas libmusicbrainz5 libdiscid isocodes
|
||||||
makeWrapper gnome3.dconf
|
makeWrapper gnome3.dconf
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ];
|
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
|
||||||
|
gst_all_1.gst-libav
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
for f in $out/bin/* $out/libexec/*; do
|
for f in $out/bin/* $out/libexec/*; do
|
||||||
wrapProgram "$f" \
|
wrapProgram "$f" \
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
||||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
||||||
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules" \
|
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules"
|
||||||
--prefix GST_PLUGIN_PATH : "${GST_PLUGIN_PATH}"
|
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue