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