@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2006-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -8,14 +8,15 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := speex
PKG_VERSION := 1.2rc1
PKG_VERSION := 1.2.0
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://downloads.us.xiph.org/releases/speex/
PKG_MD5SUM := c4438b22c08e5811ff10e2b06ee9b9ae
PKG_HASH := eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -27,14 +28,6 @@ define Package/libspeex
MAINTAINER:= Peter Wagner <tripolar@gmx.at>
e n d e f
d e f i n e P a c k a g e / l i b s p e e x d s p
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Open source speech compression codec library output to DSP
URL:= http://www.speex.org/
MAINTAINER:= Peter Wagner <tripolar@gmx.at>
e n d e f
d e f i n e P a c k a g e / l i b s p e e x / d e s c r i p t i o n
Open source patent-free speech compression codec library.
Speex is an Open Source/Free Software patent-free audio compression
@ -47,48 +40,13 @@ define Package/libspeex/description
This package contains the shared codec library, needed by other programs.
e n d e f
TARGET_CFLAGS += $( FPIC)
d e f i n e P a c k a g e / l i b s p e e x d s p / d e s c r i p t i o n
Open source patent-free speech compression codec library.
Speex is an Open Source/Free Software patent-free audio compression
format designed for speech. The Speex Project aims to lower the
barrier of entry for voice applications by providing a free
alternative to expensive proprietary speech codecs. Moreover, Speex
is well-adapted to Internet applications and provides useful features
that are not present in most other codecs.
This package contains the shared dsp library, needed by other programs.
e n d e f
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default, \
--enable-shared \
--enable-static \
--enable-fixed-point \
--disable-oggtest \
--disable-float-api \
--disable-vbr \
--with-ogg= $( STAGING_DIR) /usr \
)
e n d e f
d e f i n e B u i l d / C o m p i l e
$( MAKE) -C $( PKG_BUILD_DIR) \
DESTDIR = " $( PKG_INSTALL_DIR) " \
bin_PROGRAMS = "" \
all install
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/include/speex $( 1) /usr/include/
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libspeex.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libspeexdsp.{ a,so*} $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/speex.pc $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/speexdsp.pc $( 1) /usr/lib/pkgconfig/
e n d e f
d e f i n e P a c k a g e / l i b s p e e x / i n s t a l l
@ -96,10 +54,15 @@ define Package/libspeex/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libspeex.so.* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b s p e e x d s p / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libspeexdsp.so.* $( 1) /usr/lib/
e n d e f
TARGET_CFLAGS += $( FPIC)
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--disable-binaries \
--disable-oggtest \
--enable-sse= no \
--with-ogg= $( STAGING_DIR) /usr \
$( if $( CONFIG_SOFT_FLOAT) ,--enable-fixed-point --disable-float-api)
$( eval $ ( call BuildPackage ,libspeex ) )
$( eval $ ( call BuildPackage ,libspeexdsp ) )