mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
openscenegraph: 3.2.1 -> 3.2.3
This commit is contained in:
parent
d2b6d912f2
commit
32adfbfb3d
@ -1,39 +1,40 @@
|
|||||||
{ stdenv, lib, fetchurl, cmake, giflib, libjpeg, libtiff, lib3ds, freetype
|
{ stdenv, lib, fetchurl, cmake, pkgconfig, doxygen, unzip
|
||||||
, libpng, coin3d, jasper, gdal_1_11, xproto, libX11, libXmu
|
, freetype, libjpeg, jasper, libxml2, zlib, gdal, curl, libX11
|
||||||
, freeglut, mesa, doxygen, ffmpeg, xineLib, unzip, zlib, openal
|
, cairo, poppler, librsvg, libpng, libtiff, libXrandr
|
||||||
, libxml2, curl, a52dec, faad2, gdk_pixbuf, pkgconfig, kbproto, SDL
|
, xineLib, boost
|
||||||
, qt4, poppler, librsvg, gtk2
|
, withApps ? false
|
||||||
, withApps ? true }:
|
, withSDL ? false, SDL
|
||||||
|
, withQt4 ? false, qt4
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openscenegraph-${version}";
|
name = "openscenegraph-${version}";
|
||||||
version = "3.2.1";
|
version = "3.2.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://trac.openscenegraph.org/downloads/developer_releases/${name}.zip";
|
url = "http://trac.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-${version}.zip";
|
||||||
sha256 = "0v9y1gxb16y0mj994jd0mhcz32flhv2r6kc01xdqb4817lk75bnr";
|
sha256 = "0gic1hy7fhs27ipbsa5862q120a9y4bx176nfaw2brcjp522zvb9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig cmake doxygen unzip ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake giflib libjpeg libtiff lib3ds freetype libpng coin3d jasper
|
freetype libjpeg jasper libxml2 zlib gdal curl libX11
|
||||||
gdal_1_11 xproto libX11 libXmu freeglut mesa doxygen ffmpeg
|
cairo poppler librsvg libpng libtiff libXrandr boost
|
||||||
xineLib unzip zlib openal libxml2 curl a52dec faad2 gdk_pixbuf
|
xineLib
|
||||||
pkgconfig kbproto SDL qt4 poppler librsvg gtk2
|
] ++ lib.optional withSDL SDL
|
||||||
];
|
++ lib.optional withQt4 qt4;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = lib.optional (!withApps) "-DBUILD_OSG_APPLICATIONS=OFF";
|
||||||
"-DMATH_LIBRARY="
|
|
||||||
"-DCMAKE_C_FLAGS=-D__STDC_CONSTANT_MACROS=1"
|
|
||||||
"-DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS=1"
|
|
||||||
] ++ lib.optional (!withApps) "-DBUILD_OSG_APPLICATIONS=OFF";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A 3D graphics toolkit";
|
description = "A 3D graphics toolkit";
|
||||||
homepage = http://www.openscenegraph.org/;
|
homepage = http://www.openscenegraph.org/;
|
||||||
maintainers = [ maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
hydraPlatforms = lib.optionals (!withQt5) meta.platforms;
|
||||||
license = "OpenSceneGraph Public License - free LGPL-based license";
|
license = "OpenSceneGraph Public License - free LGPL-based license";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9044,10 +9044,7 @@ in
|
|||||||
openjpeg_2_1 = callPackage ../development/libraries/openjpeg/2.1.nix { };
|
openjpeg_2_1 = callPackage ../development/libraries/openjpeg/2.1.nix { };
|
||||||
openjpeg = openjpeg_2_1;
|
openjpeg = openjpeg_2_1;
|
||||||
|
|
||||||
openscenegraph = callPackage ../development/libraries/openscenegraph {
|
openscenegraph = callPackage ../development/libraries/openscenegraph { };
|
||||||
giflib = giflib_4_1;
|
|
||||||
ffmpeg = ffmpeg_0;
|
|
||||||
};
|
|
||||||
|
|
||||||
openslp = callPackage ../development/libraries/openslp {};
|
openslp = callPackage ../development/libraries/openslp {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user