2014-10-23 04:31:49 +04:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, libpng, libjpeg, libogg, libvorbis, freetype, smpeg
|
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_ttf }:
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "onscripter-en-20110930";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://unclemion.com/dev/attachments/download/36/${name}-src.tar.bz2";
|
|
|
|
sha256 = "1kzm6d894c0ihgkwhd03x3kaqqz0sb6kf0r86xrrz12y309zfam6";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpng libjpeg libogg libvorbis freetype smpeg
|
|
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--no-werror" ];
|
|
|
|
|
|
|
|
# Without this libvorbisfile.so is not getting linked properly for some reason.
|
|
|
|
NIX_CFLAGS_LINK = [ "-lvorbisfile" ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
sed -i 's/.dll//g' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Japanese visual novel scripting engine";
|
2015-10-15 16:54:47 +03:00
|
|
|
homepage = "http://unclemion.com/onscripter/";
|
2014-10-23 04:31:49 +04:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2015-05-14 20:09:10 +03:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2014-10-23 04:31:49 +04:00
|
|
|
};
|
|
|
|
}
|