3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #15652 from juliendehos/exrdisplay

openexr-viewers: 1.0.1 -> 2.2.0
This commit is contained in:
Arseniy Seroka 2016-05-24 22:05:28 +03:00
commit 8b79f1512a
2 changed files with 17 additions and 15 deletions

View file

@ -1,27 +1,29 @@
{ stdenv, fetchurl, pkgconfig, fltk, openexr, mesa, which, openexr_ctl }: { stdenv, fetchurl, pkgconfig, fltk, openexr, mesa, openexr_ctl }:
assert fltk.glSupport; assert fltk.glSupport;
stdenv.mkDerivation { stdenv.mkDerivation {
name ="openexr_viewers-1.0.1"; name ="openexr_viewers-2.2.0";
src = fetchurl { src = fetchurl {
url = "mirror://savannah/openexr/openexr_viewers-1.0.1.tar.gz"; url = "mirror://savannah/openexr/openexr_viewers-2.2.0.tar.gz";
sha256 = "1w5qbcdp7sw48z1wk2v07f7p14vqqb1m2ncxyxnbkm9f4ab0ymg6"; sha256 = "1s84vnas12ybx8zz0jcmpfbk9m4ab5bg2d3cglqwk3wys7jf4gzp";
}; };
configurePhase = configurePhase = ''
'' ./configure --prefix=$out --with-fltk-config=${fltk}/bin/fltk-config
# 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 = [ openexr fltk pkgconfig mesa which openexr_ctl ]; buildPahse = ''
make LDFLAGS="`fltk-config --ldflags` -lGL -lfltk_gl"
'';
buildInputs = [ openexr fltk pkgconfig mesa openexr_ctl ];
meta = { meta = {
description = "Tool to view OpenEXR images"; description = "Application for viewing OpenEXR images on a display at various exposure settings";
homepage = http://openexr.com; homepage = "http://openexr.com";
license = "BSD-like"; platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsd3;
}; };
} }

View file

@ -12488,7 +12488,7 @@ in
keepass-keefox = callPackage ../applications/misc/keepass-plugins/keefox { }; keepass-keefox = callPackage ../applications/misc/keepass-plugins/keefox { };
exrdisplay = callPackage ../applications/graphics/exrdisplay { exrdisplay = callPackage ../applications/graphics/exrdisplay {
fltk = fltk20; fltk = fltk13.override { cfg.xftSupport = true; };
}; };
fbpanel = callPackage ../applications/window-managers/fbpanel { }; fbpanel = callPackage ../applications/window-managers/fbpanel { };