openttd: 1.10.0 -> 1.10.1

1.10.0 added SDL support
This commit is contained in:
Maxine E. Aubrey 2020-04-14 21:07:00 +02:00
parent 1c951b1484
commit 3f633966e0
No known key found for this signature in database
GPG key ID: F6FE033DFCB899F7

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL, libpng, zlib, xz, freetype, fontconfig
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
, withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps
, writeScriptBin, makeWrapper, runtimeShell
@ -29,15 +29,15 @@ let
in
stdenv.mkDerivation rec {
pname = "openttd";
version = "1.10.0";
version = "1.10.1";
src = fetchurl {
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
sha256 = "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv";
sha256 = "0d22a3c50f7a321f4f211594f4987ac16c381e8e3e40f116848e63e91e7fbb9b";
};
nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ SDL libpng xz zlib freetype fontconfig ]
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ]
++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];
prefixKey = "--prefix-dir=";