2011-09-23 03:23:05 +01:00
|
|
|
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib }:
|
2006-08-09 00:39:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-12-23 13:20:32 +00:00
|
|
|
name = "scummvm-1.2.1";
|
2007-05-03 16:24:13 +01:00
|
|
|
|
2006-08-09 00:39:03 +01:00
|
|
|
src = fetchurl {
|
2010-12-23 13:20:32 +00:00
|
|
|
url = mirror://sourceforge/scummvm/scummvm-1.2.1.tar.bz2;
|
|
|
|
sha256 = "029abzvpz85accwk7x79w255wr83gnkqg3yc5n6ryl28zg00z3j8";
|
2007-05-03 16:24:13 +01:00
|
|
|
};
|
|
|
|
|
2011-09-23 03:23:05 +01:00
|
|
|
buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ];
|
2007-05-03 16:24:13 +01:00
|
|
|
|
2010-08-11 21:14:25 +01:00
|
|
|
crossAttrs = {
|
|
|
|
preConfigure = ''
|
|
|
|
# Remove the --build flag set by the gcc cross wrapper setup
|
|
|
|
# hook
|
|
|
|
export configureFlags="--host=${stdenv.cross.config}"
|
|
|
|
'';
|
|
|
|
postConfigure = ''
|
|
|
|
# They use 'install -s', that calls the native strip instead of the cross
|
|
|
|
sed -i 's/-c -s/-c/' ports.mk;
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2007-05-03 16:24:13 +01:00
|
|
|
meta = {
|
|
|
|
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
|
|
|
|
homepage = http://www.scummvm.org/;
|
2006-08-09 00:39:03 +01:00
|
|
|
};
|
|
|
|
}
|
2011-09-23 03:23:05 +01:00
|
|
|
|