freebsd-ports/multimedia/ffms2/Makefile
Jan Beich 84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00

40 lines
1,012 B
Makefile

# $FreeBSD$
PORTNAME= ffms2
DISTVERSION= 2.23
PORTREVISION= 5
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
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= --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 ../lib${PORTNAME}.so ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>