* [Buildroot] [PATCH v2 1/1] mp4v2: new package
@ 2014-10-20 8:16 Jörg Krause
2014-10-26 13:10 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2014-10-20 8:16 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?rg Krause <jkrause@posteo.de>
---
Changes v1 -> v2:
- fix indentation (tab width is 8)
- remove unnecessary config option --disable-debug (pkg-autotools
infrastructure will handle this soon)
- use positive logic for BR2_PACKAGE_MP4V2_UTIL
---
package/Config.in | 1 +
package/mp4v2/Config.in | 21 +++++++++++++++++++++
package/mp4v2/mp4v2.hash | 2 ++
package/mp4v2/mp4v2.mk | 20 ++++++++++++++++++++
4 files changed, 44 insertions(+)
create mode 100644 package/mp4v2/Config.in
create mode 100644 package/mp4v2/mp4v2.hash
create mode 100644 package/mp4v2/mp4v2.mk
diff --git a/package/Config.in b/package/Config.in
index 89b46dc..9db18be 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -555,6 +555,7 @@ menu "Audio/Sound"
source "package/libsndfile/Config.in"
source "package/libsoxr/Config.in"
source "package/libvorbis/Config.in"
+ source "package/mp4v2/Config.in"
source "package/opencore-amr/Config.in"
source "package/opus/Config.in"
source "package/portaudio/Config.in"
diff --git a/package/mp4v2/Config.in b/package/mp4v2/Config.in
new file mode 100644
index 0000000..bd8666e
--- /dev/null
+++ b/package/mp4v2/Config.in
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_MP4V2
+ bool "mp4v2"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ The MP4v2 library provides functions to read, create, and modify mp4
+ files.
+
+ https://code.google.com/p/mp4v2/
+
+if BR2_PACKAGE_MP4V2
+
+config BR2_PACKAGE_MP4V2_UTIL
+ bool "Install mp4 command line tools"
+ help
+ Enable to install the mp4 command line tools mp4art, mp4chaps,
+ mp4extract, mp4info, mp4subtitle, mp4tags, and mp4trackdump.
+
+endif
+
+comment "mp4v2 needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/mp4v2/mp4v2.hash b/package/mp4v2/mp4v2.hash
new file mode 100644
index 0000000..d5a49c4
--- /dev/null
+++ b/package/mp4v2/mp4v2.hash
@@ -0,0 +1,2 @@
+# From https://code.google.com/p/mp4v2/downloads/detail?name=mp4v2-2.0.0.tar.bz2
+sha1 193260cfb7201e6ec250137bcca1468d4d20e2f0 mp4v2-2.0.0.tar.bz2
diff --git a/package/mp4v2/mp4v2.mk b/package/mp4v2/mp4v2.mk
new file mode 100644
index 0000000..74de234
--- /dev/null
+++ b/package/mp4v2/mp4v2.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# mp4v2
+#
+################################################################################
+
+MP4V2_VERSION = 2.0.0
+MP4V2_SOURCE = mp4v2-$(MP4V2_VERSION).tar.bz2
+MP4V2_SITE = https://mp4v2.googlecode.com/files
+MP4V2_INSTALL_STAGING = YES
+MP4V2_LICENSE = MPLv1.1
+MP4V2_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_PACKAGE_MP4V2_UTIL),y)
+MP4V2_CONF_OPTS += --enable-util
+else
+MP4V2_CONF_OPTS += --disable-util
+endif
+
+$(eval $(autotools-package))
--
2.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2 1/1] mp4v2: new package
2014-10-20 8:16 [Buildroot] [PATCH v2 1/1] mp4v2: new package Jörg Krause
@ 2014-10-26 13:10 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-10-26 13:10 UTC (permalink / raw)
To: buildroot
Dear J?rg Krause,
On Mon, 20 Oct 2014 10:16:59 +0200, J?rg Krause wrote:
> Signed-off-by: J?rg Krause <jkrause@posteo.de>
> ---
> Changes v1 -> v2:
> - fix indentation (tab width is 8)
> - remove unnecessary config option --disable-debug (pkg-autotools
> infrastructure will handle this soon)
> - use positive logic for BR2_PACKAGE_MP4V2_UTIL
Thanks, applied. I've added the use of
--enable-largefile/--disable-largefile depending on the value of
BR2_LARGEFILE.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-26 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-20 8:16 [Buildroot] [PATCH v2 1/1] mp4v2: new package Jörg Krause
2014-10-26 13:10 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.