treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that used `ffmpeg` without requiring a specific version now use ffmpeg_3 explicitly so they shouldn't change.
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
# '';
|
||||
# See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
|
||||
, gtkSupport ? true, glib ? null, gtk3 ? null
|
||||
, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
|
||||
, videoSupport ? true, ffmpeg_3 ? null, libmpeg2 ? null}:
|
||||
|
||||
assert gstreamerSupport -> gst_all_1 != null && builtins.isList (gstPlugins gst_all_1);
|
||||
assert gtkSupport -> glib != null && gtk3 != null;
|
||||
assert videoSupport -> ffmpeg != null && libmpeg2 != null;
|
||||
assert videoSupport -> ffmpeg_3 != null && libmpeg2 != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libextractor-1.9";
|
||||
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ stdenv.lib.optionals gstreamerSupport
|
||||
([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
|
||||
++ stdenv.lib.optionals gtkSupport [ glib gtk3 ]
|
||||
++ stdenv.lib.optionals videoSupport [ ffmpeg libmpeg2 ];
|
||||
++ stdenv.lib.optionals videoSupport [ ffmpeg_3 libmpeg2 ];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-ltdl-install"
|
||||
|
||||
Reference in New Issue
Block a user