mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package: add package 'speex'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fae929750b
commit
944e96e3be
21
packages/audio/speex/build
Executable file
21
packages/audio/speex/build
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--with-ogg=$SYSROOT_PREFIX/usr \
|
||||
--enable-fixed-point \
|
||||
--disable-oggtest \
|
||||
--disable-float-api \
|
||||
--disable-vbr \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
6
packages/audio/speex/install
Executable file
6
packages/audio/speex/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libspeex/.libs/libspeexdsp.so* $INSTALL/usr/lib
|
14
packages/audio/speex/meta
Normal file
14
packages/audio/speex/meta
Normal file
@ -0,0 +1,14 @@
|
||||
PKG_NAME="speex"
|
||||
PKG_VERSION="1.2rc1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.speex.org"
|
||||
PKG_URL="http://downloads.xiph.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="libogg"
|
||||
PKG_BUILD_DEPENDS="toolchain libogg"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="speex: A free Audio Codec optimized for speech"
|
||||
PKG_LONGDESC="Speex is a patent-free compression format designed especially for speech. It is specialized for voice communications at low bit-rates in the 2-45 kbps range. Possible applications include Voice over IP (VoIP), Internet audio streaming, audio books, and archiving of speech data (e.g. voice mail)."
|
||||
PKG_IS_ADDON="no"
|
24
packages/audio/speex/patches/001-remove_host_includes.diff
Normal file
24
packages/audio/speex/patches/001-remove_host_includes.diff
Normal file
@ -0,0 +1,24 @@
|
||||
diff -Naur speex-1.2rc1/libspeex/Makefile.am speex-1.2rc1.patch/libspeex/Makefile.am
|
||||
--- speex-1.2rc1/libspeex/Makefile.am 2008-06-04 09:31:35.000000000 +0200
|
||||
+++ speex-1.2rc1.patch/libspeex/Makefile.am 2009-03-10 20:40:51.000000000 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
EXTRA_DIST=echo_diagnostic.m
|
||||
|
||||
-INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@
|
||||
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
|
||||
|
||||
lib_LTLIBRARIES = libspeex.la libspeexdsp.la
|
||||
|
||||
diff -Naur speex-1.2rc1/libspeex/Makefile.in speex-1.2rc1.patch/libspeex/Makefile.in
|
||||
--- speex-1.2rc1/libspeex/Makefile.in 2008-07-21 04:17:19.000000000 +0200
|
||||
+++ speex-1.2rc1.patch/libspeex/Makefile.in 2009-03-10 20:41:25.000000000 +0100
|
||||
@@ -277,7 +277,7 @@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
EXTRA_DIST = echo_diagnostic.m
|
||||
-INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@
|
||||
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
|
||||
lib_LTLIBRARIES = libspeex.la libspeexdsp.la
|
||||
|
||||
# Sources for compilation in the library
|
12
packages/audio/speex/patches/10_disable-utils.diff
Normal file
12
packages/audio/speex/patches/10_disable-utils.diff
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur speex-1.2rc1/Makefile.in speex-1.2rc1a/Makefile.in
|
||||
--- speex-1.2rc1/Makefile.in 2008-07-21 04:17:19.000000000 +0200
|
||||
+++ speex-1.2rc1a/Makefile.in 2010-05-18 14:31:25.229200674 +0200
|
||||
@@ -213,7 +213,7 @@
|
||||
EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in README.blackfin README.symbian README.TI-DSP
|
||||
|
||||
#Fools KDevelop into including all files
|
||||
-SUBDIRS = libspeex include @src@ doc win32 symbian ti
|
||||
+SUBDIRS = libspeex include doc win32 symbian ti
|
||||
DIST_SUBDIRS = libspeex include src doc win32 symbian ti
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
Loading…
x
Reference in New Issue
Block a user