1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

audio/ebumeter: New port: Real-time audio level metering according to the EBU R-128

This commit is contained in:
Yuri Victorovich 2021-07-11 10:49:04 -07:00
parent ce2a163836
commit 6e5253e7fa
6 changed files with 73 additions and 0 deletions

View File

@ -131,6 +131,7 @@
SUBDIR += easytag
SUBDIR += eawpats
SUBDIR += eawplus
SUBDIR += ebumeter
SUBDIR += ecasound
SUBDIR += elisa
SUBDIR += emms

30
audio/ebumeter/Makefile Normal file
View File

@ -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>

3
audio/ebumeter/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1626025453
SHA256 (ebumeter-0.4.2.tar.bz2) = ba342f2515382fa0efc289fa60a848adc157075b6deb26cfcd2cde0a6f90a9f2
SIZE (ebumeter-0.4.2.tar.bz2) = 593514

View File

@ -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

7
audio/ebumeter/pkg-descr Normal file
View File

@ -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

21
audio/ebumeter/pkg-plist Normal file
View File

@ -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