games/scummvm: Updated for version 2.5.1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-23 19:38:45 +01:00 committed by Willy Sudiarto Raharjo
parent ed2d4d7e9f
commit 470fbc87cd
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 5 additions and 32 deletions

View File

@ -1,27 +0,0 @@
diff -Naur scummvm-2.1.2/audio/softsynth/fluidsynth.cpp scummvm-2.1.2.patched/audio/softsynth/fluidsynth.cpp
--- scummvm-2.1.2/audio/softsynth/fluidsynth.cpp 2020-03-30 18:32:51.000000000 -0400
+++ scummvm-2.1.2.patched/audio/softsynth/fluidsynth.cpp 2020-04-11 17:40:39.247407731 -0400
@@ -20,10 +20,13 @@
*
*/
-#include "common/scummsys.h"
+#include "config.h"
#ifdef USE_FLUIDSYNTH
+#include <fluidsynth.h>
+
+#include "common/scummsys.h"
#include "common/config-manager.h"
#include "common/error.h"
#include "common/system.h"
@@ -35,8 +38,6 @@
#include "backends/platform/ios7/ios7_common.h"
#endif
-#include <fluidsynth.h>
-
class MidiDriver_FluidSynth : public MidiDriver_Emulated {
private:
MidiChannel_MPU401 _midiChannels[16];

View File

@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scummvm
VERSION=${VERSION:-2.1.2}
VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -84,7 +84,7 @@ find -L . \
# 20200411 bkw: This is necessary for fluidsynth-2.x. Based on upstream's
# git commit 68758a87.
patch -p1 < $CWD/fix-fluidsynth2-build.diff
#patch -p1 < $CWD/fix-fluidsynth2-build.diff
# avoid linking breakage on i?86
if [[ $ARCH == i?86 ]]; then linker=bfd; else linker=gold; fi

View File

@ -1,8 +1,8 @@
PRGNAM="scummvm"
VERSION="2.1.2"
VERSION="2.5.1"
HOMEPAGE="https://www.scummvm.org/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/scummvm-2.1.2.tar.xz"
MD5SUM="dd680a1f0f3a6745bf3a8033167ee778"
DOWNLOAD="https://downloads.scummvm.org/frs/scummvm/2.5.1/scummvm-2.5.1.tar.xz"
MD5SUM="79f7541e404f575a37bfa6be448c4046"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""