multimedia/vapoursynth: mark BROKEN on non-x86

This commit is contained in:
Jan Beich 2019-11-06 16:42:28 +00:00
parent b886f720e1
commit da12a31460
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516900
3 changed files with 15 additions and 0 deletions

View file

@ -11,18 +11,24 @@ COMMENT= FFmpeg-based source library and VapourSynth plugin
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
.endif
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= FFMS GH_ACCOUNT= FFMS
USES= compiler:c++11-lib gmake libtool pathfix pkgconfig USES= compiler:c++11-lib gmake libtool pathfix pkgconfig
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
.endif
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static CONFIGURE_ARGS= --enable-static
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
CPPFLAGS+= `pkg-config vapoursynth --cflags` CPPFLAGS+= `pkg-config vapoursynth --cflags`
.endif
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
USE_LDCONFIG= yes USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth DATADIR= ${PREFIX}/lib/vapoursynth

View file

@ -12,7 +12,9 @@ COMMENT= L-SMASH source plugin for VapourSynth
LICENSE= ISCL LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
.endif
BUILD_DEPENDS+= ffmpeg>=3.2,1:multimedia/ffmpeg BUILD_DEPENDS+= ffmpeg>=3.2,1:multimedia/ffmpeg
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
liblsmash.so:multimedia/l-smash liblsmash.so:multimedia/l-smash
@ -22,8 +24,10 @@ GH_ACCOUNT= VFR-maniac
GH_PROJECT= L-SMASH-Works GH_PROJECT= L-SMASH-Works
USES= gmake pkgconfig shebangfix USES= gmake pkgconfig shebangfix
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
.endif
WRKSRC_SUBDIR= VapourSynth WRKSRC_SUBDIR= VapourSynth
SHEBANG_FILES= configure SHEBANG_FILES= configure
bash_CMD= ${SH} bash_CMD= ${SH}
@ -36,7 +40,9 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \
--extra-libs="${LIBS}" --extra-libs="${LIBS}"
MAKEFILE= GNUmakefile MAKEFILE= GNUmakefile
MAKE_ARGS= STRIP="${STRIP_CMD}" MAKE_ARGS= STRIP="${STRIP_CMD}"
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
CPPFLAGS+= `pkg-config vapoursynth --cflags` CPPFLAGS+= `pkg-config vapoursynth --cflags`
.endif
USE_LDCONFIG= yes USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth DATADIR= ${PREFIX}/lib/vapoursynth
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}

View file

@ -9,6 +9,9 @@ COMMENT= Video processing framework with simplicity in mind
LICENSE= LGPL21+ LICENSE= LGPL21+
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= https://github.com/vapoursynth/vapoursynth/issues/509
USE_GITHUB= yes USE_GITHUB= yes
USES= autoreconf gmake libtool localbase pathfix pkgconfig USES= autoreconf gmake libtool localbase pathfix pkgconfig