diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile index 71b389e6ebcd..3e21289407a9 100644 --- a/multimedia/vapoursynth/Makefile +++ b/multimedia/vapoursynth/Makefile @@ -1,39 +1,42 @@ PORTNAME= vapoursynth DISTVERSION= R73 CATEGORIES= multimedia MAINTAINER= multimedia@FreeBSD.org COMMENT= Video processing framework with simplicity in mind WWW= https://www.vapoursynth.com/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg USES= compiler:c++17-lang meson pkgconfig python USE_PYTHON= cython USE_LDCONFIG= yes USE_GITHUB= yes +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= Upstream only targets 64-bit archs and plugins are only optimized and/or runs reasonably fast on aarch64 and amd64 + WITH_LTO= yes LDFLAGS+= -lpthread MESON_ARGS= -Dpython3_bin=${PYTHON_CMD} .include .if !defined(CPUTYPE) && ${ARCH} == amd64 COMMENT+= (compatibility mode) -MESON_ARGS+= -Denable_x86_asm=false +MESON_ARGS+= -Denable_x86_asm=false .endif .if defined(CPUTYPE) && ${ARCH} == amd64 BUILD_FAIL_MESSAGE+= If CPUTYPE is defined but falls under requirements (support for AVX2 instruction set) the build will fail. \ Building without utilizing the instruction set is possible however with performance penalties. \ To disable don't define CPUTYPE during build. \ .endif .include diff --git a/multimedia/vapoursynth/pkg-message b/multimedia/vapoursynth/pkg-message index 6eef2a1dc870..561b1fed1450 100644 --- a/multimedia/vapoursynth/pkg-message +++ b/multimedia/vapoursynth/pkg-message @@ -1,12 +1,11 @@ [ { type: install message: <