Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2021 17:50:29 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6e5253e7fa24 - main - audio/ebumeter: New port: Real-time audio level metering according to the EBU R-128
Message-ID:  <202107111750.16BHoTsj054166@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e5253e7fa242119741e7e707279ace408592585

commit 6e5253e7fa242119741e7e707279ace408592585
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-11 17:49:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-11 17:50:22 +0000

    audio/ebumeter: New port: Real-time audio level metering according to the EBU R-128
---
 audio/Makefile                      |  1 +
 audio/ebumeter/Makefile             | 30 ++++++++++++++++++++++++++++++
 audio/ebumeter/distinfo             |  3 +++
 audio/ebumeter/files/patch-Makefile | 11 +++++++++++
 audio/ebumeter/pkg-descr            |  7 +++++++
 audio/ebumeter/pkg-plist            | 21 +++++++++++++++++++++
 6 files changed, 73 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index 0a2c545f87a5..e05fa627e46a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -131,6 +131,7 @@
     SUBDIR += easytag
     SUBDIR += eawpats
     SUBDIR += eawplus
+    SUBDIR += ebumeter
     SUBDIR += ecasound
     SUBDIR += elisa
     SUBDIR += emms
diff --git a/audio/ebumeter/Makefile b/audio/ebumeter/Makefile
new file mode 100644
index 000000000000..3591831f7ee9
--- /dev/null
+++ b/audio/ebumeter/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	ebumeter
+DISTVERSION=	0.4.2
+CATEGORIES=	audio
+MASTER_SITES=	https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Real-time audio level metering according to the EBU R-128
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/../COPYING
+
+LIB_DEPENDS=	libclthreads.so:devel/clthreads \
+		libclxclient.so:devel/clxclient \
+		libfftw3f.so:math/fftw3-float \
+		libjack.so:audio/jack \
+		libpng16.so:graphics/png \
+		libsndfile.so:audio/libsndfile \
+		libzita-resampler.so:audio/zita-resampler
+
+USES=		gmake localbase:ldflags pkgconfig tar:bz2 xorg
+USE_XORG=	x11 xft
+
+WRKSRC_SUBDIR=	source
+
+post-install:
+	@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \
+		bin/ebumeter \
+		bin/ebur128
+
+.include <bsd.port.mk>
diff --git a/audio/ebumeter/distinfo b/audio/ebumeter/distinfo
new file mode 100644
index 000000000000..0e4da05e5612
--- /dev/null
+++ b/audio/ebumeter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626025453
+SHA256 (ebumeter-0.4.2.tar.bz2) = ba342f2515382fa0efc289fa60a848adc157075b6deb26cfcd2cde0a6f90a9f2
+SIZE (ebumeter-0.4.2.tar.bz2) = 593514
diff --git a/audio/ebumeter/files/patch-Makefile b/audio/ebumeter/files/patch-Makefile
new file mode 100644
index 000000000000..e88003e77b22
--- /dev/null
+++ b/audio/ebumeter/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2021-07-11 17:33:49 UTC
++++ Makefile
+@@ -25,7 +25,7 @@ SHARED ?= $(PREFIX)/share/zita-rev1
+ VERSION = 0.2.2
+ CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
+ CXXFLAGS += -O2 -Wall -ffast-math -pthread
+-CXXFLAGS += -march=native
++CXXFLAGS += $(FREEBSD_CXXFLAGS_SIMD)
+ 
+ 
+ all:	zita-rev1
diff --git a/audio/ebumeter/pkg-descr b/audio/ebumeter/pkg-descr
new file mode 100644
index 000000000000..0115eaad0e81
--- /dev/null
+++ b/audio/ebumeter/pkg-descr
@@ -0,0 +1,7 @@
+Ebumeter provides real-time level metering according to the EBU R-128
+recommendation. The current release implements all features required by the EBU
+document except the oversampled peak level monitoring. This will be added in a
+future release. A separate command-line utility to measure audio files is
+provided as well.
+
+WWW: https://kokkinizita.linuxaudio.org/linuxaudio/ebumeter-doc/quickguide.html
diff --git a/audio/ebumeter/pkg-plist b/audio/ebumeter/pkg-plist
new file mode 100644
index 000000000000..22e8798605f9
--- /dev/null
+++ b/audio/ebumeter/pkg-plist
@@ -0,0 +1,21 @@
+bin/ebumeter
+bin/ebur128
+%%DATADIR%%/bmodeM.png
+%%DATADIR%%/bmodeS.png
+%%DATADIR%%/bpause.png
+%%DATADIR%%/bpeak1.png
+%%DATADIR%%/breset.png
+%%DATADIR%%/bscale09.png
+%%DATADIR%%/bscale18.png
+%%DATADIR%%/bscaleFS.png
+%%DATADIR%%/bscaleLU.png
+%%DATADIR%%/bstart.png
+%%DATADIR%%/hmeter09.png
+%%DATADIR%%/hmeter18.png
+%%DATADIR%%/hmeterbg.png
+%%DATADIR%%/hscale09a.png
+%%DATADIR%%/hscale09r.png
+%%DATADIR%%/hscale18a.png
+%%DATADIR%%/hscale18r.png
+%%DATADIR%%/hticks.png
+%%DATADIR%%/redzita.png



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