09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= zam-plugins
|
|
DISTVERSION= 3.10-13
|
|
DISTVERSIONSUFFIX= -gfbdbf08
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
PKGNAMESUFFIX= -lv2
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugins
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_aarch64= fails to compile: unknown FP unit 'sse'
|
|
BROKEN_armv6= fails to compile: unknown FP unit 'sse'
|
|
BROKEN_armv7= fails to compile: unknown FP unit 'sse'
|
|
BROKEN_powerpc64= fails to compile: unknown FP unit 'sse'
|
|
|
|
BUILD_DEPENDS= lv2>0:audio/lv2 \
|
|
${LOCALBASE}/include/fftw3.h:math/fftw3
|
|
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
|
|
libjack.so:audio/jack \
|
|
libsamplerate.so:audio/libsamplerate \
|
|
libzita-convolver.so:audio/zita-convolver
|
|
|
|
USES= compiler:c++11-lib gmake localbase:ldflags pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= zamaudio
|
|
GH_TUPLE= DISTRHO:DPF:2786991:d/dpf
|
|
USE_GL= gl
|
|
USE_XORG= x11
|
|
|
|
CFLAGS+= -I${FILESDIR}
|
|
MAKE_ARGS+= USE_SYSTEM_LIBS=1
|
|
xLDFLAGS+= -lzita-convolver # TODO this can be reduced to only relevant places
|
|
|
|
post-extract:
|
|
@${RM} -r ${WRKSRC}/lib/zita-convolver-*
|
|
|
|
post-patch:
|
|
#@${REINPLACE_CMD} -e 's|#include "../../lib/zita-convolver-.*/zita-convolver.h"|#include <zita-convolver.h>|' ${WRKSRC}/plugins/Zam*/convolution.*pp
|
|
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh
|
|
|
|
.include <bsd.port.mk>
|