appleseed: 1.9.0-beta -> 2.0.5-beta
this also fixes the build, provided we set -Wno-unused-but-set-variable
This commit is contained in:
parent
a36cff247c
commit
b30f1e9ebb
1 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, boost165, pkgconfig, guile,
|
||||
eigen, libpng, python, libGLU, qt4, openexr, openimageio,
|
||||
opencolorio, xercesc, ilmbase, osl, seexpr
|
||||
opencolorio, xercesc, ilmbase, osl, seexpr, makeWrapper
|
||||
}:
|
||||
|
||||
let boost_static = boost165.override {
|
||||
|
@ -10,21 +10,21 @@ let boost_static = boost165.override {
|
|||
in stdenv.mkDerivation rec {
|
||||
|
||||
name = "appleseed-${version}";
|
||||
version = "1.9.0-beta";
|
||||
version = "2.0.5-beta";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "appleseedhq";
|
||||
repo = "appleseed";
|
||||
rev = "1.9.0-beta";
|
||||
sha256 = "0m7zvfkdjfn48zzaxh2wa1bsaj4l876a05bzgmjlfq5dz3202anr";
|
||||
rev = version;
|
||||
sha256 = "1sq9s0rzjksdn8ayp1g17gdqhp7fqks8v1ddd3i5rsl96b04fqx5";
|
||||
};
|
||||
buildInputs = [
|
||||
cmake pkgconfig boost_static guile eigen libpng python
|
||||
libGLU qt4 openexr openimageio opencolorio xercesc
|
||||
osl seexpr
|
||||
osl seexpr makeWrapper
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${openexr.dev}/include/OpenEXR -I${ilmbase.dev}/include/OpenEXR -I${openimageio.dev}/include/OpenImageIO";
|
||||
NIX_CFLAGS_COMPILE = "-I${openexr.dev}/include/OpenEXR -I${ilmbase.dev}/include/OpenEXR -I${openimageio.dev}/include/OpenImageIO -Wno-unused-but-set-variable";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_EXTERNAL_XERCES=ON" "-DUSE_EXTERNAL_OCIO=ON" "-DUSE_EXTERNAL_OIIO=ON"
|
||||
|
@ -49,6 +49,7 @@ in stdenv.mkDerivation rec {
|
|||
# Work around a bug in the CMake build:
|
||||
postInstall = ''
|
||||
chmod a+x $out/bin/*
|
||||
wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python}
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue