added freestyle (non photorealistic renderer) and dependencies libQGLViewer, lib3ds
svn path=/nixpkgs/trunk/; revision=12009
This commit is contained in:
18
pkgs/development/libraries/lib3ds/default.nix
Normal file
18
pkgs/development/libraries/lib3ds/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
||||
23
pkgs/development/libraries/libqglviewer/default.nix
Normal file
23
pkgs/development/libraries/libqglviewer/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user