mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
onscripter-en: add package
This commit is contained in:
parent
05760bb2c7
commit
a94eadacf2
34
pkgs/games/onscripter-en/default.nix
Normal file
34
pkgs/games/onscripter-en/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ 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";
|
||||||
|
homepage = "http://dev.haeleth.net/onscripter.shtml";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = maintainers.abbradar;
|
||||||
|
};
|
||||||
|
}
|
@ -1865,6 +1865,8 @@ let
|
|||||||
|
|
||||||
opencryptoki = callPackage ../tools/security/opencryptoki { };
|
opencryptoki = callPackage ../tools/security/opencryptoki { };
|
||||||
|
|
||||||
|
onscripter-en = callPackage ../games/onscripter-en { };
|
||||||
|
|
||||||
opendbx = callPackage ../development/libraries/opendbx { };
|
opendbx = callPackage ../development/libraries/opendbx { };
|
||||||
|
|
||||||
opendkim = callPackage ../development/libraries/opendkim { };
|
opendkim = callPackage ../development/libraries/opendkim { };
|
||||||
|
Loading…
Reference in New Issue
Block a user