"libebur128 is a library that implements the EBU R 128 standard for
loudness normalisation."

https://github.com/jiixyj/libebur128

It is a very small and simple port.

As the tests need 90MB of testdata, I've disabled them by default.
The tests can still be run manually like this:
$ make test NO_TEST=No
(The SUPDISTFILES feature is used for fetching the testdata)
All tests pass on amd64 and macppc.

The lib will automatically be picked up by multimedia/mlt. The attched
'mlt.diff' adds the dependency and a revision bump.

I mainly want libebur128 because it is required by mixxx (https://mixxx.org).
(I have mixxx working, but it needs at least libebur128 and rubberband)

Any comments or OKs are welcome.

Attachment: libebur128.tar.gz
Description: application/tar-gz

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mlt/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile    10 May 2019 15:57:37 -0000      1.22
+++ Makefile    17 May 2019 11:29:16 -0000
@@ -6,6 +6,7 @@ VERSION =               6.16.0
 DISTNAME =             mlt-${VERSION}
 PKGNAME-main =         ${DISTNAME}
 PKGNAME-gpl2 =         mlt-gpl2-${VERSION}
+REVISION =             0
 
 # XXX versions should be kept in sync together
 SHARED_LIBS =          mlt             3.1
@@ -24,9 +25,9 @@ PERMIT_PACKAGE_CDROM =        Yes
 WANTLIB-main += ${COMPILER_LIBCXX} SDL SDL2 SDL_image X11 Xcomposite
 WANTLIB-main += Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender
 WANTLIB-main += atk-1.0 avcodec avdevice avfilter avformat avutil c
-WANTLIB-main += cairo exif fftw3 fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
-WANTLIB-main += gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 intl jack
-WANTLIB-main += m pango-1.0 pangocairo-1.0 pangoft2-1.0 sox swresample
+WANTLIB-main += cairo ebur128 exif fftw3 fontconfig freetype gdk-x11-2.0
+WANTLIB-main += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 intl
+WANTLIB-main += jack m pango-1.0 pangocairo-1.0 pangoft2-1.0 sox swresample
 WANTLIB-main += swscale xml2 z
 
 WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Svg Qt5Widgets
@@ -47,6 +48,7 @@ RUN_DEPENDS-main =    audio/ladspa \
                        x11/gtk+3,-guic
 
 LIB_DEPENDS-main =     audio/jack \
+                       audio/libebur128 \
                        audio/sox \
                        devel/sdl-image \
                        devel/sdl2 \

Reply via email to