1 DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech."
2 SECTION = "libs/multimedia"
4 HOMEPAGE = "http://www.speex.org"
10 SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-${BETA}.tar.gz"
11 S = "${WORKDIR}/speex-${BETA}"
15 inherit autotools pkgconfig
17 LEAD_SONAME = "libspeex.so"
19 # Some interesting options are:
23 # --enable-blackfin-asm
24 # --enable-fixed-point
25 # --disable-float-api --disable-vbr (must disable-vbr if disable-float-api)
28 EXTRA_OECONF_append_openmn = " --enable-arm5e-asm --enable-fixed-point --disable-float-api --disable-vbr "
29 EXTRA_OECONF_append_amsdelta = " --enable-arm4-asm --enable-fixed-point --disable-float-api --disable-vbr "
30 EXTRA_OECONF_append_bfin = " --enable-blackfin-asm --enable-fixed-point --disable-float-api --disable-vbr "
31 EXTRA_OECONF_append_arm = " --enable-fixed-point --disable-float-api --disable-vbr "
32 EXTRA_OECONF_append_dht-walnut = " --enable-fixed-point --disable-float-api --disable-vbr "
36 do_configure_append() {
37 sed -i s/"^OGG_CFLAGS.*$"/"OGG_CFLAGS = "/g Makefile */Makefile */*/Makefile
38 sed -i s/"^OGG_LIBS.*$"/"OGG_LIBS = -logg"/g Makefile */Makefile */*/Makefile
39 find . -name "Makefile" -exec sed -i s,-I/usr/include,, {} \;
46 PACKAGES =+ "${PN}-utils ${PN}-dsp"
47 FILES_${PN}-utils = "${bindir}/speex*"
48 FILES_${PN}-dsp = "${libdir}/libspeexdsp.so.*"
49 FILES_${PN} = "${libdir}/libspeex.so.*"