about summary refs log tree commit diff
path: root/pkgs/development/libraries/mygui
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-30 22:08:33 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-30 22:08:33 +0000
commit627812ffbbbc66e06f3c2af9df70569e205d07ca (patch)
treeb126888bd5bece3159a823143025a107b5b70313 /pkgs/development/libraries/mygui
parent9adeabc7934d62d426a07a88dbdb7228f563a796 (diff)
downloadnixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.tar
nixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.tar.gz
nixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.tar.bz2
nixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.tar.lz
nixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.tar.xz
nixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.tar.zst
nixlib-627812ffbbbc66e06f3c2af9df70569e205d07ca.zip
Adding Rigs of Rods.
Basically it builds, but I still don't know how to run it. I imagine the
installPhase is still too poor, but it's better than nothing.

I also added two mygui versions. That stable, and that required by Rigs of Roads (svn).

svn path=/nixpkgs/trunk/; revision=26618
Diffstat (limited to 'pkgs/development/libraries/mygui')
-rw-r--r--pkgs/development/libraries/mygui/default.nix20
-rw-r--r--pkgs/development/libraries/mygui/svn.nix27
2 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mygui/default.nix b/pkgs/development/libraries/mygui/default.nix
new file mode 100644
index 000000000000..f692c14a6df1
--- /dev/null
+++ b/pkgs/development/libraries/mygui/default.nix
@@ -0,0 +1,20 @@
+{stdenv, fetchurl, unzip, ogre, cmake, ois, freetype, libuuid, boost}:
+
+stdenv.mkDerivation rec {
+  name = "mygui-3.0.1";
+  
+  src = fetchurl {
+    url = mirror://sourceforge/my-gui/MyGUI_3.0.1_source.zip;
+    sha256 = "1n56kl8ykzgv4k2nm9317jg9b9x2qa3l9hamz11hzn1qqjn2z4ig";
+  };
+
+  enableParallelBuilding = true;
+
+  buildInputs = [ unzip ogre cmake ois freetype libuuid boost ];
+
+  meta = {
+    homepage = http://mygui.info/;
+    description = "Library for creating GUIs for games and 3D applications";
+    license = "LGPLv3+";
+  };
+}
diff --git a/pkgs/development/libraries/mygui/svn.nix b/pkgs/development/libraries/mygui/svn.nix
new file mode 100644
index 000000000000..cc20550802ed
--- /dev/null
+++ b/pkgs/development/libraries/mygui/svn.nix
@@ -0,0 +1,27 @@
+{stdenv, fetchsvn, unzip, ogre, cmake, ois, freetype, libuuid, boost}:
+
+stdenv.mkDerivation rec {
+  name = "mygui-svn-4141";
+  
+  src = fetchsvn {
+    url = https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk;
+    rev = 4141;
+    sha256 = "0xfm4b16ksqd1cwq45kl01wi4pmj244dpn11xln8ns7wz0sffjwn";
+  };
+
+  enableParallelBuilding = true;
+
+  cmakeFlags = [
+    "-DOGRE_LIB_DIR=${ogre}/lib"
+    "-DOGRE_INCLUDE_DIR=${ogre}/include/OGRE"
+    "-DOGRE_LIBRARIES=OgreMain"
+  ];
+
+  buildInputs = [ unzip ogre cmake ois freetype libuuid boost ];
+
+  meta = {
+    homepage = http://mygui.info/;
+    description = "Library for creating GUIs for games and 3D applications";
+    license = "LGPLv3+";
+  };
+}