svn commit: r447743 - in head/audio: . zita-convolver zita-convolver/files
Richard Gallamore
ultima at FreeBSD.org
Fri Aug 11 08:26:33 UTC 2017
Author: ultima
Date: Fri Aug 11 08:26:31 2017
New Revision: 447743
URL: https://svnweb.freebsd.org/changeset/ports/447743
Log:
A C++ library implementing a real-time convolution matrix for up to 64 inputs
and outputs. It uses multiple partition sizes to provide both low delay and
efficient CPU use.
WWW: http://kokkinizita.linuxaudio.org/linuxaudio/
PR: 221193
Submitted by: Yuri Victorovich (maintainer)
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D11973
Added:
head/audio/zita-convolver/
head/audio/zita-convolver/Makefile (contents, props changed)
head/audio/zita-convolver/distinfo (contents, props changed)
head/audio/zita-convolver/files/
head/audio/zita-convolver/files/patch-Makefile (contents, props changed)
head/audio/zita-convolver/pkg-descr (contents, props changed)
Modified:
head/audio/Makefile
Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile Fri Aug 11 08:21:17 2017 (r447742)
+++ head/audio/Makefile Fri Aug 11 08:26:31 2017 (r447743)
@@ -861,6 +861,7 @@
SUBDIR += xwave
SUBDIR += yell
SUBDIR += zinf
+ SUBDIR += zita-convolver
SUBDIR += zita-resampler
SUBDIR += zynaddsubfx
Added: head/audio/zita-convolver/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zita-convolver/Makefile Fri Aug 11 08:26:31 2017 (r447743)
@@ -0,0 +1,34 @@
+# Created by: Yuri Victorovich <yuri at rawbw.com>
+# $FreeBSD$
+
+PORTNAME= zita-convolver
+PORTVERSION= 3.1.0
+CATEGORIES= audio
+MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+
+MAINTAINER= yuri at rawbw.com
+COMMENT= Fast, partitioned convolution engine library
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/../COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
+LIB_DEPENDS= libfftw3f.so:math/fftw3-float
+
+USES= compiler:c++11-lib gmake localbase:ldflags tar:bz2
+USE_LDCONFIG= yes
+WRKSRC_SUBDIR= libs
+
+PLIST_FILES= include/zita-convolver.h \
+ lib/libzita-convolver.so \
+ lib/libzita-convolver.so.3 \
+ lib/libzita-convolver.so.${PORTVERSION}
+
+post-patch:
+ ${REINPLACE_CMD} 's/__APPLE__/__FreeBSD__/' \
+ ${WRKSRC}/zita-convolver.h
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libzita-convolver.so.${PORTVERSION}
+
+.include <bsd.port.mk>
Added: head/audio/zita-convolver/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zita-convolver/distinfo Fri Aug 11 08:26:31 2017 (r447743)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1501728395
+SHA256 (zita-convolver-3.1.0.tar.bz2) = bf7e93b582168b78d40666974460ad8142c2fa3c3412e327e4ab960b3fb31993
+SIZE (zita-convolver-3.1.0.tar.bz2) = 21485
Added: head/audio/zita-convolver/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zita-convolver/files/patch-Makefile Fri Aug 11 08:26:31 2017 (r447743)
@@ -0,0 +1,34 @@
+--- Makefile.orig 2011-11-20 21:30:54 UTC
++++ Makefile
+@@ -21,8 +21,8 @@
+ # Modify as required.
+ #
+ PREFIX = /usr/local
+-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++#SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
++LIBDIR = lib
+
+
+ MAJVERS = 3
+@@ -45,9 +45,10 @@ ZITA-CONVOLVER_DEP = -lfftw3f -lpthread
+ ZITA-CONVOLVER_O = zita-convolver.o
+ ZITA-CONVOLVER_H = zita-convolver.h
+
++all: $(ZITA-CONVOLVER_MIN)
+
+ $(ZITA-CONVOLVER_MIN): $(ZITA-CONVOLVER_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP)
++ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP)
+
+
+ install: $(ZITA-CONVOLVER_MIN)
+@@ -56,7 +57,7 @@ install: $(ZITA-CONVOLVER_MIN)
+ install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(PREFIX)/include
+ install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
+ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_SO)
+- ldconfig
++ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_MAJ)
+
+ clean:
+ /bin/rm -f *~ *.o *.a *.d *.so.*
Added: head/audio/zita-convolver/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zita-convolver/pkg-descr Fri Aug 11 08:26:31 2017 (r447743)
@@ -0,0 +1,5 @@
+A C++ library implementing a real-time convolution matrix for up to 64 inputs
+and outputs. It uses multiple partition sizes to provide both low delay and
+efficient CPU use.
+
+WWW: http://kokkinizita.linuxaudio.org/linuxaudio/
More information about the svn-ports-all
mailing list