Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2019 07:33:47 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514764 - head/games/alephone
Message-ID:  <201910190733.x9J7Xl0d070411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910190733.x9J7Xl0d070411>