[oe-commits] org.oe.dev speex: add 1.2beta which has reduced memory usage and lower cpu requirements

koen commit openembedded-commits at lists.openembedded.org
Fri Sep 8 13:12:46 UTC 2006


speex: add 1.2beta which has reduced memory usage and  lower cpu requirements

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: cb923c5860209172431f6d52686e1f376c2bea58
ViewMTN: http://monotone.openembedded.org/revision.psp?id=cb923c5860209172431f6d52686e1f376c2bea58
Files:
1
packages/speex/speex_1.1.12+1.2beta1.bb
Diffs:

#
# mt diff -rb05702e8a1d7c8c80c29615589bc7be0662e9a2d -rcb923c5860209172431f6d52686e1f376c2bea58
#
# 
# 
# add_file "packages/speex/speex_1.1.12+1.2beta1.bb"
#  content [8ebd667a46f9417df83695398c0ad922b6587b42]
# 
============================================================
--- packages/speex/speex_1.1.12+1.2beta1.bb	8ebd667a46f9417df83695398c0ad922b6587b42
+++ packages/speex/speex_1.1.12+1.2beta1.bb	8ebd667a46f9417df83695398c0ad922b6587b42
@@ -0,0 +1,38 @@
+DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech."
+SECTION = "libs"
+LICENSE = "BSD"
+HOMEPAGE = "http://www.speex.org"
+DEPENDS = "libogg"
+PR = "r0"
+
+SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2beta1.tar.gz"
+S = "${WORKDIR}/${PN}-1.2beta1"
+
+PARALLEL_MAKE = ""
+
+inherit autotools pkgconfig
+
+# Some interesting options are:
+#
+#	--enable-arm4-asm
+#	--enable-arm5e-asm
+#	--enable-fixed-point
+#
+
+EXTRA_OECONF_append_openmn = " --enable-arm5e-asm --enable-fixed-point"
+EXTRA_OECONF_append_amsdelta = " --enable-arm4-asm --enable-fixed-point"
+EXTRA_OECONF_append_arm = " --enable-fixed-point "
+
+do_configure_append() {
+	sed -i s/"^OGG_CFLAGS.*$"/"OGG_CFLAGS = "/g Makefile */Makefile */*/Makefile
+	sed -i s/"^OGG_LIBS.*$"/"OGG_LIBS = -logg"/g Makefile */Makefile */*/Makefile
+	perl -pi -e 's:^includedir.*$:includedir = ${STAGING_INCDIR}:g' Makefile */Makefile */*/Makefile
+	perl -pi -e 's:^oldincludedir.*$:includedir = ${STAGING_INCDIR}:g' Makefile */Makefile */*/Makefile
+	perl -pi -e 's:\s*-I/usr/include$::g' Makefile */Makefile */*/Makefile
+}
+
+do_stage() {
+	oe_libinstall -C libspeex -so libspeex ${STAGING_LIBDIR}
+	install -d ${STAGING_INCDIR}/speex
+	install -m 0644 include/speex/*.h ${STAGING_INCDIR}/speex
+}






More information about the Openembedded-commits mailing list