aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffms2
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-11-06 16:42:28 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-11-06 16:42:28 +0000
commitda12a31460cf3fbdb3e568491af9de237a741c6c (patch)
tree0d40a26842f129c516026c30acede0906814252a /multimedia/ffms2
parentb886f720e139c9db5966911c62c7349413855fa0 (diff)
downloadports-da12a31460cf3fbdb3e568491af9de237a741c6c.tar.gz
ports-da12a31460cf3fbdb3e568491af9de237a741c6c.zip
multimedia/vapoursynth: mark BROKEN on non-x86
Notes
Notes: svn path=/head/; revision=516900
Diffstat (limited to 'multimedia/ffms2')
-rw-r--r--multimedia/ffms2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/ffms2/Makefile b/multimedia/ffms2/Makefile
index be78467208aa..6b5c4d29efa1 100644
--- a/multimedia/ffms2/Makefile
+++ b/multimedia/ffms2/Makefile
@@ -11,18 +11,24 @@ COMMENT= FFmpeg-based source library and VapourSynth plugin
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
+.endif
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
USE_GITHUB= yes
GH_ACCOUNT= FFMS
USES= compiler:c++11-lib gmake libtool pathfix pkgconfig
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
CPPFLAGS+= `pkg-config vapoursynth --cflags`
+.endif
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth