mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
91c3b180c1
Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories starting with 'a'.
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 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>
|