aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vapoursynth-l-smash-works
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/vapoursynth-l-smash-works
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/vapoursynth-l-smash-works')
-rw-r--r--multimedia/vapoursynth-l-smash-works/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/vapoursynth-l-smash-works/Makefile b/multimedia/vapoursynth-l-smash-works/Makefile
index 0e8171ea1b90..0b35b3a2533d 100644
--- a/multimedia/vapoursynth-l-smash-works/Makefile
+++ b/multimedia/vapoursynth-l-smash-works/Makefile
@@ -12,7 +12,9 @@ COMMENT= L-SMASH source plugin for VapourSynth
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
+.endif
BUILD_DEPENDS+= ffmpeg>=3.2,1:multimedia/ffmpeg
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
liblsmash.so:multimedia/l-smash
@@ -22,8 +24,10 @@ GH_ACCOUNT= VFR-maniac
GH_PROJECT= L-SMASH-Works
USES= gmake pkgconfig shebangfix
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
+.endif
WRKSRC_SUBDIR= VapourSynth
SHEBANG_FILES= configure
bash_CMD= ${SH}
@@ -36,7 +40,9 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \
--extra-libs="${LIBS}"
MAKEFILE= GNUmakefile
MAKE_ARGS= STRIP="${STRIP_CMD}"
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
CPPFLAGS+= `pkg-config vapoursynth --cflags`
+.endif
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}