about summary refs log tree commit diff
path: root/pkgs/applications/graphics/exrdisplay
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2007-12-05 21:25:47 +0000
committerMarc Weber <marco-oweber@gmx.de>2007-12-05 21:25:47 +0000
commitfb437cf98d73885ea974a8b47fe55b19b2b233d0 (patch)
treee0c5ca4c8dfe05008926e216c39b1bdf3e7b70e2 /pkgs/applications/graphics/exrdisplay
parent9948a92f695c45984a8038b3f4662c29fab1a938 (diff)
downloadnixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.tar
nixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.tar.gz
nixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.tar.bz2
nixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.tar.lz
nixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.tar.xz
nixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.tar.zst
nixlib-fb437cf98d73885ea974a8b47fe55b19b2b233d0.zip
exrviewer added (needs ctl openexr openexr_ctl)
fltk update
ilmbase updated
ndiswrapper does compile but has to be integrated into the kernel somehow

svn path=/nixpkgs/trunk/; revision=9863
Diffstat (limited to 'pkgs/applications/graphics/exrdisplay')
-rw-r--r--pkgs/applications/graphics/exrdisplay/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/exrdisplay/default.nix b/pkgs/applications/graphics/exrdisplay/default.nix
new file mode 100644
index 000000000000..4778c4bf7c40
--- /dev/null
+++ b/pkgs/applications/graphics/exrdisplay/default.nix
@@ -0,0 +1,27 @@
+args:
+
+assert args.fltk.flag_set_gl;
+args.stdenv.mkDerivation {
+
+  name ="openexr_viewers-1.0.1";
+
+  src = args.fetchurl {
+    url =  "http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-1.0.1.tar.gz";
+    sha256 = "1w5qbcdp7sw48z1wk2v07f7p14vqqb1m2ncxyxnbkm9f4ab0ymg6";
+  };
+
+  inherit (args) fltk mesa;
+
+  configurePhase = "
+    # don't know why.. adding these flags it works
+    #export CXXFLAGS=`fltk-config --use-gl --cxxflags --ldflags`
+    ./configure --prefix=\$out --with-fltk-config=\$fltk/bin/fltk-config";
+
+  buildInputs =(with args; [openexr fltk pkgconfig mesa which openexr_ctl]);
+
+  meta = { 
+      description = "tool to view OpenEXR images";
+      homepage = http://openexr.com;
+      license = "BSD-like";
+  };
+}