From ca2a39757c7850f2e7ec7a0b8eee6fb5ecc8e100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Thu, 28 Mar 2013 00:52:08 +0100 Subject: [PATCH] Blender: enable extra features in the Video Sequence Editor FFMPEG support allows a greater variety of export and import options. SNDFILE support allows WAV and other sound file formats to be used. JACK support allows blender to be used with XJadeo, Ardour or any other JACK away audio editor. --- pkgs/applications/misc/blender/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix index b9c32c982ec4..763a7c2a6e55 100644 --- a/pkgs/applications/misc/blender/default.nix +++ b/pkgs/applications/misc/blender/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, SDL, cmake, ffmpeg, gettext, glew, ilmbase, libXi, libjpeg, -libpng, libsamplerate, libtiff, mesa, oiio, openal, openexr, openjpeg, +{ stdenv, fetchurl, SDL, cmake, ffmpeg, jackaudio, gettext, glew, ilmbase, libXi, libjpeg, +libpng, libsamplerate, libsndfile, libtiff, mesa, opencolorio, openimageio, openal, openexr, openjpeg, python, zlib, boost }: stdenv.mkDerivation rec { @@ -10,13 +10,17 @@ stdenv.mkDerivation rec { sha256 = "0wj8x9xk5irvsjc3rm7wzml1j47xcdpdpy84kidafk02biskcqcb"; }; - buildInputs = [ cmake mesa ffmpeg gettext python glew libjpeg libpng zlib openal - SDL openexr libsamplerate libXi libtiff ilmbase oiio openjpeg boost ]; + buildInputs = [ cmake mesa ffmpeg jackaudio gettext python glew libjpeg libpng zlib openal + SDL openexr libsamplerate libsndfile libXi libtiff ilmbase opencolorio openimageio openjpeg boost ]; cmakeFlags = [ "-DOPENEXR_INC=${openexr}/include/OpenEXR" "-DWITH_OPENCOLLADA=OFF" + "-DWITH_CODEC_FFMPEG=ON" + "-DWITH_CODEC_SNDFILE=ON" + "-DWITH_SYSTEM_OPENJPEG=ON" + "-DWITH_JACK=ON" "-DWITH_INSTALL_PORTABLE=OFF" "-DPYTHON_LIBRARY=python${python.majorVersion}m" "-DPYTHON_LIBPATH=${python}/lib"