libextractor: use ffmpeg instead of ffmpeg_3 (#123344)
This commit is contained in:
parent
16f2ed30d2
commit
1f065cafc9
|
@ -13,11 +13,11 @@
|
||||||
# '';
|
# '';
|
||||||
# See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
|
# See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
|
||||||
, gtkSupport ? true, glib ? null, gtk3 ? null
|
, gtkSupport ? true, glib ? null, gtk3 ? null
|
||||||
, videoSupport ? true, ffmpeg_3 ? null, libmpeg2 ? null}:
|
, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
|
||||||
|
|
||||||
assert gstreamerSupport -> gst_all_1 != null && builtins.isList (gstPlugins gst_all_1);
|
assert gstreamerSupport -> gst_all_1 != null && builtins.isList (gstPlugins gst_all_1);
|
||||||
assert gtkSupport -> glib != null && gtk3 != null;
|
assert gtkSupport -> glib != null && gtk3 != null;
|
||||||
assert videoSupport -> ffmpeg_3 != null && libmpeg2 != null;
|
assert videoSupport -> ffmpeg != null && libmpeg2 != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libextractor";
|
pname = "libextractor";
|
||||||
|
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optionals gstreamerSupport
|
] ++ lib.optionals gstreamerSupport
|
||||||
([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
|
([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
|
||||||
++ lib.optionals gtkSupport [ glib gtk3 ]
|
++ lib.optionals gtkSupport [ glib gtk3 ]
|
||||||
++ lib.optionals videoSupport [ ffmpeg_3 libmpeg2 ];
|
++ lib.optionals videoSupport [ ffmpeg libmpeg2 ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-ltdl-install"
|
"--disable-ltdl-install"
|
||||||
|
|
Loading…
Reference in New Issue