mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dpf-plugins
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
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
|
|
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 <bsd.port.mk>
|