speex: updated to 1.2beta2, changed packaging

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2353 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-08-03 15:03:19 +00:00
parent d9f5fb02c8
commit 113bb6c6cd
2 changed files with 24 additions and 31 deletions

View File

@@ -0,0 +1,24 @@
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"
SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2beta2.tar.gz"
S = "${WORKDIR}/${PN}-1.2beta2"
PARALLEL_MAKE = ""
inherit autotools pkgconfig
EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \
--with-ogg-includes=${STAGING_INCDIR} --disable-oggtest"
do_stage() {
autotools_stage_all
}
PACKAGES += "${PN}-bin"
FILES_${PN} = "${libdir}/libspeex.so.*"
FILES_${PN}-dev += "${libdir}/libspeex.so.*"
FILES_${PN}-bin = "${bindir}"

View File

@@ -1,31 +0,0 @@
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 = "r1"
SRC_URI = "http://downloads.us.xiph.org/releases/speex/${PN}-${PV}.tar.gz"
inherit autotools
# Some interesting options are:
#
# --enable-arm4-asm
# --enable-arm5e-asm
# --enable-fixed-point
#
# NB: the arm assembly is currently broken :(
#
EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} --with-ogg-includes=${STAGING_INCDIR}"
do_stage() {
oe_libinstall -C libspeex/.libs -so libspeex ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/speex
install -m 0644 include/speex/speex.h ${STAGING_INCDIR}/speex
install -m 0644 include/speex/speex_bits.h ${STAGING_INCDIR}/speex
install -m 0644 include/speex/speex_callbacks.h ${STAGING_INCDIR}/speex
install -m 0644 include/speex/speex_header.h ${STAGING_INCDIR}/speex
install -m 0644 include/speex/speex_stereo.h ${STAGING_INCDIR}/speex
}