Skip to content

Commit

Permalink
games/scummvm: Update to 2.8.0
Browse files Browse the repository at this point in the history
* Add new default option MIKMOD, which adds support for Impulse Tracker
  audio files that are used by some games of the "ags" engine.

* Introduce the non-default options SONIVOX and VPX as well.  The latter
  one adds movie support for the "sludge" engine which is still
  considered as unstable and therefore not built by default.

* Add a workaround make the "xeen" engine, which could be built by
  default since release 2.5.0, still available and remove a no longer
  required patch for the "hpl" engine.

Changelog:

https://downloads.scummvm.org/frs/scummvm/2.8.0/ReleaseNotes.html

MFH:		No (feature release)
  • Loading branch information
knobix committed Dec 30, 2023
1 parent fbdd09c commit 2073b53
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 53 deletions.
21 changes: 16 additions & 5 deletions games/scummvm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= scummvm
PORTVERSION= 2.7.1
PORTVERSION= 2.8.0
CATEGORIES= games emulators
MASTER_SITES= https://downloads.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/

Expand Down Expand Up @@ -38,12 +38,13 @@ CONFIGURE_ARGS= --disable-alsa \

LDFLAGS+= -lpthread

OPTIONS_DEFINE= CURL DOCS FLAC GIF FLUIDSYNTH MT32EMU SNDIO TTS XENGINES
OPTIONS_DEFAULT= GIF MT32EMU
OPTIONS_DEFINE= CURL DOCS FLAC GIF FLUIDSYNTH MIKMOD MT32EMU SNDIO SONIVOX TTS VPX XENGINES
OPTIONS_DEFAULT= GIF MIKMOD MT32EMU
OPTIONS_SUB= yes

CURL_DESC= Enable ScummVM cloud storage backend
MT32EMU_DESC= MT-32 emulator
SONIVOX_DESC= Sonivox EAS (Embedded Audio Synthesis) sound driver
TTS_DESC= Text-to-Speech support
XENGINES_DESC= Experimental/Unstable engine support

Expand All @@ -59,15 +60,27 @@ FLUIDSYNTH_CONFIGURE_OFF= --disable-fluidsynth
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
GIF_CONFIGURE_OFF= --disable-gif

MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod
MIKMOD_CONFIGURE_ON= --enable-mikmod
MIKMOD_CONFIGURE_OFF= --disable-mikmod

MT32EMU_CONFIGURE_OFF= --disable-mt32emu

SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CONFIGURE_OFF= --disable-sndio

SONIVOX_LIB_DEPENDS= libsonivox.so:audio/sonivox
SONIVOX_CONFIGURE_ON= --enable-sonivox
SONIVOX_CONFIGURE_OFF= --disable-sonivox

TTS_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher
TTS_CONFIGURE_ON= --enable-tts
TTS_CONFIGURE_OFF= --disable-tts

VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx
VPX_CONFIGURE_ON= --enable-vpx
VPX_CONFIGURE_OFF= --disable-vpx

XENGINES_CONFIGURE_ON= --enable-all-engines
XENGINES_CONFIGURE_OFF= --disable-all-unstable-engines

Expand All @@ -78,8 +91,6 @@ CONFIGURE_ENV+= ASFLAGS=-meabi=5
.endif

post-install:
${INSTALL_DATA} ${WRKSRC}/dists/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.post.mk>
6 changes: 3 additions & 3 deletions games/scummvm/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1690186365
SHA256 (scummvm-2.7.1.tar.xz) = d6bbf62e33154759a609d59f3034d71652ecdb64ed5c800156718ab1f1d5d063
SIZE (scummvm-2.7.1.tar.xz) = 148127416
TIMESTAMP = 1702826565
SHA256 (scummvm-2.8.0.tar.xz) = d6e9fbee06a924706635dea225dfd560ff6770f35aa99d59570a3eb883795a72
SIZE (scummvm-2.8.0.tar.xz) = 207362400

This file was deleted.

21 changes: 21 additions & 0 deletions games/scummvm/files/patch-engines_mm_configure.engine
@@ -0,0 +1,21 @@
The "xeen" engine was originally created as a main engine and was built by
default with the 2.5.0 release.

The aforementioned engine has been moved as a sub-engine with the 2.8.0 release
to the new main engine "mm", which is currently not being built by default for
some reasons.

Expose the "xeen" engine again, together with the new sub-engine "mm1", to
avoid surprises, e.g. games that have already been configured can no longer be
loaded with its savegames, for users that use the official FreeBSD
pkg repositories.

