summary refs log tree commit diff
path: root/pkgs/games/gemrb/default.nix
diff options
context:
space:
mode:
authorJaka Kranjc <smgl+nix@lynxlynx.info>2014-08-24 16:50:59 +0200
committerDomen Kožar <domen@dev.si>2014-08-25 14:08:13 +0200
commit3f971fe45ff0cb677c5375833afc7eebb43ac60b (patch)
tree853ff05b65a701849d25f4551eca3a4fbf33d07b /pkgs/games/gemrb/default.nix
parent9149d450cfc3adb213eefc125d2acda164126d2b (diff)
downloadnixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.tar
nixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.tar.gz
nixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.tar.bz2
nixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.tar.lz
nixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.tar.xz
nixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.tar.zst
nixpkgs-3f971fe45ff0cb677c5375833afc7eebb43ac60b.zip
gemrb: added more meta tags + general maintenance
Diffstat (limited to 'pkgs/games/gemrb/default.nix')
-rw-r--r--pkgs/games/gemrb/default.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/games/gemrb/default.nix b/pkgs/games/gemrb/default.nix
index 31e8ae05d00..31fdb881d0e 100644
--- a/pkgs/games/gemrb/default.nix
+++ b/pkgs/games/gemrb/default.nix
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ cmake python openal SDL zlib libpng libvorbis ];
+  # TODO: make libpng, libvorbis, sdl_mixer, freetype, vlc, glew (and other gl reqs) optional
 
   # Necessary to find libdl.
   CMAKE_LIBRARY_PATH = "${stdenv.gcc.libc}/lib";
@@ -18,8 +19,19 @@ stdenv.mkDerivation rec {
   # Can't have -werror because of the Vorbis header files.
   cmakeFlags = "-DDISABLE_WERROR=ON -DCMAKE_VERBOSE_MAKEFILE=ON";
 
-  meta = {
+  # upstream prefers some symbols to remain
+  dontStrip = true;
+
+  meta = with stdenv.lib; {
     description = "A reimplementation of the Infinity Engine, used by games such as Baldur's Gate";
-    homepage = http://gemrb.sourceforge.net/;
+    longDescription = ''
+      GemRB (Game engine made with pre-Rendered Background) is a portable open-source implementation of
+      Bioware's Infinity Engine. It was written to support pseudo-3D role playing games based on the
+      Dungeons & Dragons ruleset (Baldur's Gate and Icewind Dale series, Planescape: Torment).
+    '';
+    homepage = http://gemrb.org/;
+    license = licenses.gpl2;
+    platforms = stdenv.lib.platforms.all;
+    hydraPlatforms = [];
   };
 }