package/libebur128: new package
PATCH 1/2 package/libebur128: new package
Signed-off-by Bernd Kuhls <[email protected]>
--- package/Config.in | 1 + package/libebur128/Config.in | 14 ++++++++++++++ package/libebur128/libebur128.mk | 14 ++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 package/libebur128/Config.in create mode 100644 package/libebur128/libebur128.mk
package/Config.in +1 -0
@@ -816,6 +816,7 @@ menu "Audio/Sound" source "package/libcodec2/Config.in" source "package/libcue/Config.in" source "package/libcuefile/Config.in" + source "package/libebur128/Config.in" source "package/libg7221/Config.in" source "package/libid3tag/Config.in" source "package/libilbc/Config.in"
package/libebur128/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBEBUR128 + bool "libebur128" + # build system has no support to disable shared linking + # leading to a build error with a static-only toolchain + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_SPEEX + help + libebur128 is a library that implements the EBU R 128 standard + for loudness normalization. + + https://github.com/jiixyj/libebur128 + +comment "libebur128 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/libebur128/libebur128.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# libebur128 +# +################################################################################ + +LIBEBUR128_VERSION = v1.1.0 +LIBEBUR128_SITE = $(call github,jiixyj,libebur128,$(LIBEBUR128_VERSION)) +LIBEBUR128_LICENSE = MIT +LIBEBUR128_LICENSE_FILES = COPYING +LIBEBUR128_INSTALL_STAGING = YES +LIBEBUR128_DEPENDENCIES = speex + +$(eval $(cmake-package))
Signature · 1 line
2.8.1
PATCH 2/2 package/ffmpeg: add optional dependency to libebur128
ebur128 support depends on gpl support in ffmpeg:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=ec4ff083dd373bce34869b67189905e2822b848b;hb=refs/heads/release/2.8#l2747
Signed-off-by Bernd Kuhls <[email protected]>
--- package/ffmpeg/ffmpeg.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/ffmpeg/ffmpeg.mk +4 -0
@@ -224,6 +224,10 @@ else FFMPEG_CONF_OPTS += --disable-libdcadec endif +ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBEBUR128),yy) +FFMPEG_DEPENDENCIES += libebur128 +endif + ifeq ($(BR2_PACKAGE_LIBOPENH264),y) FFMPEG_CONF_OPTS += --enable-libopenh264 FFMPEG_DEPENDENCIES += libopenh264
Signature · 1 line
2.8.1
PATCH 1/2 package/libebur128: new package
In reply to Bernd KuhlsHello,
Quoted 8 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/Config.in | 1 + package/libebur128/Config.in | 14 ++++++++++++++ package/libebur128/libebur128.mk | 14 ++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 package/libebur128/Config.in create mode 100644 package/libebur128/libebur128.mk
Both patches applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com