* [Buildroot] [PATCH 1/2] package/libebur128: new package
@ 2016-07-24 15:53 Bernd Kuhls
2016-07-24 15:53 ` [Buildroot] [PATCH 2/2] package/ffmpeg: add optional dependency to libebur128 Bernd Kuhls
2016-07-24 19:57 ` [Buildroot] [PATCH 1/2] package/libebur128: new package Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-07-24 15:53 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
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
diff --git a/package/Config.in b/package/Config.in
index 181921b..04ca8cb 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 0000000..1a6a743
--- /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 0000000..f5ada31
--- /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))
--
2.8.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: add optional dependency to libebur128
2016-07-24 15:53 [Buildroot] [PATCH 1/2] package/libebur128: new package Bernd Kuhls
@ 2016-07-24 15:53 ` Bernd Kuhls
2016-07-24 19:57 ` [Buildroot] [PATCH 1/2] package/libebur128: new package Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-07-24 15:53 UTC (permalink / raw)
To: buildroot
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 <bernd.kuhls@t-online.de>
---
package/ffmpeg/ffmpeg.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index a4e2be6..c42336f 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -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
--
2.8.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/libebur128: new package
2016-07-24 15:53 [Buildroot] [PATCH 1/2] package/libebur128: new package Bernd Kuhls
2016-07-24 15:53 ` [Buildroot] [PATCH 2/2] package/ffmpeg: add optional dependency to libebur128 Bernd Kuhls
@ 2016-07-24 19:57 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-07-24 19:57 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 24 Jul 2016 17:53:17 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-24 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-24 15:53 [Buildroot] [PATCH 1/2] package/libebur128: new package Bernd Kuhls
2016-07-24 15:53 ` [Buildroot] [PATCH 2/2] package/ffmpeg: add optional dependency to libebur128 Bernd Kuhls
2016-07-24 19:57 ` [Buildroot] [PATCH 1/2] package/libebur128: new package Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox