[oe-commits] org.oe.dev packages/asterisk/asterisk_1.2.18.bb: Enable speex support for asterisk

ifaistos commit openembedded-commits at lists.openembedded.org
Sun Apr 29 08:37:14 UTC 2007


packages/asterisk/asterisk_1.2.18.bb: Enable speex support for asterisk
If using a cpu with no fpu make sure that speex compiles with fix-point support

Author: ifaistos at openembedded.org
Branch: org.openembedded.dev
Revision: 1927e10d30481c26f5ab46b45c73d49106113cd5
ViewMTN: http://monotone.openembedded.org/revision.psp?id=1927e10d30481c26f5ab46b45c73d49106113cd5
Files:
1
packages/asterisk/asterisk-1.2.18/enable-speex.patch
packages/asterisk/asterisk_1.2.18.bb
Diffs:

#
# mt diff -r9b429ab96d552dc260bce3cf9b5f6a938f04d5b1 -r1927e10d30481c26f5ab46b45c73d49106113cd5
#
# 
# 
# add_file "packages/asterisk/asterisk-1.2.18/enable-speex.patch"
#  content [123420f2bb25f198d687ae8cfad1eef6e90725bb]
# 
# patch "packages/asterisk/asterisk_1.2.18.bb"
#  from [cae605fcc3cbd2f7a8fef02d6de32cef8399adaa]
#    to [a6f63f212f1a8cc2f1bf91b92f78a9c87e2a2171]
# 
============================================================
--- packages/asterisk/asterisk-1.2.18/enable-speex.patch	123420f2bb25f198d687ae8cfad1eef6e90725bb
+++ packages/asterisk/asterisk-1.2.18/enable-speex.patch	123420f2bb25f198d687ae8cfad1eef6e90725bb
@@ -0,0 +1,21 @@
+--- /codecs/orig-Makefile	2005-11-29 13:24:39.000000000 -0500
++++ /codecs/Makefile	2007-02-28 09:54:42.000000000 -0500
+@@ -29,7 +29,7 @@
+ endif
+ 
+ UI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/speex.h)
+-UIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/speex/speex.h)
++UIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/include/speex/speex.h)
+ ULI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/speex.h)
+ ULIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/speex/speex.h)
+ ifneq (${UI_SPEEX},)
+@@ -38,7 +38,8 @@
+ endif
+ ifneq (${UIS_SPEEX},)
+   MODSPEEX=codec_speex.so
+-  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/include/speex
++  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/include/speex
++  LIBSPEEX=-L$(CROSS_COMPILE_TARGET)/lib
+   LIBSPEEX+=-lspeex -lm
+ endif
+ ifneq (${ULI_SPEEX},)
============================================================
--- packages/asterisk/asterisk_1.2.18.bb	cae605fcc3cbd2f7a8fef02d6de32cef8399adaa
+++ packages/asterisk/asterisk_1.2.18.bb	a6f63f212f1a8cc2f1bf91b92f78a9c87e2a2171
@@ -1,14 +1,15 @@ LICENSE="GPL"
 DESCRIPTION="The Asterisk open source software PBX"
 HOMEPAGE="www.asterisk.org"
 LICENSE="GPL"
-DEPENDS="ncurses zlib openssl curl alsa-lib libogg libvorbis popt"
+DEPENDS="ncurses zlib openssl curl alsa-lib libogg libvorbis speex"
 SECTION = "console/telephony"
-PR = "r4"
+PR = "r5"
 
 SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
 	 file://uclibc-compat-getloadavg.patch;patch=1 \
 	 file://uclibc-dsn.patch;patch=1 \
-         file://asterisk.patch;patch=1"
+         file://asterisk.patch;patch=1 \
+         file://enable-speex.patch;patch=1"
 
 S = "${WORKDIR}/asterisk-${PV}"
 






More information about the Openembedded-commits mailing list