diff options
author | ahze <ahze@FreeBSD.org> | 2004-11-11 16:44:17 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-11-11 16:44:17 +0800 |
commit | 4f9cd2b3ff7a056e78ed1dee4893e15e20b22602 (patch) | |
tree | 6d7c75ee8b079b7d8a4967d56927243fa7e901e6 | |
parent | ad06e7d73181f79deabc27134d1ce4fb1a878230 (diff) | |
download | freebsd-ports-gnome-4f9cd2b3ff7a056e78ed1dee4893e15e20b22602.tar.gz freebsd-ports-gnome-4f9cd2b3ff7a056e78ed1dee4893e15e20b22602.tar.zst freebsd-ports-gnome-4f9cd2b3ff7a056e78ed1dee4893e15e20b22602.zip |
Add speex-devel
The Speex is a patent-free, Open Source/Free Software voice codec.
Unlike other codecs like MP3 and Ogg Vorbis, Speex is designed to
compress voice at bitrates in the 2-45 kbps range. Possible
applications include VoIP, internet audio streaming, archiving of
speech data (e.g. voice mail), and audio books. In some sense, it is
meant to be complementary to the Ogg Vorbis codec.
--
Speex 1.1 is backwards compatible with speex 1.0
and can be used as a drop in replacement
for audio/speex
Approved by: pav (co mentor)
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/speex-devel/Makefile | 9 | ||||
-rw-r--r-- | audio/speex-devel/distinfo | 4 | ||||
-rw-r--r-- | audio/speex-devel/files/patch-configure | 10 | ||||
-rw-r--r-- | audio/speex-devel/files/patch-libspeex::stack_alloc.h | 14 | ||||
-rw-r--r-- | audio/speex-devel/pkg-plist | 8 |
6 files changed, 11 insertions, 35 deletions
diff --git a/audio/Makefile b/audio/Makefile index e9c2b25a9c45..1eee8bedf651 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -356,6 +356,7 @@ SUBDIR += soundtracker SUBDIR += sox SUBDIR += speex + SUBDIR += speex-devel SUBDIR += sphinx SUBDIR += spiralloops SUBDIR += spiralsynth diff --git a/audio/speex-devel/Makefile b/audio/speex-devel/Makefile index 2c1d373d7ef1..e180cbde3f20 100644 --- a/audio/speex-devel/Makefile +++ b/audio/speex-devel/Makefile @@ -7,21 +7,22 @@ # PORTNAME= speex -PORTVERSION= 1.0.4 -PORTEPOCH= 1 +PORTVERSION= 1.1.6 CATEGORIES= audio MASTER_SITES= http://www.speex.org/download/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} +PKGNAMESUFFIX= -devel MAINTAINER= ahze@FreeBSD.org COMMENT= An open-source patent-free voice codec LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg +CONFLICTS= speex-1.0* + USE_GNOME= gnomehack USE_GETOPT_LONG= yes USE_REINPLACE= yes -USE_INC_LIBTOOL_VER= 13 +USE_LIBTOOL_VER= 15 LIBTOOLFLAGS= --disable-ltlibs --release-ignore CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" diff --git a/audio/speex-devel/distinfo b/audio/speex-devel/distinfo index 38eb24350374..63b7f9328825 100644 --- a/audio/speex-devel/distinfo +++ b/audio/speex-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (speex-1.0.4.tar.gz) = 15a0686b7e1f81d352a648044b350fcc -SIZE (speex-1.0.4.tar.gz) = 546214 +MD5 (speex-1.1.6.tar.gz) = 111428b4c26c8be02de951a0d9a97e93 +SIZE (speex-1.1.6.tar.gz) = 588260 diff --git a/audio/speex-devel/files/patch-configure b/audio/speex-devel/files/patch-configure deleted file mode 100644 index 868364574624..000000000000 --- a/audio/speex-devel/files/patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Mon Jul 29 11:40:32 2002 -+++ configure Wed Jul 31 03:49:39 2002 -@@ -5287,6 +5287,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/audio/speex-devel/files/patch-libspeex::stack_alloc.h b/audio/speex-devel/files/patch-libspeex::stack_alloc.h deleted file mode 100644 index 25883aab513f..000000000000 --- a/audio/speex-devel/files/patch-libspeex::stack_alloc.h +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- libspeex/stack_alloc.h.orig Wed Jun 11 17:10:53 2003 -+++ libspeex/stack_alloc.h Wed Jun 11 17:11:12 2003 -@@ -48,7 +48,7 @@ - #else - - /*Aligns the stack to a 'size' boundary */ --#define ALIGN(stack, size) ((stack) += ((size) - (int)(stack)) & ((size) - 1)) -+#define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) - - /* Allocates 'size' elements of type 'type' on the stack */ - #define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type)))) diff --git a/audio/speex-devel/pkg-plist b/audio/speex-devel/pkg-plist index 04a0ceb9f97c..948c36baa29c 100644 --- a/audio/speex-devel/pkg-plist +++ b/audio/speex-devel/pkg-plist @@ -1,15 +1,13 @@ bin/speexdec bin/speexenc -include/speex.h include/speex/speex.h include/speex/speex_bits.h include/speex/speex_callbacks.h +include/speex/speex_echo.h include/speex/speex_header.h +include/speex/speex_jitter.h +include/speex/speex_preprocess.h include/speex/speex_stereo.h -include/speex_bits.h -include/speex_callbacks.h -include/speex_header.h -include/speex_stereo.h lib/libspeex.a lib/libspeex.so lib/libspeex.so.3 |