Skip to content
Snippets Groups Projects
Commit f23c2689 authored by Kai Knoblich's avatar Kai Knoblich
Browse files

games/scummvm: Add new options, fix QA warnings

* Introduce a TTS option to avoid possible QA stage warnings with build
  environments that have already libspeechd.so because the configure
  script automatically adds it as an additional dependency in that case.

  Set the option as non-default because it's only used by a small set of
  engines and pulls in quite a few dependencies.

* The same as above also applies for enviroments that have GTK3
  installed.  Disable the support for GTK3 for now, as it only affects
  the dialogs in the options menu and it does not cause any major
  changes, but also requires a lot of additional dependencies.

* Add another option, XENGINES, that also enables experimental engines.

* Bump PORTREVISION to force a rebuild due changed dependencies.

PR:		255217
Reported by:	Gian-Simon Purkert <gspurki@gmail.com>
parent 2d0730fe
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
PORTNAME= scummvm
PORTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= games emulators
MASTER_SITES= https://downloads.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/
......@@ -24,6 +25,7 @@ INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-alsa \
--disable-debug \
--disable-gtk \
--disable-nasm \
--disable-tremor \
--enable-verbose-build \
......@@ -33,12 +35,14 @@ CONFIGURE_ARGS= --disable-alsa \
LDFLAGS+= -lpthread
OPTIONS_DEFINE= A52 CURL DOCS FLAC FLUIDSYNTH MP3 MT32EMU PNG SNDIO VORBIS
OPTIONS_DEFINE= A52 CURL DOCS FLAC FLUIDSYNTH MP3 MT32EMU PNG SNDIO TTS VORBIS XENGINES
OPTIONS_DEFAULT= A52 MP3 MT32EMU PNG VORBIS
OPTIONS_SUB= yes
CURL_DESC= Enable ScummVM cloud storage backend
MT32EMU_DESC= MT-32 emulator
TTS_DESC= Text-to-Speech support
XENGINES_DESC= Experimental/Unstable engine support
A52_LIB_DEPENDS= liba52.so:audio/liba52
A52_CONFIGURE_ON= --with-a52-prefix=${LOCALBASE}
......@@ -77,6 +81,13 @@ SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CONFIGURE_ON= --with-sndio-prefix=${LOCALBASE}
SNDIO_CONFIGURE_OFF= --disable-sndio
TTS_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher
TTS_CONFIGURE_ON= --enable-tts
TTS_CONFIGURE_OFF= --disable-tts
XENGINES_CONFIGURE_ON= --enable-all-engines
XENGINES_CONFIGURE_OFF= --disable-all-unstable-engines
.include <bsd.port.pre.mk>
.if ${ARCH} == armv6 || ${ARCH} == armv7
......
......@@ -15,12 +15,14 @@ share/man/man6/scummvm.6.gz
share/metainfo/scummvm.appdata.xml
share/pixmaps/scummvm.xpm
%%DATADIR%%/access.dat
%%XENGINES%%%%DATADIR%%/cryo.dat
%%DATADIR%%/cryomni3d.dat
%%DATADIR%%/drascula.dat
%%DATADIR%%/fonts.dat
%%DATADIR%%/hugo.dat
%%DATADIR%%/kyra.dat
%%DATADIR%%/lure.dat
%%XENGINES%%%%DATADIR%%/macventure.dat
%%DATADIR%%/mort.dat
%%DATADIR%%/neverhood.dat
%%DATADIR%%/pred.dic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment