summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/libebur128/Config.in14
-rw-r--r--package/libebur128/libebur128.mk14
3 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 181921b335..04ca8cb3d6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libebur128/Config.in b/package/libebur128/Config.in
new file mode 100644
index 0000000000..1a6a74363f
--- /dev/null
+++ b/package/libebur128/Config.in
@@ -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
diff --git a/package/libebur128/libebur128.mk b/package/libebur128/libebur128.mk
new file mode 100644
index 0000000000..f5ada311f7
--- /dev/null
+++ b/package/libebur128/libebur128.mk
@@ -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))
OpenPOWER on IntegriCloud