On Sat, Jun 01, 2019 at 11:00:46PM +0200, Juan Francisco Cantero Hurtado wrote:
[...]
> 
> Can you remove the flavor and just enable the codec?

That would be this (built it again without issues):

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v
retrieving revision 1.184
diff -u -p -r1.184 Makefile
--- Makefile    23 May 2019 08:51:21 -0000      1.184
+++ Makefile    2 Jun 2019 23:57:31 -0000
@@ -4,7 +4,7 @@ COMMENT=        audio/video converter and strea
 
 V=             4.1.3
 DISTNAME=      ffmpeg-${V}
-REVISION=      1
+REVISION=      2
 CATEGORIES=    graphics multimedia
 MASTER_SITES=  https://ffmpeg.org/releases/
 EXTRACT_SUFX=  .tar.xz
@@ -30,8 +30,8 @@ PERMIT_PACKAGE_FTP=   Yes
 
 WANTLIB=       SDL2 X11 Xext Xv ass bz2 c crypto dav1d fontconfig freetype \
                fribidi gsm iconv lzma m mp3lame opus pthread sndio speex ssl \
-               v4l2 vorbis vorbisenc vpx x264 x265 xcb xcb-shape xcb-shm \
-               xcb-xfixes xml2 xvidcore z
+               theora v4l2 vorbis vorbisenc vpx x264 x265 xcb xcb-shape \
+               xcb-shm xcb-xfixes xml2 xvidcore z
 
 BUILD_DEPENDS= textproc/texi2html \
                multimedia/frei0r-plugins
@@ -51,6 +51,7 @@ LIB_DEPENDS=  archivers/bzip2 \
                multimedia/libass \
                multimedia/libv4l \
                multimedia/libvpx \
+               multimedia/libtheora \
                multimedia/x264 \
                multimedia/x265 \
                multimedia/xvidcore \
@@ -105,6 +106,7 @@ CONFIGURE_ARGS+= --enable-shared \
                --enable-libmp3lame \
                --enable-libopus \
                --enable-libspeex \
+               --enable-libtheora \
                --enable-libv4l2 \
                --enable-libvorbis \
                --enable-libvpx \
@@ -163,7 +165,7 @@ VERSION_FLAGS=      libavcodec_VERSION=${LIBa
                libswscale_VERSION=${LIBswscale_VERSION}
 
 MAKE_FLAGS=    ${VERSION_FLAGS} \
-               LIBavcodec_EXTRALIBS="-lswresample -lavutil 
${LIBavcodec_EXTRALIBS}" \
+               LIBavcodec_EXTRALIBS="-lswresample -lavutil -ltheora 
${LIBavcodec_EXTRALIBS}" \
                LIBavdevice_EXTRALIBS="-lavfilter -lswscale -lpostproc 
-lavformat -lavcodec -lswresample -lavresample -lavutil 
${LIBavdevice_EXTRALIBS}" \
                LIBavfilter_EXTRALIBS="-lswscale -lpostproc -lavformat 
-lavcodec -lswresample -lavresample -lavutil ${LIBavfilter_EXTRALIBS}" \
                LIBavformat_EXTRALIBS="-lavcodec -lswresample -lavutil 
${LIBavformat_EXTRALIBS}" \

Reply via email to