git.iko.soy/typeable/nixpkgs
on master help sign in
handbrake: switch to libav_12 (#38811)
commit7e31e4554fccf5ea891bbad6f19b56866c27cd99 authorAnton Latukha <anton.latukha@gmail.com> dateTue 17 Apr 2018, 22:00 (9 years ago) parentd020809
1 file changed+9−6
pkgs/applications/video/handbrake/default.nix+9−6
pkgs/applications/video/handbrake/default.nix+9−6
@@ -14,12 +14,14 @@
1414 autoconf, automake, cmake, libtool, m4, jansson,
1515 libass, libiconv, libsamplerate, fribidi, libxml2, bzip2,
1616 libogg, libopus, libtheora, libvorbis, libdvdcss, a52dec,
17− lame, ffmpeg, libdvdread, libdvdnav, libbluray,
17+ lame, libdvdread, libdvdnav, libbluray,
1818 mp4v2, mpeg2dec, x264, x265, libmkv,
1919 fontconfig, freetype, hicolor-icon-theme,
2020 glib, gtk3, intltool, libnotify,
2121 gst_all_1, dbus-glib, udev, libgudev, libvpx,
22− useGtk ? true, wrapGAppsHook ? null, libappindicator-gtk3 ? null, useFdk ? false, fdk_aac ? null
22+ useGtk ? true, wrapGAppsHook ? null, libappindicator-gtk3 ? null,
23+ useFfmpeg ? false, libav_12 ? null, ffmpeg ? null,
24+ useFdk ? false, fdk_aac ? null
2325}:
2426
2527stdenv.mkDerivation rec {
@@ -35,20 +37,21 @@ stdenv.mkDerivation rec {
3537
3638 nativeBuildInputs = [
3739 cmake python2 pkgconfig yasm autoconf automake libtool m4
38− ] ++ (lib.optionals useGtk [
40+ ] ++ lib.optionals useGtk [
3941 intltool wrapGAppsHook
40− ]);
42+ ];
4143
4244 buildInputs = [
4345 fribidi fontconfig freetype jansson zlib
4446 libass libiconv libsamplerate libxml2 bzip2
4547 libogg libopus libtheora libvorbis libdvdcss a52dec libmkv
4648 lame ffmpeg libdvdread libdvdnav libbluray mp4v2 mpeg2dec x264 x265 libvpx
47− ] ++ (lib.optionals useGtk [
49+ ] ++ lib.optionals useGtk [
4850 glib gtk3 libappindicator-gtk3 libnotify
4951 gst_all_1.gstreamer gst_all_1.gst-plugins-base dbus-glib udev
5052 libgudev
51− ]) ++ (lib.optionals useFdk [fdk_aac]);
53+ ] ++ (if useFfmpeg then [ ffmpeg ] else [ libav_12 ])
54+ ++ lib.optional useFdk fdk_aac;
5255
5356 dontUseCmakeConfigure = true;
5457