--- engines/mm/configure.engine.orig 2023-12-29 16:43:55 UTC
+++ engines/mm/configure.engine
@@ -1,5 +1,5 @@
# This file is included from the main "configure" script
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps]
-add_engine mm "Might and Magic" no "mm1 xeen"
+add_engine mm "Might and Magic" yes "mm1 xeen"
add_engine mm1 "Might and Magic 1" yes
add_engine xeen "Might and Magic Xeen" yes
23 changes: 18 additions & 5 deletions games/scummvm/pkg-plist
@@ -1,5 +1,5 @@
bin/scummvm
share/applications/scummvm.desktop
share/applications/org.scummvm.scummvm.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
%%PORTDOCS%%%%DOCSDIR%%/COPYING
Expand All @@ -10,37 +10,46 @@ share/applications/scummvm.desktop
%%PORTDOCS%%%%DOCSDIR%%/COPYING.LGPL
%%PORTDOCS%%%%DOCSDIR%%/COPYING.LUA
%%PORTDOCS%%%%DOCSDIR%%/COPYING.MIT
%%PORTDOCS%%%%DOCSDIR%%/COPYING.MKV
%%PORTDOCS%%%%DOCSDIR%%/COPYING.OFL
%%PORTDOCS%%%%DOCSDIR%%/COPYING.TINYGL
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%XENGINES%%%%DOCSDIR%%/COPYRIGHT.Roland_SC-55
%%PORTDOCS%%%%DOCSDIR%%/CatharonLicense.txt
%%PORTDOCS%%%%DOCSDIR%%/NEWS.md
%%PORTDOCS%%%%DOCSDIR%%/README.md
share/icons/hicolor/scalable/apps/scummvm.svg
share/icons/hicolor/scalable/apps/org.scummvm.scummvm.svg
share/man/man6/scummvm.6.gz
share/metainfo/scummvm.appdata.xml
share/pixmaps/scummvm.xpm
share/metainfo/org.scummvm.scummvm.metainfo.xml
share/pixmaps/org.scummvm.scummvm.xpm
%%XENGINES%%%%DATADIR%%/Roland_SC-55.sf2
%%DATADIR%%/access.dat
%%DATADIR%%/achievements.dat
%%DATADIR%%/classicmacfonts.dat
%%XENGINES%%%%DATADIR%%/cryo.dat
%%DATADIR%%/cryomni3d.dat
%%DATADIR%%/drascula.dat
%%DATADIR%%/encoding.dat
%%DATADIR%%/fonts-cjk.dat
%%DATADIR%%/fonts.dat
%%DATADIR%%/freescape.dat
%%DATADIR%%/grim-patch.lab
%%DATADIR%%/gui-icons.dat
%%XENGINES%%%%DATADIR%%/hadesch_translations.dat
%%DATADIR%%/helpdialog.zip
%%DATADIR%%/hugo.dat
%%DATADIR%%/kyra.dat
%%DATADIR%%/lure.dat
%%DATADIR%%/macgui.dat
%%XENGINES%%%%DATADIR%%/macventure.dat
%%DATADIR%%/mm.dat
%%XENGINES%%%%DATADIR%%/monkey4-patch.m4b
%%DATADIR%%/mort.dat
%%DATADIR%%/myst3.dat
%%DATADIR%%/nancy.dat
%%DATADIR%%/neverhood.dat
%%DATADIR%%/pred.dic
%%DATADIR%%/prince_translation.dat
%%DATADIR%%/queen.tbl
%%DATADIR%%/residualvm.zip
%%DATADIR%%/scummclassic.zip
Expand Down Expand Up @@ -148,6 +157,8 @@ share/pixmaps/scummvm.xpm
%%XENGINES%%%%DATADIR%%/shaders/hpl1_Water_Diffuse.vertex
%%XENGINES%%%%DATADIR%%/shaders/hpl1_Water_Fog.fragment
%%XENGINES%%%%DATADIR%%/shaders/hpl1_Water_Fog.vertex
%%XENGINES%%%%DATADIR%%/shaders/hpl1_gamma_correction.fragment
%%XENGINES%%%%DATADIR%%/shaders/hpl1_gamma_correction.vertex
%%XENGINES%%%%DATADIR%%/shaders/hpl1_refract.fragment
%%XENGINES%%%%DATADIR%%/shaders/hpl1_refract.vertex
%%XENGINES%%%%DATADIR%%/shaders/hpl1_refract_special.fragment
Expand Down Expand Up @@ -175,6 +186,8 @@ share/pixmaps/scummvm.xpm
%%DATADIR%%/shaders/stark_shadow.vertex
%%DATADIR%%/shaders/stark_surface.fragment
%%DATADIR%%/shaders/stark_surface.vertex
%%DATADIR%%/shaders/stark_surface_fill.fragment
%%DATADIR%%/shaders/stark_surface_fill.vertex
%%DATADIR%%/shaders/wme_fade.fragment
%%DATADIR%%/shaders/wme_fade.vertex
%%DATADIR%%/shaders/wme_flat_shadow_mask.fragment
Expand All @@ -201,5 +214,5 @@ share/pixmaps/scummvm.xpm
%%DATADIR%%/toon.dat
%%DATADIR%%/translations.dat
%%DATADIR%%/ultima.dat
%%DATADIR%%/ultima8.dat
%%DATADIR%%/wintermute.zip
%%DATADIR%%/xeen.ccs

0 comments on commit 2073b53

Please sign in to comment.