forked from mirrors/nixpkgs
Adding blender 2.49, additional to the last 'alpha' 2.50 there already was in nixpkgs.
I put the alpha in lowPrio too; too many things don't work still, there. svn path=/nixpkgs/trunk/; revision=21701
This commit is contained in:
parent
7e4f5567d4
commit
e47a2a9651
pkgs
33
pkgs/applications/misc/blender/2.49.nix
Normal file
33
pkgs/applications/misc/blender/2.49.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{stdenv, fetchurl, cmake, mesa, gettext, python, libjpeg, libpng, zlib, openal, SDL
|
||||||
|
, openexr, libsamplerate, libXi, libtiff, ilmbase, freetype}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "blender-2.49b";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://download.blender.org/source/${name}.tar.gz";
|
||||||
|
sha256 = "1214fp2asij7l1sci2swh46nfjgpm72gk2qafq70xc0hmas4sm93";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake mesa gettext python libjpeg libpng zlib openal SDL openexr libsamplerate
|
||||||
|
libXi libtiff ilmbase freetype ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DFREETYPE_INC=${freetype}/include" "-DOPENEXR_INC=${openexr}/include/OpenEXR" "-DWITH_OPENCOLLADA=OFF"
|
||||||
|
"-DPYTHON_LIBPATH=${python}/lib" ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = "-lX11";
|
||||||
|
NIX_CFLAGS_COMPILE = "-iquote ${ilmbase}/include/OpenEXR -I${python}/include/${python.libPrefix} -I${freetype}/include/freetype2";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
cp bin/* $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "3D Creation/Animation/Publishing System";
|
||||||
|
homepage = http://www.blender.org;
|
||||||
|
# They comment two licenses: GPLv2 and Blender License, but they
|
||||||
|
# say: "The BL has not been activated yet."
|
||||||
|
license = "GPLv2+";
|
||||||
|
};
|
||||||
|
}
|
|
@ -7131,13 +7131,21 @@ let
|
||||||
openal = openalSoft;
|
openal = openalSoft;
|
||||||
};
|
};
|
||||||
|
|
||||||
blender = import ../applications/misc/blender {
|
blender = import ../applications/misc/blender/2.49.nix {
|
||||||
|
inherit fetchurl cmake mesa gettext libjpeg libpng zlib openal SDL openexr
|
||||||
|
libsamplerate libtiff ilmbase freetype;
|
||||||
|
inherit (xlibs) libXi;
|
||||||
|
python = python26Base;
|
||||||
|
stdenv = stdenv2;
|
||||||
|
};
|
||||||
|
|
||||||
|
blender_2_50 = lowPrio (import ../applications/misc/blender {
|
||||||
inherit fetchurl cmake mesa gettext libjpeg libpng zlib openal SDL openexr
|
inherit fetchurl cmake mesa gettext libjpeg libpng zlib openal SDL openexr
|
||||||
libsamplerate libtiff ilmbase;
|
libsamplerate libtiff ilmbase;
|
||||||
inherit (xlibs) libXi;
|
inherit (xlibs) libXi;
|
||||||
python = python31Base;
|
python = python31Base;
|
||||||
stdenv = stdenv2;
|
stdenv = stdenv2;
|
||||||
};
|
});
|
||||||
|
|
||||||
bmp = import ../applications/audio/bmp {
|
bmp = import ../applications/audio/bmp {
|
||||||
inherit fetchurl stdenv pkgconfig libogg libvorbis alsaLib id3lib;
|
inherit fetchurl stdenv pkgconfig libogg libvorbis alsaLib id3lib;
|
||||||
|
|
Loading…
Reference in a new issue