2015-12-29 22:34:19 +00:00
|
|
|
{ stdenv, fetchurl, texinfo, libXext, xextproto, libX11, xproto
|
|
|
|
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
|
|
|
|
, libXxf86dga, libXxf86misc, xf86dgaproto, xf86miscproto
|
|
|
|
, xf86vidmodeproto, libXxf86vm, openal, mesa, kbproto, libjpeg, flac }:
|
2011-09-25 22:07:48 +01:00
|
|
|
|
2015-12-29 22:34:19 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "allegro-${version}";
|
|
|
|
version = "5.0.11";
|
2011-09-25 22:07:48 +01:00
|
|
|
|
2015-12-29 22:34:19 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/allegro/allegro/${version}/${name}.tar.gz";
|
2015-01-18 15:17:39 +00:00
|
|
|
sha256 = "0cd51qrh97jrr0xdmnivqgwljpmizg8pixsgvc4blqqlaz4i9zj9";
|
2011-09-25 22:07:48 +01:00
|
|
|
};
|
|
|
|
|
2015-12-29 22:34:19 +00:00
|
|
|
buildInputs = [
|
|
|
|
texinfo libXext xextproto libX11 xproto libXpm libXt libXcursor
|
|
|
|
alsaLib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
|
|
|
|
xf86dgaproto xf86miscproto xf86vidmodeproto libXxf86vm openal mesa
|
|
|
|
kbproto libjpeg flac
|
2011-09-25 22:07:48 +01:00
|
|
|
];
|
|
|
|
|
2015-12-29 22:34:19 +00:00
|
|
|
cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2011-09-25 22:07:48 +01:00
|
|
|
description = "A game programming library";
|
2015-12-29 22:34:19 +00:00
|
|
|
homepage = http://liballeg.org/;
|
|
|
|
license = licenses.zlib;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2011-09-25 22:07:48 +01:00
|
|
|
};
|
2015-12-29 22:34:19 +00:00
|
|
|
}
|