2018-05-29 05:17:39 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zam-plugins
|
2018-07-22 04:05:29 -04:00
|
|
|
DISTVERSION= 3.10-13
|
|
|
|
DISTVERSIONSUFFIX= -gfbdbf08
|
Bump PORTREVISION for ports depending on the canonical version of GCC
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
2018-07-29 18:18:44 -04:00
|
|
|
PORTREVISION= 2
|
2018-05-29 05:17:39 -04:00
|
|
|
CATEGORIES= audio
|
|
|
|
PKGNAMESUFFIX= -lv2
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugins
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2018-06-23 21:36:11 -04:00
|
|
|
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'
|
|
|
|
|
2018-05-29 05:17:39 -04:00
|
|
|
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
|
2018-07-22 04:05:29 -04:00
|
|
|
GH_TUPLE= DISTRHO:DPF:2786991:d/dpf
|
2018-05-29 05:17:39 -04:00
|
|
|
USE_GL= gl
|
|
|
|
USE_XORG= x11
|
|
|
|
|
|
|
|
CFLAGS+= -I${FILESDIR}
|
2018-07-22 04:05:29 -04:00
|
|
|
MAKE_ARGS+= USE_SYSTEM_LIBS=1
|
|
|
|
xLDFLAGS+= -lzita-convolver # TODO this can be reduced to only relevant places
|
2018-05-29 05:17:39 -04:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} -r ${WRKSRC}/lib/zita-convolver-*
|
|
|
|
|
|
|
|
post-patch:
|
2018-07-22 04:05:29 -04:00
|
|
|
#@${REINPLACE_CMD} -e 's|#include "../../lib/zita-convolver-.*/zita-convolver.h"|#include <zita-convolver.h>|' ${WRKSRC}/plugins/Zam*/convolution.*pp
|
2018-05-29 05:17:39 -04:00
|
|
|
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|