diff options
-rw-r--r-- | multimedia/ffms2/Makefile | 6 | ||||
-rw-r--r-- | multimedia/vapoursynth-l-smash-works/Makefile | 6 | ||||
-rw-r--r-- | multimedia/vapoursynth/Makefile | 3 |
3 files changed, 15 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 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} diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile index 0f8477d6fad6..dc1f485fc47e 100644 --- a/multimedia/vapoursynth/Makefile +++ b/multimedia/vapoursynth/Makefile @@ -9,6 +9,9 @@ COMMENT= Video processing framework with simplicity in mind LICENSE= LGPL21+ +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= https://github.com/vapoursynth/vapoursynth/issues/509 + USE_GITHUB= yes USES= autoreconf gmake libtool localbase pathfix pkgconfig |