# $FreeBSD: head/audio/dpf-plugins-lv2/Makefile 561798 2021-01-17 07:40:51Z yuri $ PORTNAME= dpf-plugins DISTVERSIONPREFIX= v DISTVERSION= 1.4 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of DPF-based LV2 plugins LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= liblo.so:audio/liblo \ libprojectM.so:graphics/libprojectm USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GITHUB= yes GH_ACCOUNT= DISTRHO GH_PROJECT= DPF-Plugins USE_XORG= x11 USE_GL= gl CXXFLAGS+= -I${FILESDIR} LDFLAGS+= -pthread OPTIONS_DEFINE= JACK OPTIONS_DEFAULT= JACK OPTIONS_SUB= yes OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_i386= SIMD JACK_MAKE_ARGS= HAVE_JACK=true JACK_MAKE_ARGS_OFF= HAVE_JACK=false JACK_LIB_DEPENDS= libjack.so:audio/jack SIMD_MAKE_ENV= SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse" post-patch: # disable all plugins except for LV2 @${FIND} ${WRKSRC} -name "*.mk" | ${XARGS} ${REINPLACE_CMD} -i '' -E 's/BUILD_(LADSPA|DSSI|VST2) *= *true/BUILD_\1 = false/' .include