Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110461373
D12059.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
5 KB
Referenced Files
None
Subscribers
None
D12059.diff
View Options
Index: head/audio/Makefile
===================================================================
--- head/audio/Makefile
+++ head/audio/Makefile
@@ -328,6 +328,7 @@
SUBDIR += id3v2
SUBDIR += idjc
SUBDIR += ifp-line
+ SUBDIR += ir-lv2
SUBDIR += jack
SUBDIR += jack-keyboard
SUBDIR += jack-rack
Index: head/audio/ir-lv2/Makefile
===================================================================
--- head/audio/ir-lv2/Makefile
+++ head/audio/ir-lv2/Makefile
@@ -0,0 +1,36 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= ir
+PORTVERSION= g20130909
+CATEGORIES= audio
+PKGNAMESUFFIX= -lv2
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= LV2 impulse response plugin for reverb and cabinet simulation
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= lv2>0:audio/lv2 \
+ ${LOCALBASE}/include/fftw3.h:math/fftw3
+LIB_DEPENDS= libfreetype.so:print/freetype2 \
+ libsndfile.so:audio/libsndfile \
+ libsamplerate.so:audio/libsamplerate \
+ libzita-convolver.so:audio/zita-convolver \
+ libfontconfig.so:x11-fonts/fontconfig
+
+USES= gmake pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= Anchakor
+GH_PROJECT= ir.lv2
+GH_TAGNAME= af1f8ab
+USE_GNOME= glib20 gtk20 gdkpixbuf2 cairo
+
+PLIST_FILES= lib/lv2/ir.lv2/ir.so lib/lv2/ir.lv2/ir.ttl \
+ lib/lv2/ir.lv2/ir_gui.so lib/lv2/ir.lv2/manifest.ttl
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/ir.lv2/*.so
+
+.include <bsd.port.mk>
Index: head/audio/ir-lv2/distinfo
===================================================================
--- head/audio/ir-lv2/distinfo
+++ head/audio/ir-lv2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1502858890
+SHA256 (Anchakor-ir.lv2-g20130909-af1f8ab_GH0.tar.gz) = 430eb1733aff4a9e8d3eec57097141026a08366bd43f891ad70ec4a5dc552037
+SIZE (Anchakor-ir.lv2-g20130909-af1f8ab_GH0.tar.gz) = 51267
Index: head/audio/ir-lv2/files/patch-Makefile
===================================================================
--- head/audio/ir-lv2/files/patch-Makefile
+++ head/audio/ir-lv2/files/patch-Makefile
@@ -0,0 +1,54 @@
+--- Makefile.orig 2013-09-10 06:27:31 UTC
++++ Makefile
+@@ -4,8 +4,8 @@
+ # Issue 'make convert4chan' to compile the 4-channel converter utility
+ # (for local use, not installed by make install)
+
+-PREFIX = /usr
+-INSTDIR = $(PREFIX)/lib/lv2/ir.lv2
++PREFIX ?= /usr
++INSTDIR = $(DESTDIR)/$(PREFIX)/lib/lv2/ir.lv2
+
+ INST_FILES = ir.so ir_gui.so ir.ttl manifest.ttl
+
+@@ -27,31 +27,31 @@ C4LIBS = -lsndfile `pkg-config --libs gt
+ all: ir.so ir_gui.so
+
+ ir.o: ir.cc ir.h ir_utils.h
+- g++ ir.cc $(CPPFLAGS) -c -fPIC -o ir.o
++ $(CXX) ir.cc $(CPPFLAGS) -c -fPIC -o ir.o
+
+ ir_gui.o: ir_gui.cc ir.h ir_utils.h ir_wavedisplay.h
+- g++ ir_gui.cc $(CPPFLAGS) -c -fPIC -o ir_gui.o
++ $(CXX) ir_gui.cc $(CPPFLAGS) -c -fPIC -o ir_gui.o
+
+ ir_utils.o: ir_utils.cc ir_utils.h ir.h
+- g++ ir_utils.cc $(CPPFLAGS) -c -fPIC -o ir_utils.o
++ $(CXX) ir_utils.cc $(CPPFLAGS) -c -fPIC -o ir_utils.o
+
+ ir_meter.o: ir_meter.cc ir_meter.h ir.h ir_utils.h
+- g++ ir_meter.cc $(CPPFLAGS) -c -fPIC -o ir_meter.o
++ $(CXX) ir_meter.cc $(CPPFLAGS) -c -fPIC -o ir_meter.o
+
+ ir_modeind.o: ir_modeind.cc ir_modeind.h ir.h ir_utils.h
+- g++ ir_modeind.cc $(CPPFLAGS) -c -fPIC -o ir_modeind.o
++ $(CXX) ir_modeind.cc $(CPPFLAGS) -c -fPIC -o ir_modeind.o
+
+ ir_wavedisplay.o: ir_wavedisplay.cc ir_wavedisplay.h ir.h ir_utils.h
+- g++ ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC -o ir_wavedisplay.o
++ $(CXX) ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC -o ir_wavedisplay.o
+
+ ir.so: ir.o ir_utils.o
+- g++ $(LDFLAGS) ir.o ir_utils.o $(LIBS) -shared -o ir.so
++ $(CXX) $(LDFLAGS) ir.o ir_utils.o $(LIBS) -shared -o ir.so
+
+ ir_gui.so: ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o
+- g++ $(LDFLAGS) ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -z nodelete -o ir_gui.so
++ $(CXX) $(LDFLAGS) ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so
+
+ convert4chan: convert4chan.c
+- gcc $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
++ $(CC) $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
+
+ install: all
+ mkdir -p $(INSTDIR)
Index: head/audio/ir-lv2/files/patch-ir.h
===================================================================
--- head/audio/ir-lv2/files/patch-ir.h
+++ head/audio/ir-lv2/files/patch-ir.h
@@ -0,0 +1,12 @@
+--- ir.h.orig 2013-09-10 06:27:31 UTC
++++ ir.h
+@@ -35,6 +35,9 @@
+ #define BSIZE_SR 0x1000 /* Blocksize for SRC */
+ #define MAXSIZE 0x00100000 /* Max. available convolver size of zita-convolver */
+
++#define exp10(x) pow(10., x) // TODO not as good as exp10()?
++#define exp10f(x) powf(10., x) // TODO not as good as exp10f()?
++
+ #define DB_CO(g) ((g) > -90.0f ? exp10f((g) * 0.05f) : 0.0f)
+ #define CO_DB(g) ((g) > 0.0f ? 20.0f * log10f(g) : -90.0f)
+
Index: head/audio/ir-lv2/pkg-descr
===================================================================
--- head/audio/ir-lv2/pkg-descr
+++ head/audio/ir-lv2/pkg-descr
@@ -0,0 +1,10 @@
+LV2 Impulse response (convolution) plugin (for reverb and cabinet simulation).
+This fork adds LV2 State extenstion support for proper storing of internal
+plugin data.
+
+IR is a no-latency/low-latency, realtime, high performance signal
+convolver especially for creating reverb effects. Supports impulse
+responses with 1, 2 or 4 channels, in any soundfile format supported
+by libsndfile.
+
+WWW: https://github.com/Anchakor/ir.lv2
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 19, 6:44 PM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16726092
Default Alt Text
D12059.diff (5 KB)
Attached To
Mode
D12059: [NEW PORT] audio/ir-lv2: LV2 impulse response plugin for reverb and cabinet simulation
Attached
Detach File
Event Timeline
Log In to Comment