Patchwork [v2] fdk-aac: new package

login
register
mail settings
Submitter gilles.talis@gmail.com
Date July 11, 2013, 11:46 p.m.
Message ID <1373586370-18676-1-git-send-email-gilles.talis@gmail.com>
Download mbox | patch
Permalink /patch/258640/
State Accepted
Commit 4ddff0099fa0619cfd1bcf5afa96f56a703de385
Headers show

Comments

gilles.talis@gmail.com - July 11, 2013, 11:46 p.m.
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
Changes v2:
- Set header separator to 80 chars
- Added C++ support dependency
- Reworked dependency around supported architectures
  instead of non-supported architectures

 package/Config.in          |    1 +
 package/fdk-aac/Config.in  |   17 +++++++++++++++++
 package/fdk-aac/fdk-aac.mk |   14 ++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 package/fdk-aac/Config.in
 create mode 100644 package/fdk-aac/fdk-aac.mk
Peter Korsgaard - July 12, 2013, 3:28 p.m.
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> writes:

 Gilles> Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
 Gilles> ---
 Gilles> Changes v2:

Committed, thanks.

Patch

diff --git a/package/Config.in b/package/Config.in
index 3186bb7..76e73c4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -377,6 +377,7 @@  menu "Audio/Sound"
 source "package/alsa-lib/Config.in"
 source "package/audiofile/Config.in"
 source "package/celt051/Config.in"
+source "package/fdk-aac/Config.in"
 source "package/libao/Config.in"
 source "package/libcdaudio/Config.in"
 source "package/libcue/Config.in"
diff --git a/package/fdk-aac/Config.in b/package/fdk-aac/Config.in
new file mode 100644
index 0000000..dfc8cc4
--- /dev/null
+++ b/package/fdk-aac/Config.in
@@ -0,0 +1,17 @@ 
+config BR2_PACKAGE_FDK_AAC
+	bool "fdk-aac"
+	depends on BR2_INSTALL_LIBSTDCPP
+	# These are the architectures supported by FDK AAC
+	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
+		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
+		   BR2_powerpc || BR2_sh || BR2_sh64
+
+	help
+	  The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec")
+	  is software that implements the MPEG Advanced Audio Coding ("AAC")
+	  encoding and decoding scheme for digital audio
+
+	  http://sourceforge.net/projects/opencore-amr/files/fdk-aac/
+
+comment "fdk-aac requires a toolchain with C++ support"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/fdk-aac/fdk-aac.mk b/package/fdk-aac/fdk-aac.mk
new file mode 100644
index 0000000..325267a
--- /dev/null
+++ b/package/fdk-aac/fdk-aac.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# fdk-aac
+#
+################################################################################
+
+FDK_AAC_VERSION = 0.1.1
+FDK_AAC_SITE = http://downloads.sourceforge.net/project/opencore-amr/fdk-aac
+FDK_AAC_LICENSE = fdk-aac license
+FDK_AAC_LICENSE_FILES = NOTICE
+
+FDK_AAC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))