forked from mirrors/nixpkgs
scummvm: 2.5.1 -> 2.6.1
This commit is contained in:
parent
dc0c7a8b9c
commit
97e489feea
1 changed files with 9 additions and 8 deletions
|
@ -1,15 +1,17 @@
|
||||||
{ lib, stdenv, fetchurl, nasm
|
{ lib, stdenv, fetchFromGitHub, nasm
|
||||||
, alsa-lib, curl, flac, fluidsynth, freetype, libjpeg, libmad, libmpeg2, libogg, libvorbis, libGLU, libGL, SDL2, zlib
|
, alsa-lib, curl, flac, fluidsynth, freetype, libjpeg, libmad, libmpeg2, libogg, libtheora, libvorbis, libGLU, libGL, SDL2, zlib
|
||||||
, Cocoa, AudioToolbox, Carbon, CoreMIDI, AudioUnit, cctools
|
, Cocoa, AudioToolbox, Carbon, CoreMIDI, AudioUnit, cctools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "scummvm";
|
pname = "scummvm";
|
||||||
version = "2.5.1";
|
version = "2.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://scummvm.org/frs/scummvm/${version}/${pname}-${version}.tar.xz";
|
owner = "scummvm";
|
||||||
sha256 = "sha256-n9jbOORFYUS/jDTazffyBOdfGOjkSOwBzgjOgmoDXwE=";
|
repo = "scummvm";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-fqMMdHBVcXLsBDWxXH9UKXwfvlyIVbRsIPmrYqPGQ+g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ nasm ];
|
nativeBuildInputs = [ nasm ];
|
||||||
|
@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
Cocoa AudioToolbox Carbon CoreMIDI AudioUnit
|
Cocoa AudioToolbox Carbon CoreMIDI AudioUnit
|
||||||
] ++ [
|
] ++ [
|
||||||
curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libvorbis libGLU libGL SDL2 zlib
|
curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libtheora libvorbis libGLU libGL SDL2 zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
@ -28,7 +30,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configurePlatforms = [ "host" ];
|
configurePlatforms = [ "host" ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-c++11"
|
|
||||||
"--enable-release"
|
"--enable-release"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue