2016-08-28 10:54:22 +03:00
|
|
|
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib, mesa }:
|
2006-08-09 03:39:03 +04:00
|
|
|
|
2014-05-03 13:27:12 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2016-05-25 02:32:57 +03:00
|
|
|
name = "scummvm-1.8.0";
|
2016-08-03 23:32:34 +03:00
|
|
|
|
2006-08-09 03:39:03 +04:00
|
|
|
src = fetchurl {
|
2014-05-03 13:27:12 +04:00
|
|
|
url = "mirror://sourceforge/scummvm/${name}.tar.bz2";
|
2016-05-25 02:32:57 +03:00
|
|
|
sha256 = "0f3zgvz886lk9ps0v333aq74vx6grlx68hg14gfaxcvj55g73v01";
|
2007-05-03 19:24:13 +04:00
|
|
|
};
|
|
|
|
|
2016-08-28 10:54:22 +03:00
|
|
|
buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib mesa ];
|
2007-05-03 19:24:13 +04:00
|
|
|
|
2016-08-03 23:32:34 +03:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2010-08-12 00:14:25 +04: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 19:24:13 +04:00
|
|
|
meta = {
|
|
|
|
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
|
|
|
|
homepage = http://www.scummvm.org/;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2006-08-09 03:39:03 +04:00
|
|
|
};
|
|
|
|
}
|
2011-09-23 06:23:05 +04:00
|
|
|
|