Date: Sun, 10 Apr 2016 01:11:35 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412880 - head/multimedia/ffms2 Message-ID: <201604100111.u3A1BZOb086011@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Apr 10 01:11:34 2016 New Revision: 412880 URL: https://svnweb.freebsd.org/changeset/ports/412880 Log: multimedia/ffms2: VapourSynth support - Expose vapoursynth plugin - Unbundle vapoursynth headers Modified: head/multimedia/ffms2/Makefile (contents, props changed) head/multimedia/ffms2/pkg-plist (contents, props changed) Modified: head/multimedia/ffms2/Makefile ============================================================================== --- head/multimedia/ffms2/Makefile Sun Apr 10 01:10:59 2016 (r412879) +++ head/multimedia/ffms2/Makefile Sun Apr 10 01:11:34 2016 (r412880) @@ -2,24 +2,39 @@ PORTNAME= ffms2 DISTVERSION= 2.22 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org -COMMENT= FFmpeg-based source library +COMMENT= FFmpeg-based source library and VapourSynth plugin LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg USE_GITHUB= yes GH_ACCOUNT= FFMS USES= compiler:c++11-lib gmake libtool pathfix pkgconfig +EXCLUDE= VSHelper.h VSScript.h VapourSynth.h +EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules --enable-static CPPFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528 +CPPFLAGS+= `pkg-config vapoursynth --cflags` INSTALL_TARGET= install-strip USE_LDCONFIG= yes +DATADIR= ${PREFIX}/lib/vapoursynth + +post-patch: + @${REINPLACE_CMD} -e '/^dist_doc_DATA/s,=,& \ + doc/${PORTNAME}-vapoursynth.md,' \ + ${WRKSRC}/Makefile.in + +post-install: + ${MKDIR} ${STAGEDIR}${DATADIR} + ${LN} -sf ../libffms2.so ${STAGEDIR}${DATADIR}/ .include <bsd.port.mk> Modified: head/multimedia/ffms2/pkg-plist ============================================================================== --- head/multimedia/ffms2/pkg-plist Sun Apr 10 01:10:59 2016 (r412879) +++ head/multimedia/ffms2/pkg-plist Sun Apr 10 01:11:34 2016 (r412880) @@ -5,6 +5,8 @@ lib/libffms2.a lib/libffms2.so lib/libffms2.so.4 lib/libffms2.so.4.0.0 +%%DATADIR%%/libffms2.so libdata/pkgconfig/ffms2.pc %%PORTDOCS%%%%DOCSDIR%%/ffms2-api.md %%PORTDOCS%%%%DOCSDIR%%/ffms2-changelog.md +%%PORTDOCS%%%%DOCSDIR%%/ffms2-vapoursynth.md
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604100111.u3A1BZOb086011>