summaryrefslogtreecommitdiff
path: root/package/speex
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/speex
Initial import
Diffstat (limited to 'package/speex')
-rw-r--r--package/speex/Config.in24
-rw-r--r--package/speex/Makefile28
-rw-r--r--package/speex/ipkg/libspeex.control4
3 files changed, 56 insertions, 0 deletions
diff --git a/package/speex/Config.in b/package/speex/Config.in
new file mode 100644
index 000000000..f9cfe97ba
--- /dev/null
+++ b/package/speex/Config.in
@@ -0,0 +1,24 @@
+config ADK_COMPILE_SPEEX
+ tristate
+ default n
+ depends ADK_CXX
+ depends ADK_PACKAGE_LIBSPEEX
+
+config ADK_PACKAGE_LIBSPEEX
+ prompt "libspeex.......................... Open source patent-free speech compression codec"
+ tristate
+ default n
+ select ADK_COMPILE_SPEEX
+ help
+
+ 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.
+
+ http://www.speex.org/
+
+ This package contains the shared codec library, needed by other programs.
+
diff --git a/package/speex/Makefile b/package/speex/Makefile
new file mode 100644
index 000000000..76eb03744
--- /dev/null
+++ b/package/speex/Makefile
@@ -0,0 +1,28 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= speex
+PKG_VERSION:= 1.2rc1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c4438b22c08e5811ff10e2b06ee9b9ae
+MASTER_SITES:= http://downloads.us.xiph.org/releases/speex/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBSPEEX,libspeex,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= --without-ogg --disable-oggtest --enable-fixed-point
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+XAKE_FLAGS+= bin_PROGRAMS=""
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBSPEEX}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libspeex.so.* ${IDIR_LIBSPEEX}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/speex/ipkg/libspeex.control b/package/speex/ipkg/libspeex.control
new file mode 100644
index 000000000..5dc542eee
--- /dev/null
+++ b/package/speex/ipkg/libspeex.control
@@ -0,0 +1,4 @@
+Package: libspeex
+Priority: optional
+Section: libs
+Description: an open source patent-free speech compression codec