Merge commit 'refs/pull/14593/head' of git://github.com/NixOS/nixpkgs
This commit is contained in:
commit
c322c042cf
@ -1,9 +1,10 @@
|
|||||||
{stdenv, fetchFromGitHub, libX11, unzip, ogre, cmake, ois, freetype, libuuid, boost, pkgconfig}:
|
{ stdenv, fetchFromGitHub, libX11, unzip, cmake, ois, freetype, libuuid,
|
||||||
|
boost, pkgconfig, lib, withOgre ? true, ogre ? null } :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mygui-${version}";
|
name = "mygui-${version}";
|
||||||
version = "3.2.2";
|
version = "3.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MyGUI";
|
owner = "MyGUI";
|
||||||
repo = "mygui";
|
repo = "mygui";
|
||||||
@ -13,7 +14,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ libX11 unzip ogre cmake ois freetype libuuid boost pkgconfig ];
|
|
||||||
|
buildInputs = [ libX11 unzip cmake ois freetype libuuid boost pkgconfig ]
|
||||||
|
++ lib.optional withOgre [ ogre ];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optional (! withOgre) ["-DMYGUI_RENDERSYSTEM=1" "-DMYGUI_BUILD_DEMOS=OFF" "-DMYGUI_BUILD_TOOLS=OFF" "-DMYGUI_BUILD_PLUGINS=OFF"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://mygui.info/;
|
homepage = http://mygui.info/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user