summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-11-08 21:06:46 +0000
committerbjs <bjs@pkgsrc.org>2008-11-08 21:06:46 +0000
commit0aa4a7c397af1b34b5583706de7d73541bf0a5d4 (patch)
tree71fa8e26ca4a832bcabe4f272d8d3ed9e13fd12e /audio
parentd4255d7e66cd7ee939e670300cc12e000b70f5de (diff)
downloadpkgsrc-0aa4a7c397af1b34b5583706de7d73541bf0a5d4.tar.gz
Update to speex-1.2rc1. This should be backward-compatible with
1.0.x versions. Pulseaudio (which I am working on) requires this version; moreover, the 1.0.x releases are deprecated. The ChangeLog is not kept up-to-date, but here are some highlights: 1.2rc1 -------- Again, this new releases brings many improvements. The RAM requirement for wideband has gone down drastically (i.e. more than 2x). A new resampler module has been added, providing arbitrary sampling rate conversion -- fast. The echo canceller has also been improved. A bug in 1.2beta1 that made the echo canceller unstable has been fixed. The echo canceller should now converge faster, be robust and tolerant of incorrect capture-playback synchronisation. The preprocessor has also been greatly improved. Not only should the quality be better, but it is now fully converted to fixed-point. At last, early TriMedia support (incomplete) has been merged. 1.2beta3 -------- The most obvious change in this release is that all the non-codec components (preprocessor, echo cancellation, jitter buffer) have been moved to a new libspeexdsp library. Other changes include a new jitter buffer algorithm and resampler improvements/fixes. This is also the first release where libspeex can be built without any floating point support. To do this, the float compatibility API must be disabled (--disable-float-api or DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr or DISABLE_VBR). 1.2beta2 -------- This release adds support for acoustic echo cancellation with multiple microphones and multiple loudspeakers. It also adds an API to decorrelate loudspeaker signals to improve multi-channel performance. In the bugfix department, there are fixes for a few bugs in the echo canceller, jitter buffer and preprocessor. At this point, the API for 1.2 should be stable and only a few very minor additions are planned.
Diffstat (limited to 'audio')
-rw-r--r--audio/speex/Makefile10
-rw-r--r--audio/speex/PLIST20
-rw-r--r--audio/speex/buildlink3.mk5
-rw-r--r--audio/speex/distinfo12
-rw-r--r--audio/speex/patches/patch-aa13
-rw-r--r--audio/speex/patches/patch-ab31
-rw-r--r--audio/speex/patches/patch-ac20
7 files changed, 37 insertions, 74 deletions
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index 78e8408aa4b..0adf7e64b6c 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2008/04/29 20:22:43 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2008/11/08 21:06:46 bjs Exp $
#
-DISTNAME= speex-1.0.5
-PKGREVISION= 1
+DISTNAME= speex-1.2rc1
CATEGORIES= audio
MASTER_SITES= http://downloads.us.xiph.org/releases/speex/
@@ -15,18 +14,21 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
PKGCONFIG_OVERRIDE= speex.pc.in
+PKGCONFIG_OVERRIDE= speexdsp.pc.in
USE_TOOLS+= pkg-config
# previous versions of the package were called Speex
CONFLICTS= Speex-[0-9]*
-CONFIGURE_ARGS+= --with-ogg-dir="${BUILDLINK_PREFIX.libogg}"
+CONFIGURE_ARGS+= --with-ogg-dir=${BUILDLINK_PREFIX.libogg:Q}
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE:Q}
BUILDLINK_TRANSFORM+= l:gnugetopt:getopt
+.include "options.mk"
+
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
diff --git a/audio/speex/PLIST b/audio/speex/PLIST
index 7f2a375554f..808316b8fca 100644
--- a/audio/speex/PLIST
+++ b/audio/speex/PLIST
@@ -1,21 +1,25 @@
-@comment $NetBSD: PLIST,v 1.7 2004/09/22 08:09:17 jlam Exp $
+@comment $NetBSD: PLIST,v 1.8 2008/11/08 21:06:46 bjs Exp $
bin/speexdec
bin/speexenc
-include/speex.h
include/speex/speex.h
include/speex/speex_bits.h
+include/speex/speex_buffer.h
include/speex/speex_callbacks.h
+include/speex/speex_config_types.h
+include/speex/speex_echo.h
include/speex/speex_header.h
+include/speex/speex_jitter.h
+include/speex/speex_preprocess.h
+include/speex/speex_resampler.h
include/speex/speex_stereo.h
-include/speex_bits.h
-include/speex_callbacks.h
-include/speex_header.h
-include/speex_stereo.h
+include/speex/speex_types.h
lib/libspeex.la
+lib/libspeexdsp.la
lib/pkgconfig/speex.pc
+lib/pkgconfig/speexdsp.pc
man/man1/speexdec.1
man/man1/speexenc.1
share/aclocal/speex.m4
-share/doc/speex-${PKGVERSION}/manual.pdf
-@dirrm share/doc/speex-${PKGVERSION}
+share/doc/speex/manual.pdf
+@dirrm share/doc/speex
@dirrm include/speex
diff --git a/audio/speex/buildlink3.mk b/audio/speex/buildlink3.mk
index 6d0775f05b7..4d86d272087 100644
--- a/audio/speex/buildlink3.mk
+++ b/audio/speex/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2008/11/08 21:06:46 bjs Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPEEX_BUILDLINK3_MK:= ${SPEEX_BUILDLINK3_MK}+
@@ -12,8 +12,7 @@ BUILDLINK_PACKAGES+= speex
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}speex
.if !empty(SPEEX_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.speex+= speex>=1.0.4
-BUILDLINK_ABI_DEPENDS.speex+= speex>=1.0.4nb1
+BUILDLINK_API_DEPENDS.speex+= speex>=1.2rc1
BUILDLINK_PKGSRCDIR.speex?= ../../audio/speex
.endif # SPEEX_BUILDLINK3_MK
diff --git a/audio/speex/distinfo b/audio/speex/distinfo
index ee5d07d74d2..0e4f4b8367a 100644
--- a/audio/speex/distinfo
+++ b/audio/speex/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.11 2008/04/29 20:22:43 wiz Exp $
+$NetBSD: distinfo,v 1.12 2008/11/08 21:06:46 bjs Exp $
-SHA1 (speex-1.0.5.tar.gz) = a8f34f80e5f84a47aee7e70088632d4958fe75fd
-RMD160 (speex-1.0.5.tar.gz) = 6ceed29438912647ef1d2d7299822fdaaf5509f9
-Size (speex-1.0.5.tar.gz) = 546872 bytes
-SHA1 (patch-aa) = 675bbd2696852002d73fc778a3c1125435eb0fc6
-SHA1 (patch-ab) = b88dfafc1464aed7c5f38f39a270d16338335418
-SHA1 (patch-ac) = 9167258134683ee6172455532ff1ae9aa95d9868
+SHA1 (speex-1.2rc1.tar.gz) = 52daa72572e844e5165315e208da539b2a55c5eb
+RMD160 (speex-1.2rc1.tar.gz) = 6f4a11ef910b0db9b820826bcac3da1b79cad3a1
+Size (speex-1.2rc1.tar.gz) = 1061882 bytes
+SHA1 (patch-ab) = f597b1bcc4444e025e7029a6fc17948a73d5980b
diff --git a/audio/speex/patches/patch-aa b/audio/speex/patches/patch-aa
deleted file mode 100644
index 00e0ba54608..00000000000
--- a/audio/speex/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/04/27 09:13:07 wiz Exp $
-
---- speex.m4.orig 2004-07-14 07:29:08.000000000 +0200
-+++ speex.m4
-@@ -7,7 +7,7 @@
- dnl XIPH_PATH_SPEEX([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
- dnl Test for libspeex, and define SPEEX_CFLAGS and SPEEX_LIBS
- dnl
--AC_DEFUN(XIPH_PATH_SPEEX,
-+AC_DEFUN([XIPH_PATH_SPEEX],
- [dnl
- dnl Get the cflags and libraries
- dnl
diff --git a/audio/speex/patches/patch-ab b/audio/speex/patches/patch-ab
index 01ff9dbf783..0069ed8ee13 100644
--- a/audio/speex/patches/patch-ab
+++ b/audio/speex/patches/patch-ab
@@ -1,25 +1,18 @@
-$NetBSD: patch-ab,v 1.4 2006/03/11 03:14:43 reed Exp $
+$NetBSD: patch-ab,v 1.5 2008/11/08 21:06:46 bjs Exp $
---- src/Makefile.in.orig 2004-07-15 00:25:20.000000000 -0700
+--- src/Makefile.in.orig 2008-07-20 22:17:20.000000000 -0400
+++ src/Makefile.in
-@@ -183,7 +183,7 @@ install_sh = @install_sh@
- libdir = @libdir@
- libexecdir = @libexecdir@
- localstatedir = @localstatedir@
--mandir = $(prefix)/share/man
-+mandir = @mandir@
- mkdir_p = @mkdir_p@
- oldincludedir = @oldincludedir@
- prefix = @prefix@
-@@ -199,9 +199,9 @@ EXTRA_DIST = $(man_MANS) getopt_win.h ge
- include_HEADERS =
+@@ -224,11 +224,11 @@ include_HEADERS =
noinst_HEADERS = wav_io.h
- speexenc_SOURCES = speexenc.c wav_io.c
--speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS)
-+speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS) $(LIBOSSAUDIO)
+ speexenc_SOURCES = speexenc.c wav_io.c skeleton.c
+ speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la $(top_builddir)/libspeex/libspeexdsp.la \
+- $(OGG_LIBS) @FFT_LIBS@
++ $(OGG_LIBS) @FFT_LIBS@ $(LIBOSSAUDIO)
+
speexdec_SOURCES = speexdec.c wav_io.c
--speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS)
-+speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS) $(LIBOSSAUDIO)
+ speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la \
+- $(OGG_LIBS) @FFT_LIBS@
++ $(OGG_LIBS) @FFT_LIBS@ $(LIBOSSAUDIO)
+
all: all-am
- .SUFFIXES:
diff --git a/audio/speex/patches/patch-ac b/audio/speex/patches/patch-ac
deleted file mode 100644
index 9e37aaf508e..00000000000
--- a/audio/speex/patches/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/04/29 20:22:43 wiz Exp $
-
-https://trac.xiph.org/changeset/14701
-
---- libspeex/speex_header.c.orig 2004-07-14 05:58:46.000000000 +0000
-+++ libspeex/speex_header.c
-@@ -157,6 +157,13 @@ SpeexHeader *speex_packet_to_header(char
- ENDIAN_SWITCH(le_header->frames_per_packet);
- ENDIAN_SWITCH(le_header->extra_headers);
-
-+ if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0)
-+ {
-+ speex_warning("Invalid mode specified in Speex header");
-+ speex_free (le_header);
-+ return NULL;
-+ }
-+
- return le_header;
-
- }