mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
scummvm: 1.9.0 -> 2.0.0
This commit is contained in:
parent
52b8b7b02f
commit
e198522137
@ -1,19 +1,30 @@
|
|||||||
{ stdenv
|
{ stdenv, nasm
|
||||||
, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib, mesa
|
, fetchurl, SDL2, SDL2_net, freetype, zlib, libmpeg2, libjpeg, libmad, libogg, libvorbis, flac, alsaLib, mesa
|
||||||
, hostPlatform
|
, hostPlatform
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "scummvm-1.9.0";
|
name = "scummvm-${version}";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://scummvm.org/frs/scummvm/1.9.0/scummvm-1.9.0.tar.bz2";
|
url = "http://scummvm.org/frs/scummvm/${version}/${name}.tar.xz";
|
||||||
sha256 = "813d7d8a76e3d05b45001d37451368711dadc32899ecf907df1cc7abfb1754d2";
|
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 = {
|
crossAttrs = {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -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)";
|
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
|
||||||
homepage = http://www.scummvm.org/;
|
homepage = http://www.scummvm.org/;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
license = licenses.gpl2;
|
||||||
|
maintainers = [ peterhoeg ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user