summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-04-12 16:33:59 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-04-12 17:27:28 +0200
commite1baf2443ab6f44d3fd4a9051101b90fac37111c (patch)
tree6d79433fe792dee47a320019a3da153d511dfdb9
parent3d9d4742961f3b8e7af26f7c1d103a12d2506a6e (diff)
downloadptxdist-e1baf2443ab6f44d3fd4a9051101b90fac37111c.tar.gz
ptxdist-e1baf2443ab6f44d3fd4a9051101b90fac37111c.tar.xz
vo-aacenc: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/vo-aacenc.in11
-rw-r--r--rules/vo-aacenc.make62
2 files changed, 73 insertions, 0 deletions
diff --git a/rules/vo-aacenc.in b/rules/vo-aacenc.in
new file mode 100644
index 000000000..51ce06bf4
--- /dev/null
+++ b/rules/vo-aacenc.in
@@ -0,0 +1,11 @@
+## SECTION=multimedia_libs
+
+config VO_AACENC
+ tristate
+ prompt "vo-aacenc"
+ help
+ VisualOn AAC encoder library
+ This library contains an encoder implementation of the Advanced
+ Audio Coding (AAC) audio codec. The library is based on a codec
+ implementation by VisualOn, part of the Stagefright framework
+ from the Google.
diff --git a/rules/vo-aacenc.make b/rules/vo-aacenc.make
new file mode 100644
index 000000000..6d23e1a6f
--- /dev/null
+++ b/rules/vo-aacenc.make
@@ -0,0 +1,62 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_VO_AACENC) += vo-aacenc
+
+#
+# Paths and names
+#
+VO_AACENC_VERSION := 0.1.2
+VO_AACENC_MD5 := cc862dce14ea5d688506904160c65a02
+VO_AACENC := vo-aacenc-$(VO_AACENC_VERSION)
+VO_AACENC_SUFFIX := tar.gz
+VO_AACENC_URL := $(call ptx/mirror, SF, opencore-amr/$(VO_AACENC).$(VO_AACENC_SUFFIX))
+VO_AACENC_SOURCE := $(SRCDIR)/$(VO_AACENC).$(VO_AACENC_SUFFIX)
+VO_AACENC_DIR := $(BUILDDIR)/$(VO_AACENC)
+VO_AACENC_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+VO_AACENC_CONF_TOOL := autoconf
+VO_AACENC_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-armv5e \
+ --$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-armv7neon \
+ --disable-example \
+ --disable-static
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/vo-aacenc.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, vo-aacenc)
+ @$(call install_fixup, vo-aacenc,PRIORITY,optional)
+ @$(call install_fixup, vo-aacenc,SECTION,base)
+ @$(call install_fixup, vo-aacenc,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, vo-aacenc,DESCRIPTION,missing)
+
+ @$(call install_lib, vo-aacenc, 0, 0, 0644, libvo-aacenc)
+
+ @$(call install_finish, vo-aacenc)
+
+ @$(call touch)
+
+# vim: syntax=make