Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 08:08:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454224 - in head/audio: . eq10q-lv2 eq10q-lv2/files
Message-ID:  <201711150808.vAF88DWF030956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Nov 15 08:08:12 2017
New Revision: 454224
URL: https://svnweb.freebsd.org/changeset/ports/454224

Log:
  New port: audio/eq10q-lv2: Parametric equalizer LV2 audio plugin
  
  PR:		222113
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12846

Added:
  head/audio/eq10q-lv2/
  head/audio/eq10q-lv2/Makefile   (contents, props changed)
  head/audio/eq10q-lv2/distinfo   (contents, props changed)
  head/audio/eq10q-lv2/files/
  head/audio/eq10q-lv2/files/patch-CMakeLists.txt   (contents, props changed)
  head/audio/eq10q-lv2/files/patch-dsp_filter.h   (contents, props changed)
  head/audio/eq10q-lv2/files/patch-dsp_vu.h   (contents, props changed)
  head/audio/eq10q-lv2/pkg-descr   (contents, props changed)
  head/audio/eq10q-lv2/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Wed Nov 15 05:23:19 2017	(r454223)
+++ head/audio/Makefile	Wed Nov 15 08:08:12 2017	(r454224)
@@ -128,6 +128,7 @@
     SUBDIR += emms
     SUBDIR += enscribe
     SUBDIR += epos-devel
+    SUBDIR += eq10q-lv2
     SUBDIR += esound
     SUBDIR += espeak
     SUBDIR += esperanza

Added: head/audio/eq10q-lv2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/Makefile	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	eq10q
+DISTVERSION=	2.2
+CATEGORIES=	audio
+MASTER_SITES=	SF/${PORTNAME}
+PKGNAMESUFFIX=	-lv2
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Parametric equalizer LV2 audio plugin
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	lv2>0:audio/lv2
+LIB_DEPENDS=	libfftw3.so:math/fftw3 \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
+
+USES=		cmake:outsource dos2unix localbase:ldflags pkgconfig
+USE_GNOME=	glib20 gtk20 gtkmm24 gdkpixbuf2 atkmm cairo cairomm pangomm
+DOS2UNIX_FILES=	dsp/vu.h
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/pow10(/pow(10,/g' \
+		${WRKSRC}/gui/widgets/*.cpp
+
+.include <bsd.port.mk>

Added: head/audio/eq10q-lv2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/distinfo	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1504743992
+SHA256 (eq10q-2.2.tar.gz) = 337f4c703ba31902565faad1cd450cf0312ad5a48dc499661277f287b662b09a
+SIZE (eq10q-2.2.tar.gz) = 797991

Added: head/audio/eq10q-lv2/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/files/patch-CMakeLists.txt	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.orig	2016-12-11 12:07:48 UTC
++++ CMakeLists.txt
+@@ -2,8 +2,8 @@
+ cmake_minimum_required(VERSION 2.8)
+ PROJECT(eq10q)
+ 
+-##ADD_DEFINITIONS(-Wall -O3 -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99)
+-set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99")
++##ADD_DEFINITIONS(-Wall -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99)
++set(CMAKE_C_FLAGS "-Wall -fPIC -finline-functions  -msse -mfpmath=sse -std=c99")
+ #set(CMAKE_C_FLAGS "-Wall -O0 -g -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99")
+ 
+ set(CMAKE_CXX_FLAGS "-Wall -fPIC -std=c++11")

Added: head/audio/eq10q-lv2/files/patch-dsp_filter.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/files/patch-dsp_filter.h	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,23 @@
+--- dsp/filter.h.orig	2016-12-11 12:07:54 UTC
++++ dsp/filter.h
+@@ -237,13 +237,13 @@ static inline void calcCoefs(Filter *fil
+ 	double G12 = G1 * G1;
+ 	
+ 	//Digital filter
+-	double F   = fabsf(G2  - GB2);// + 0.00000001f; ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0 
+-	double G00 = fabsf(G2  - 1.0);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
+-	double F00 = fabsf(GB2 - 1.0);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
+-	double G01 = fabsf(G2  - G1);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
+-	double G11 = fabsf(G2  - G12);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
+-	double F01 = fabsf(GB2 - G1);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
+-	double F11 = fabsf(GB2 - G12);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
++	double F   = fabs(G2  - GB2);// + 0.00000001f; ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0 
++	double G00 = fabs(G2  - 1.0);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
++	double F00 = fabs(GB2 - 1.0);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
++	double G01 = fabs(G2  - G1);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
++	double G11 = fabs(G2  - G12);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
++	double F01 = fabs(GB2 - G1);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
++	double F11 = fabs(GB2 - G12);// + 0.00000001f;  ///TODO akest petit num sumat en teoria no hi va pero he detectat div by 0
+ 	double W2 = sqrtf(G11 / G00) * tanf(w0/2.0) * tanf(w0/2.0);
+ 
+ 	//Bandwidth condition

Added: head/audio/eq10q-lv2/files/patch-dsp_vu.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/files/patch-dsp_vu.h	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,11 @@
+--- dsp/vu.h.orig	2016-12-11 12:07:54 UTC
++++ dsp/vu.h
+@@ -49,7 +49,7 @@ static inline void resetVU(Vu *vu)
+ //Inputs a sample to VU
+ static inline void SetSample(Vu *vu, float sample)
+ {
+-  vu->vu_value = fabsf(sample);
++  vu->vu_value = fabs(sample);
+   vu->vu_max = vu->vu_value > vu->vu_max ? vu->vu_value :  vu->vu_max;
+ }
+ 

Added: head/audio/eq10q-lv2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/pkg-descr	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,19 @@
+EQ10Q is an audio plugin bundle over the LV2 standard, implementing a powerful
+and flexible parametric equalizer and more.
+
+All audio processing developed in this project is written in C language and
+highly optimized focusing on DSP load reduction yet keeping a superb audio
+quality, the audio engine is always working in 64 bits floating point maths but
+interfacing with LV2 ports using the standard 32 bits numbers. We believe that
+a good plugin is not completely useful without a full featured graphical user
+interface (GUI) that provides the correct way to set it up. For this reason,
+each plugin distributed in this bundle is supplied with a nice GUI. These GUI's
+are written in C++ and Gtkmm libraries to gain a great control over the
+graphics.
+
+The project is licensed under GPL so feel free to copy, redistribute and modify.
+Although, if your are really convinced of doing some possible interesting
+changes in the source code, please mail me and we can discuss about
+incorporating your awesome ideas in the main project.
+
+WWW: http://eq10q.sourceforge.net

Added: head/audio/eq10q-lv2/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eq10q-lv2/pkg-plist	Wed Nov 15 08:08:12 2017	(r454224)
@@ -0,0 +1,58 @@
+lib/lv2/sapistaEQv2.lv2/bassup.so
+lib/lv2/sapistaEQv2.lv2/bassup.ttl
+lib/lv2/sapistaEQv2.lv2/compressor.so
+lib/lv2/sapistaEQv2.lv2/compressor.ttl
+lib/lv2/sapistaEQv2.lv2/compressor_sc.so
+lib/lv2/sapistaEQv2.lv2/compressor_sc.ttl
+lib/lv2/sapistaEQv2.lv2/compressor_stereo.so
+lib/lv2/sapistaEQv2.lv2/compressor_stereo.ttl
+lib/lv2/sapistaEQv2.lv2/compressor_stereo_sc.so
+lib/lv2/sapistaEQv2.lv2/compressor_stereo_sc.ttl
+lib/lv2/sapistaEQv2.lv2/eq10qm.so
+lib/lv2/sapistaEQv2.lv2/eq10qm.ttl
+lib/lv2/sapistaEQv2.lv2/eq10qs.so
+lib/lv2/sapistaEQv2.lv2/eq10qs.ttl
+lib/lv2/sapistaEQv2.lv2/eq1qm.so
+lib/lv2/sapistaEQv2.lv2/eq1qm.ttl
+lib/lv2/sapistaEQv2.lv2/eq1qs.so
+lib/lv2/sapistaEQv2.lv2/eq1qs.ttl
+lib/lv2/sapistaEQv2.lv2/eq4qm.so
+lib/lv2/sapistaEQv2.lv2/eq4qm.ttl
+lib/lv2/sapistaEQv2.lv2/eq4qs.so
+lib/lv2/sapistaEQv2.lv2/eq4qs.ttl
+lib/lv2/sapistaEQv2.lv2/eq6qm.so
+lib/lv2/sapistaEQv2.lv2/eq6qm.ttl
+lib/lv2/sapistaEQv2.lv2/eq6qs.so
+lib/lv2/sapistaEQv2.lv2/eq6qs.ttl
+lib/lv2/sapistaEQv2.lv2/gate.so
+lib/lv2/sapistaEQv2.lv2/gate.ttl
+lib/lv2/sapistaEQv2.lv2/gate_stereo.so
+lib/lv2/sapistaEQv2.lv2/gate_stereo.ttl
+lib/lv2/sapistaEQv2.lv2/gui/bassup_gui.so
+lib/lv2/sapistaEQv2.lv2/gui/combopix/hishelf.png
+lib/lv2/sapistaEQv2.lv2/gui/combopix/hpf.png
+lib/lv2/sapistaEQv2.lv2/gui/combopix/loshelf.png
+lib/lv2/sapistaEQv2.lv2/gui/combopix/lpf.png
+lib/lv2/sapistaEQv2.lv2/gui/combopix/notch.png
+lib/lv2/sapistaEQv2.lv2/gui/combopix/peak.png
+lib/lv2/sapistaEQv2.lv2/gui/dynamics_gui.so
+lib/lv2/sapistaEQv2.lv2/gui/eq10q_gui.so
+lib/lv2/sapistaEQv2.lv2/gui/icons/logobassup.png
+lib/lv2/sapistaEQv2.lv2/gui/icons/logodynamics.png
+lib/lv2/sapistaEQv2.lv2/gui/icons/logoeq10q.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/fader_dark.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/fader_white.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob2_25px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob2_28px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob2_32px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob2_35px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob_bassup_165px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob_bassup_84px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/knob_green_84px.png
+lib/lv2/sapistaEQv2.lv2/gui/knobs/mixer_knob.xcf
+lib/lv2/sapistaEQv2.lv2/gui/matrix_ms_gui.so
+lib/lv2/sapistaEQv2.lv2/lr2ms.ttl
+lib/lv2/sapistaEQv2.lv2/manifest.ttl
+lib/lv2/sapistaEQv2.lv2/matrix_lr2ms.so
+lib/lv2/sapistaEQv2.lv2/matrix_ms2lr.so
+lib/lv2/sapistaEQv2.lv2/ms2lr.ttl



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