blob: a6a3989bde56c9da2158789019d8fc854d31e15a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
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 <bsd.port.mk>
|