Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163409324
D11973.id31910.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D11973.id31910.diff
View Options
Index: audio/zita-convolver/Makefile
===================================================================
--- /dev/null
+++ audio/zita-convolver/Makefile
@@ -0,0 +1,30 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= zita-convolver
+PORTVERSION= 3.1.0
+CATEGORIES= audio
+MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+
+MAINTAINER= yuri@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= ${WRKDIR}/${DISTNAME}/libs
+
+PLIST_FILES= include/zita-convolver.h \
+ lib/libzita-convolver.so \
+ lib/libzita-convolver.so.3 \
+ lib/libzita-convolver.so.${PORTVERSION}
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libzita-convolver.so.${PORTVERSION}
+
+.include <bsd.port.mk>
Index: audio/zita-convolver/distinfo
===================================================================
--- /dev/null
+++ audio/zita-convolver/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1501728395
+SHA256 (zita-convolver-3.1.0.tar.bz2) = bf7e93b582168b78d40666974460ad8142c2fa3c3412e327e4ab960b3fb31993
+SIZE (zita-convolver-3.1.0.tar.bz2) = 21485
Index: audio/zita-convolver/files/patch-Makefile
===================================================================
--- /dev/null
+++ audio/zita-convolver/files/patch-Makefile
@@ -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.*
Index: audio/zita-convolver/files/patch-zita-convolver.h
===================================================================
--- /dev/null
+++ audio/zita-convolver/files/patch-zita-convolver.h
@@ -0,0 +1,11 @@
+--- zita-convolver.h.orig 2011-12-02 21:22:15 UTC
++++ zita-convolver.h
+@@ -74,7 +74,7 @@ class ZCsema (private)
+ #endif
+
+
+-#ifdef __APPLE__
++#ifdef __FreeBSD__
+
+ // NOTE: ***** I DO NOT REPEAT NOT PROVIDE SUPPORT FOR OSX *****
+ //
Index: audio/zita-convolver/pkg-descr
===================================================================
--- /dev/null
+++ audio/zita-convolver/pkg-descr
@@ -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/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 11:19 PM (9 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35419216
Default Alt Text
D11973.id31910.diff (3 KB)
Attached To
Mode
D11973: [NEW PORT] audio/zita-convolver: Fast, partitioned convolution engine library
Attached
Detach File
Event Timeline
Log In to Comment