Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2017 19:53:52 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448184 - in head/audio: . ir-lv2 ir-lv2/files
Message-ID:  <201708171953.v7HJrqkg009641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Thu Aug 17 19:53:52 2017
New Revision: 448184
URL: https://svnweb.freebsd.org/changeset/ports/448184

Log:
  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
  
  PR:		221232
  Submitted by:	Yuri Victorovich (maintainer)
  Reviewed by:	matthew (mentor)
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12059

Added:
  head/audio/ir-lv2/
  head/audio/ir-lv2/Makefile   (contents, props changed)
  head/audio/ir-lv2/distinfo   (contents, props changed)
  head/audio/ir-lv2/files/
  head/audio/ir-lv2/files/patch-Makefile   (contents, props changed)
  head/audio/ir-lv2/files/patch-ir.h   (contents, props changed)
  head/audio/ir-lv2/pkg-descr   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Thu Aug 17 19:50:26 2017	(r448183)
+++ head/audio/Makefile	Thu Aug 17 19:53:52 2017	(r448184)
@@ -328,6 +328,7 @@
     SUBDIR += id3v2
     SUBDIR += idjc
     SUBDIR += ifp-line
+    SUBDIR += ir-lv2
     SUBDIR += jack
     SUBDIR += jack-keyboard
     SUBDIR += jack-rack

Added: head/audio/ir-lv2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ir-lv2/Makefile	Thu Aug 17 19:53:52 2017	(r448184)
@@ -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>

Added: head/audio/ir-lv2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ir-lv2/distinfo	Thu Aug 17 19:53:52 2017	(r448184)
@@ -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

Added: head/audio/ir-lv2/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ir-lv2/files/patch-Makefile	Thu Aug 17 19:53:52 2017	(r448184)
@@ -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)

Added: head/audio/ir-lv2/files/patch-ir.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ir-lv2/files/patch-ir.h	Thu Aug 17 19:53:52 2017	(r448184)
@@ -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)
+ 

Added: head/audio/ir-lv2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ir-lv2/pkg-descr	Thu Aug 17 19:53:52 2017	(r448184)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708171953.v7HJrqkg009641>