summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2003-03-24 08:58:53 +0000
committerwiz <wiz>2003-03-24 08:58:53 +0000
commitcda2336a95fe2d79b96fa1adfd453bff7fd3b0bf (patch)
treeb4e907686ab451c25b798a6e80dda937ded45792 /audio
parenta332a92ac125606014210b25d9352f9521c22e8c (diff)
downloadpkgsrc-cda2336a95fe2d79b96fa1adfd453bff7fd3b0bf.tar.gz
Re-import of audio/Speex as audio/speex.
Moved Speex to Speex-mixedcase in the repository [schmonz 2007-06-07]
Diffstat (limited to 'audio')
-rw-r--r--audio/speex/DESCR7
-rw-r--r--audio/speex/Makefile25
-rw-r--r--audio/speex/PLIST16
-rw-r--r--audio/speex/buildlink2.mk31
-rw-r--r--audio/speex/distinfo6
-rw-r--r--audio/speex/patches/patch-aa13
-rw-r--r--audio/speex/patches/patch-ab26
7 files changed, 124 insertions, 0 deletions
diff --git a/audio/speex/DESCR b/audio/speex/DESCR
new file mode 100644
index 00000000000..8b557db62ae
--- /dev/null
+++ b/audio/speex/DESCR
@@ -0,0 +1,7 @@
+The Speex project aims to build an open-source, patent-free voice
+codec. Unlike other codecs like MP3 and Ogg Vorbis, Speex is
+specially designed for compressing voice at low bitrates in the
+8-32 kbps/channel range. Possible applications include Voice over
+IP (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.
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
new file mode 100644
index 00000000000..82444599531
--- /dev/null
+++ b/audio/speex/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/24 08:58:53 wiz Exp $
+#
+
+DISTNAME= speex-1.0rc3
+PKGNAME= speex-0.99.5
+CATEGORIES= audio
+MASTER_SITES= http://www.speex.org/download/
+
+MAINTAINER= wiz@netbsd.org
+HOMEPAGE= http://www.speex.org/
+COMMENT= open-source, patent-free voice codec
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+GNU_CONFIGURE= YES
+
+# previous versions of the package were called Speex
+CONFLICTS= Speex-[0-9]*
+
+CONFIGURE_ARGS+= --with-ogg-dir="${BUILDLINK_PREFIX.libogg}"
+
+.include "../../audio/libogg/buildlink2.mk"
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/speex/PLIST b/audio/speex/PLIST
new file mode 100644
index 00000000000..1efcfb406e8
--- /dev/null
+++ b/audio/speex/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/24 08:58:53 wiz Exp $
+bin/speexdec
+bin/speexenc
+include/speex.h
+include/speex_bits.h
+include/speex_callbacks.h
+include/speex_header.h
+include/speex_stereo.h
+lib/libspeex-0.99.so
+lib/libspeex.a
+lib/libspeex.la
+lib/libspeex.so
+man/man1/speexdec.1
+man/man1/speexenc.1
+share/doc/speex/manual.pdf
+@dirrm share/doc/speex
diff --git a/audio/speex/buildlink2.mk b/audio/speex/buildlink2.mk
new file mode 100644
index 00000000000..3e5168b9d24
--- /dev/null
+++ b/audio/speex/buildlink2.mk
@@ -0,0 +1,31 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/03/24 08:58:53 wiz Exp $
+#
+# This Makefile fragment is included by packages that use Speex.
+#
+# This file was created automatically using createbuildlink 2.2.
+#
+
+.if !defined(SPEEX_BUILDLINK2_MK)
+SPEEX_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= Speex
+BUILDLINK_DEPENDS.Speex?= Speex>=0.99.3
+BUILDLINK_PKGSRCDIR.Speex?= ../../audio/Speex
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.Speex=Speex
+BUILDLINK_PREFIX.Speex_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.Speex+= include/speex.h
+BUILDLINK_FILES.Speex+= include/speex_bits.h
+BUILDLINK_FILES.Speex+= include/speex_callbacks.h
+BUILDLINK_FILES.Speex+= include/speex_header.h
+BUILDLINK_FILES.Speex+= include/speex_stereo.h
+BUILDLINK_FILES.Speex+= lib/libspeex-0.99.*
+BUILDLINK_FILES.Speex+= lib/libspeex.*
+
+.include "../../audio/libogg/buildlink2.mk"
+
+BUILDLINK_TARGETS+= Speex-buildlink
+
+Speex-buildlink: _BUILDLINK_USE
+
+.endif # SPEEX_BUILDLINK2_MK
diff --git a/audio/speex/distinfo b/audio/speex/distinfo
new file mode 100644
index 00000000000..c653c74ec92
--- /dev/null
+++ b/audio/speex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/03/24 08:58:53 wiz Exp $
+
+SHA1 (speex-1.0rc3.tar.gz) = 1e4ffd8d7a5c7fb57f85f3cc63219626e46265d5
+Size (speex-1.0rc3.tar.gz) = 481195 bytes
+SHA1 (patch-aa) = 8171488be56f0dd34ff28315fef219e2e4eaee5b
+SHA1 (patch-ab) = 63c5bc6d4941cfb05e915de919b336b03de280b0
diff --git a/audio/speex/patches/patch-aa b/audio/speex/patches/patch-aa
new file mode 100644
index 00000000000..dee66f81646
--- /dev/null
+++ b/audio/speex/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/03/24 08:58:53 wiz Exp $
+
+--- doc/Makefile.in.orig Mon Mar 3 08:13:28 2003
++++ doc/Makefile.in
+@@ -83,7 +83,7 @@ STRIP = @STRIP@
+ VERSION = @VERSION@
+ src = @src@
+
+-docdir = $(prefix)/share/doc
++docdir = $(prefix)/share/doc/speex
+
+ doc_DATA = manual.pdf
+
diff --git a/audio/speex/patches/patch-ab b/audio/speex/patches/patch-ab
new file mode 100644
index 00000000000..f7c17285e28
--- /dev/null
+++ b/audio/speex/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/03/24 08:58:53 wiz Exp $
+
+--- src/Makefile.in.orig Mon Mar 3 08:13:28 2003
++++ src/Makefile.in
+@@ -89,7 +89,7 @@ src = @src@
+
+ INCLUDES = -I$(top_srcdir)/libspeex $(OGG_INCLUDES)
+
+-mandir = $(prefix)/share/man
++mandir = $(prefix)/man
+ man_MANS = speexenc.1 speexdec.1
+
+ EXTRA_DIST = $(man_MANS) getopt_win.h getopt.c getopt1.c wave_out.c wave_out.h
+@@ -100,10 +100,10 @@ noinst_HEADERS = wav_io.h
+ bin_PROGRAMS = speexenc speexdec
+
+ speexenc_SOURCES = speexenc.c wav_io.c
+-speexenc_LDADD = $(top_srcdir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS)
++speexenc_LDADD = $(top_srcdir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS) ${LIBOSSAUDIO}
+
+ speexdec_SOURCES = speexdec.c wav_io.c
+-speexdec_LDADD = $(top_srcdir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS)
++speexdec_LDADD = $(top_srcdir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS) ${LIBOSSAUDIO}
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_CLEAN_FILES =
+ bin_PROGRAMS = speexenc$(EXEEXT) speexdec$(EXEEXT)