Merge pull request #64196 from fgaz/zaz/init

zaz: init at 1.0.0
This commit is contained in:
Elis Hirwing 2019-07-04 09:32:48 +02:00 committed by GitHub
commit 47cef20b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,58 @@
{ stdenv
, fetchurl
, pkgconfig
, SDL
, SDL_image
, mesa
, libtheora
, libvorbis
, libogg
, ftgl
, freetype
}:
stdenv.mkDerivation rec {
pname = "zaz";
version = "1.0.0";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "15q3kxzl71m50byw37dshfsx5wp240ywah19ccmqmqarcldcqcp3";
};
nativeBuildInputs = [
pkgconfig
];
buildInputs = [
SDL.dev
SDL_image
mesa
libtheora
libvorbis.dev
libogg
ftgl
freetype
];
# Fix SDL include problems
NIX_CFLAGS_COMPILE="-I${SDL.dev}/include/SDL -I${SDL_image}/include/SDL";
# Fix linking errors
makeFlags = [
"ZAZ_LIBS+=-lSDL"
"ZAZ_LIBS+=-lvorbis"
"ZAZ_LIBS+=-ltheora"
"ZAZ_LIBS+=-logg"
"ZAZ_LIBS+=-ltheoraenc"
"ZAZ_LIBS+=-ltheoradec"
"ZAZ_LIBS+=-lvorbisfile"
];
meta = with stdenv.lib; {
description = "A puzzle game about arranging balls in triplets, like Luxor, Zuma, or Puzzle Bobble";
homepage = "http://zaz.sourceforge.net/";
license = licenses.gpl3;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}

View File

@ -22152,6 +22152,8 @@ in
zangband = callPackage ../games/zangband { }; zangband = callPackage ../games/zangband { };
zaz = callPackage ../games/zaz { };
zdbsp = callPackage ../games/zdoom/zdbsp.nix { }; zdbsp = callPackage ../games/zdoom/zdbsp.nix { };
zdoom = callPackage ../games/zdoom { }; zdoom = callPackage ../games/zdoom { };