2012-02-24 21:13:14 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, ois, ogre, libX11, boost }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-18 11:29:09 +01:00
|
|
|
name = "ogre-paged-${version}";
|
|
|
|
version = "1.2.0";
|
2012-02-24 21:13:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-18 11:29:09 +01:00
|
|
|
url = "https://github.com/RigsOfRods/ogre-pagedgeometry/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "17j7rw9wbkynxbhm2lay3qgjnnagb2vd5jn9iijnn2lf8qzbgy82";
|
2012-02-24 21:13:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ois ogre libX11 boost ];
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2012-02-24 21:13:14 +00:00
|
|
|
|
2016-04-11 14:28:03 +01:00
|
|
|
cmakeFlags = [ "-DPAGEDGEOMETRY_BUILD_SAMPLES=OFF" ];
|
2012-02-24 21:13:14 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Paged Geometry for Ogre3D";
|
|
|
|
homepage = http://code.google.com/p/ogre-paged/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-02-24 21:13:14 +00:00
|
|
|
};
|
|
|
|
}
|