summaryrefslogtreecommitdiff
path: root/audio/vorbis-tools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-15 20:53:06 +0000
committerwiz <wiz@pkgsrc.org>2001-03-15 20:53:06 +0000
commit8001bda8b464b98cd03f3efe1f6c5e6552613ac8 (patch)
treec21582816b005d004dfcbb6f6e6716f06ab4df15 /audio/vorbis-tools
parent7add87736ad1f343e70bf2691fea916d1c376bad (diff)
downloadpkgsrc-8001bda8b464b98cd03f3efe1f6c5e6552613ac8.tar.gz
Initial import of vorbis-tools: Ogg Vorbis encoder and player.
Replaces audio/vorbis. Package by Jeremy C. Reed, submitted in pkg/12415. (Note: -d wav output seems to be broken right now, output to /dev/audio works fine.)
Diffstat (limited to 'audio/vorbis-tools')
-rw-r--r--audio/vorbis-tools/Makefile24
-rw-r--r--audio/vorbis-tools/files/md53
-rw-r--r--audio/vorbis-tools/files/patch-sum5
-rw-r--r--audio/vorbis-tools/patches/patch-aa13
-rw-r--r--audio/vorbis-tools/patches/patch-ab13
-rw-r--r--audio/vorbis-tools/patches/patch-ac15
-rw-r--r--audio/vorbis-tools/pkg/DESCR8
-rw-r--r--audio/vorbis-tools/pkg/PLIST8
8 files changed, 89 insertions, 0 deletions
diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile
new file mode 100644
index 00000000000..60dc0bdb489
--- /dev/null
+++ b/audio/vorbis-tools/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+
+DISTNAME= vorbis-tools-1.0beta4
+CATEGORIES= audio
+MASTER_SITES= http://www.vorbis.com/files/beta4/unix/
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://www.vorbis.com/
+COMMENT= Ogg Vorbis encoder and player
+
+DEPENDS+= libao>=0.6.0:../../audio/libao
+DEPENDS+= libogg>=1.0beta4:../../audio/libogg
+DEPENDS+= libvorbis>=1.0beta4:../../audio/libvorbis
+
+CONFLICTS= vorbis-*
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+CONFIGURE_ARGS+= --with-ogg-prefix=${PREFIX} \
+ --with-vorbis-prefix=${PREFIX} \
+ --with-ao-prefix=${PREFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/vorbis-tools/files/md5 b/audio/vorbis-tools/files/md5
new file mode 100644
index 00000000000..be959be484c
--- /dev/null
+++ b/audio/vorbis-tools/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+
+SHA1 (vorbis-tools-1.0beta4.tar.gz) = 58fd74ed0c8c814052e5c713736fb2df99bb89e6
diff --git a/audio/vorbis-tools/files/patch-sum b/audio/vorbis-tools/files/patch-sum
new file mode 100644
index 00000000000..6a5594549dd
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+
+SHA1 (patch-aa) = aab33b5461b56f912ee7cb551c90612d20461323
+SHA1 (patch-ab) = fc23be24de8b2e43f0a3fd2ce73d47bf3fe2196b
+SHA1 (patch-ac) = b2cc1c6e290b4150f7803c2abdbfe5ab31f653c3
diff --git a/audio/vorbis-tools/patches/patch-aa b/audio/vorbis-tools/patches/patch-aa
new file mode 100644
index 00000000000..5b0fb278d71
--- /dev/null
+++ b/audio/vorbis-tools/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+
+--- ../vorbis-tools-1.0beta4.orig/configure Sun Feb 25 21:51:05 2001
++++ configure Thu Mar 15 09:52:40 2001
+@@ -1822,7 +1822,7 @@
+ AO_LIBS="-L$ao_prefix/lib"
+ fi
+
+- AO_LIBS="$AO_LIBS -lao -ldl"
++ AO_LIBS="$AO_LIBS -lao -lossaudio"
+
+ echo $ac_n "checking for ao""... $ac_c" 1>&6
+ echo "configure:1829: checking for ao" >&5
diff --git a/audio/vorbis-tools/patches/patch-ab b/audio/vorbis-tools/patches/patch-ab
new file mode 100644
index 00000000000..db8da4af77b
--- /dev/null
+++ b/audio/vorbis-tools/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+
+--- ../vorbis-tools-1.0beta4.orig/ogg123/Makefile.in Mon Feb 26 03:02:14 2001
++++ ogg123/Makefile.in Sat Mar 10 03:47:13 2001
+@@ -85,7 +85,7 @@
+ bin_PROGRAMS = ogg123
+ docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+ doc_DATA = ogg123rc-example
+-mandir = $(datadir)/man
++mandir = $(prefix)/man
+ man_MANS = ogg123.1
+
+ INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AO_CFLAGS@
diff --git a/audio/vorbis-tools/patches/patch-ac b/audio/vorbis-tools/patches/patch-ac
new file mode 100644
index 00000000000..a42eba28a5b
--- /dev/null
+++ b/audio/vorbis-tools/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+
+--- ../vorbis-tools-1.0beta4.orig/ogg123/ogg123.c Fri Feb 23 16:52:22 2001
++++ ogg123/ogg123.c Thu Mar 15 10:40:21 2001
+@@ -170,7 +170,9 @@
+ if (temp_driver_id < 0) {
+ temp_driver_id = get_default_device();
+ if(temp_driver_id < 0) {
+- temp_driver_id = ao_get_driver_id(NULL);
++/* temp_driver_id = ao_get_driver_id(NULL); */
++/* For the NetBSD package, I am assuming that audio is desired. */
++ temp_driver_id = ao_get_driver_id("oss");
+ }
+ if (temp_driver_id < 0) {
+ fprintf(stderr,
diff --git a/audio/vorbis-tools/pkg/DESCR b/audio/vorbis-tools/pkg/DESCR
new file mode 100644
index 00000000000..73f8a8c7961
--- /dev/null
+++ b/audio/vorbis-tools/pkg/DESCR
@@ -0,0 +1,8 @@
+vorbis-tools contains an Ogg Vorbis command-line encoder,
+decoder/player and a tool for changing .ogg file comments. Ogg
+Vorbis is a audio encoding format; its technology is patent-free and
+players and encoders are available on a variety of operating
+systems.
+ * oggenc encodes audio into the Ogg Vorbis format
+ * ogg123 plays Ogg Vorbis files or URLs streamed via HTTP
+ * vorbiscomment can list or set comments in an .ogg file
diff --git a/audio/vorbis-tools/pkg/PLIST b/audio/vorbis-tools/pkg/PLIST
new file mode 100644
index 00000000000..d9f8c9472bc
--- /dev/null
+++ b/audio/vorbis-tools/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/15 20:53:06 wiz Exp $
+bin/ogg123
+bin/oggenc
+bin/vorbiscomment
+man/man1/ogg123.1
+man/man1/oggenc.1
+share/doc/vorbis-tools-1.0beta4/ogg123rc-example
+@dirrm share/doc/vorbis-tools-1.0beta4