svn commit: r514764 - head/games/alephone

Tobias Kortkamp tobik at FreeBSD.org
Sat Oct 19 07:33:47 UTC 2019


Author: tobik
Date: Sat Oct 19 07:33:46 2019
New Revision: 514764
URL: https://svnweb.freebsd.org/changeset/ports/514764

Log:
  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 )
                                                                                                                    ^

Modified:
  head/games/alephone/Makefile

Modified: head/games/alephone/Makefile
==============================================================================
--- head/games/alephone/Makefile	Sat Oct 19 07:25:11 2019	(r514763)
+++ head/games/alephone/Makefile	Sat Oct 19 07:33:46 2019	(r514764)
@@ -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


More information about the svn-ports-head mailing list