Skip to content

Commit

Permalink
net/opal: Move to FFmpeg 4
Browse files Browse the repository at this point in the history
Fails to build with FFmpeg 6

PR:		270325
Approved by:	portmgr (blanket, build fix)
Sponsored by:	Blinkinblox
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Apr 27, 2023
1 parent c46e6a0 commit ad20a02
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions net/opal/Makefile
Expand Up @@ -16,9 +16,9 @@ USES= compiler:c11 gmake pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

CXXFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CXXFLAGS+= -I${LOCALBASE}/ffmpeg4/include -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/ffmpeg4/include -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib -L${LOCALBASE}/lib

OPTIONS_DEFINE= JAVA ILBC GSM SPEEX THEORA FFMPEG X264 SIP H323 IAX \
H224 H281 FAX MSRP SIPIM RTPTEXT H450 H460 H501 LID UVIDEO \
Expand Down Expand Up @@ -131,9 +131,10 @@ PLIST_SUB+= X264="@comment "
.endif

.if ${PORT_OPTIONS:MFFMPEG}
BUILD_DEPENDS+= ffmpeg>=2:multimedia/ffmpeg
RUN_DEPENDS+= ffmpeg>=2:multimedia/ffmpeg
LIB_DEPENDS+= libavutil.so.56:multimedia/ffmpeg4
CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
CONFIGURE_ARGS+= --enable-libavcodec
MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
PLIST_SUB+= FFMPEG=""
WITH_VIDEO= yes
.else
Expand Down

0 comments on commit ad20a02

Please sign in to comment.