- Fix build problem (plist generation) with export_xvid.so symlink

- Make port ready for ffmpeg 2.4 and later
- Pet portlint
- Bump PORTREVISION

PR:		194161
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
MFH:		2014Q4
This commit is contained in:
Thomas Zander
2014-10-11 12:16:40 +00:00
parent 45d0014640
commit 41753989a3
2 changed files with 16 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
PORTNAME= transcode
PORTVERSION= 1.1.7
PORTREVISION= 17
PORTREVISION= 18
CATEGORIES= multimedia
MASTER_SITES= http://cdn.bitbucket.org/france/transcode-tcforge/downloads/
@@ -15,13 +15,15 @@ LICENSE= GPLv2
LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
USE_LDCONFIG= yes
USES= gmake pkgconfig tar:bzip2 libtool
USES= gmake libtool pkgconfig tar:bzip2
USE_GCC= any
WANT_SDL= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oss
CPPFLAGS+= -isystem ${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
NO_OPTIONS_SORT= yes
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS X11 MPEG2 BKTR POSTPROC FREETYPE LAME \
@@ -149,6 +151,6 @@ post-patch:
post-stage:
@(cd ${STAGEDIR}${PREFIX} && \
${FIND} -s lib/transcode -type f >> ${TMPPLIST})
${FIND} -s lib/transcode -type f -or -type l >> ${TMPPLIST})
.include <bsd.port.mk>

View File

@@ -0,0 +1,11 @@
--- import/probe_ffmpeg.c.orig 2011-11-19 16:50:27 UTC
+++ import/probe_ffmpeg.c
@@ -120,7 +120,7 @@
translate_info(lavf_dmx_context, ipipe->probe_info);
- av_close_input_file(lavf_dmx_context);
+ avformat_close_input(lavf_dmx_context);
return;
}