1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

games/alephone: Spell FFMPEG_* correctly

Disable FFMPEG option by default and mark it as broken since it does not build:

SDL_ffmpeg.c:89:103: warning: declaration of 'enum PixelFormat' will not be visible outside of this function [-Wvisibility]
struct SwsContext* getContext( SDL_ffmpegConversionContext **context, int inWidth, int inHeight, enum PixelFormat inFormat, int outWidth, int outHeight, enum PixelFormat outFormat )
                                                                                                      ^
SDL_ffmpeg.c:89:115: error: variable has incomplete type 'enum PixelFormat'
struct SwsContext* getContext( SDL_ffmpegConversionContext **context, int inWidth, int inHeight, enum PixelFormat inFormat, int outWidth, int outHeight, enum PixelFormat outFormat )
                                                                                                                  ^
This commit is contained in:
Tobias Kortkamp 2019-10-19 07:33:46 +00:00
parent 85baff432c
commit c950518d71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514764

View File

@ -25,7 +25,7 @@ PORTDOCS= *
DATADIR= ${PREFIX}/share/AlephOne
OPTIONS_DEFINE= MAD FFMPEG OGG SPEEX SMPEG ZZIP PNG CURL SNDFILE DOCS
OPTIONS_DEFAULT=MAD FFMPEG OGG SPEEX SMPEG ZZIP PNG CURL SNDFILE
OPTIONS_DEFAULT=MAD OGG SPEEX SMPEG ZZIP PNG CURL SNDFILE
FFMPEG_DESC= Use ffmpeg for film export and playback
SMPEG_DESC= Use SMPEG for movie playback
@ -33,8 +33,9 @@ ZZIP_DESC= Enable zziplib support
MAD_LIB_DEPENDS= libmad.so:audio/libmad
MAD_CONFIGURE_WITH= mad
FMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FMPEG_CONFIGURE_WITH= ffmpeg
FFMPEG_BROKEN= fails to build with FFMPEG=on
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CONFIGURE_WITH= ffmpeg
OGG_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
OGG_CONFIGURE_WITH= vorbis
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex