added freestyle (non photorealistic renderer) and dependencies libQGLViewer, lib3ds

svn path=/nixpkgs/trunk/; revision=12009
This commit is contained in:
Marc Weber
2008-06-08 03:56:32 +00:00
parent ff704a0102
commit 60a651413a
5 changed files with 291 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
args:
args.stdenv.mkDerivation {
name = "lib3ds";
src = args.fetchurl {
url = mirror://sourceforge/lib3ds/lib3ds-1.3.0.zip;
sha256 = "1qr9arfdkjf7q11xhvxwzmhxqz3nhcjkyb8zzfjpz9jm54q0rc7m";
};
buildInputs =(with args; [unzip]);
meta = {
description = "library for managing 3D-Studio Release 3 and 4 \".3DS\" files";
homepage = http://lib3ds.sourceforge.net/;
license = "LGPL";
};
}

View File

@@ -0,0 +1,23 @@
args:
args.stdenv.mkDerivation {
name = "libQGLviewer";
src = args.fetchurl {
url = http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/libQGLViewer-2.2.6-3.tar.gz;
sha256 = "05vjl7af87dhzrdigm941by9c137g8wyca46h3pvhnmr4pgb0ic9";
};
buildInputs =(with args; [qt4]);
buildPhase = "
cd QGLViewer
qmake PREFIX=\$out
make
";
meta = {
description = "trackball-based 3D viewer qt widget including many useful features";
homepage = http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/installUnix.html;
license = "GPL2";
};
}