On Sat, May 18, 2019 at 02:41:01PM +0200, Raphael Graf wrote: > "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. >
I missed that audio/cantata is picking this up too. The presumed list of consumers is: - audio/cantata - multimedia/mlt (diffs attached) Any comments?
libebur128.tar.gz
Description: application/tar-gz
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/cantata/Makefile,v retrieving revision 1.19 diff -u -p -u -p -r1.19 Makefile --- Makefile 13 May 2019 22:15:13 -0000 1.19 +++ Makefile 28 May 2019 13:41:32 -0000 @@ -4,6 +4,7 @@ COMMENT = Qt-based MPD client V = 2.3.3 DISTNAME = cantata-${V} +REVISION = 0 HOMEPAGE = https://github.com/CDrummond/cantata MASTER_SITES = https://github.com/CDrummond/cantata/releases/download/v${V}/ @@ -16,7 +17,7 @@ PERMIT_PACKAGE_CDROM = Yes WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5DBus Qt5Gui WANTLIB += Qt5Multimedia Qt5Network Qt5Sql Qt5Svg Qt5Widgets Qt5Xml -WANTLIB += avcodec avformat avutil c cddb cdio cdio_cdda cdio_paranoia +WANTLIB += avcodec avformat avutil c cddb cdio cdio_cdda cdio_paranoia ebur128 WANTLIB += iconv m mpg123 mtp musicbrainz5 tag z avahi-client avahi-common MODULES = devel/cmake \ @@ -28,6 +29,7 @@ LIB_DEPENDS += audio/mpg123 \ audio/libcdio \ audio/libcdio-paranoia \ audio/libcddb \ + audio/libebur128 \ audio/libmusicbrainz5 \ audio/taglib \ x11/qt5/qtmultimedia \
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 \