2016-08-28 05:26:12 +02:00
|
|
|
{stdenv, fetchurl, SDL, SDL_image, mesa} :
|
2009-04-15 00:25:03 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kobodeluxe-0.5.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2;
|
|
|
|
sha256 = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c";
|
|
|
|
};
|
|
|
|
|
2016-08-28 05:26:12 +02:00
|
|
|
buildInputs = [ SDL SDL_image mesa ];
|
2009-04-15 00:25:03 +02:00
|
|
|
|
2012-07-12 23:42:20 +02:00
|
|
|
prePatch = ''
|
|
|
|
sed -e 's/char \*tok/const char \*tok/' -i graphics/window.cpp
|
|
|
|
'';
|
|
|
|
|
|
|
|
patches = [ ./glibc29.patch ];
|
|
|
|
|
2009-04-15 00:25:03 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://olofson.net/kobodl/;
|
|
|
|
description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-15 00:25:03 +02:00
|
|
|
};
|
|
|
|
}
|