2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} :
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kobodeluxe-0.5.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2";
|
|
|
|
sha256 = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ SDL SDL_image libGLU libGL ];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -e 's/char \*tok/const char \*tok/' -i graphics/window.cpp
|
|
|
|
'';
|
|
|
|
|
|
|
|
patches = [ ./glibc29.patch ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://olofson.net/kobodl/";
|
|
|
|
description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|