svn commit: r516900 - in head/multimedia: ffms2 vapoursynth vapoursynth-l-smash-works

Mathieu Arnold mat at FreeBSD.org
Thu Nov 7 08:10:35 UTC 2019


On Wed, Nov 06, 2019 at 04:42:28PM +0000, Jan Beich wrote:
> Author: jbeich
> Date: Wed Nov  6 16:42:28 2019
> New Revision: 516900
> URL: https://svnweb.freebsd.org/changeset/ports/516900
> 
> Log:
>   multimedia/vapoursynth: mark BROKEN on non-x86
> 
> Modified:
>   head/multimedia/ffms2/Makefile   (contents, props changed)
>   head/multimedia/vapoursynth-l-smash-works/Makefile   (contents, props changed)
>   head/multimedia/vapoursynth/Makefile   (contents, props changed)
> 
> Modified: head/multimedia/ffms2/Makefile
> ==============================================================================
> --- head/multimedia/ffms2/Makefile	Wed Nov  6 16:42:19 2019	(r516899)
> +++ head/multimedia/ffms2/Makefile	Wed Nov  6 16:42:28 2019	(r516900)
> @@ -11,18 +11,24 @@ COMMENT=	FFmpeg-based source library and VapourSynth p
>  LICENSE=	MIT
>  LICENSE_FILE=	${WRKSRC}/COPYING
>  
> +.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386

We never use MACHINE_ARCH in the ports tree, we use ARCH, and it is only
available after an include.  All our tools use/set ARCH, so, please use
it.

>  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
> 
> Modified: head/multimedia/vapoursynth-l-smash-works/Makefile
> ==============================================================================
> --- head/multimedia/vapoursynth-l-smash-works/Makefile	Wed Nov  6 16:42:19 2019	(r516899)
> +++ head/multimedia/vapoursynth-l-smash-works/Makefile	Wed Nov  6 16:42:28 2019	(r516900)
> @@ -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}
> 
> Modified: head/multimedia/vapoursynth/Makefile
> ==============================================================================
> --- head/multimedia/vapoursynth/Makefile	Wed Nov  6 16:42:19 2019	(r516899)
> +++ head/multimedia/vapoursynth/Makefile	Wed Nov  6 16:42:28 2019	(r516900)
> @@ -9,6 +9,9 @@ COMMENT=	Video processing framework with simplicity in
>  
>  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
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20191107/41873039/attachment.sig>


More information about the svn-ports-head mailing list