Skip to content

Commit

Permalink
scummvm: 1.9.0 -> 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Dec 18, 2017
1 parent 52b8b7b commit e198522
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions pkgs/games/scummvm/default.nix
@@ -1,19 +1,30 @@
{ stdenv
, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib, mesa
{ stdenv, nasm
, fetchurl, SDL2, SDL2_net, freetype, zlib, libmpeg2, libjpeg, libmad, libogg, libvorbis, flac, alsaLib, mesa
, hostPlatform
}:

stdenv.mkDerivation rec {
name = "scummvm-1.9.0";
name = "scummvm-${version}";
version = "2.0.0";

src = fetchurl {
url = "http://scummvm.org/frs/scummvm/1.9.0/scummvm-1.9.0.tar.bz2";
sha256 = "813d7d8a76e3d05b45001d37451368711dadc32899ecf907df1cc7abfb1754d2";
url = "http://scummvm.org/frs/scummvm/${version}/${name}.tar.xz";
sha256 = "0q6aiw97wsrf8cjw9vjilzhqqsr2rw2lll99s8i5i9svan6l314p";
};

buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib mesa ];

hardeningDisable = [ "format" ];
nativeBuildInputs = [ nasm ];

buildInputs = [
SDL2 SDL2_net
freetype libjpeg libmpeg2 libmad libogg libvorbis flac alsaLib mesa zlib
];

enableParallelBuilding = true;

configureFlags = [
"--enable-c++11"
"--enable-release"
];

crossAttrs = {
preConfigure = ''
Expand All @@ -27,10 +38,11 @@ stdenv.mkDerivation rec {
'';
};

meta = {
meta = with stdenv.lib; {
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
homepage = http://www.scummvm.org/;
platforms = stdenv.lib.platforms.linux;
license = licenses.gpl2;
maintainers = [ peterhoeg ];
platforms = platforms.linux;
};
}

2 comments on commit e198522

@lukateras
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm very happy with new major ScummVM release :-) Thanks for packaging it!

@peterhoeg
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retro gaming FTW!

Please sign in to comment.