summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-11-02 21:17:27 +0000
committertrevor <trevor@FreeBSD.org>2000-11-02 21:17:27 +0000
commit060db65d79d198b5f2648ab62ef6d1e433a59389 (patch)
treee1358a9b4a2d398c913e30e1eee674f0c5a94313 /audio
parent5365734422e689ee64d3e1aaf76717a06f6e0250 (diff)
downloadFreeBSD-ports-060db65d79d198b5f2648ab62ef6d1e433a59389.zip
FreeBSD-ports-060db65d79d198b5f2648ab62ef6d1e433a59389.tar.gz
Add new port of vorbis-tools, a collection of utilities to encode,
play and tag Vorbis files. PR: 22095 Submitted by: Theo van Klaveren <t.vanklaveren@student.utwente.nl>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/vorbis-tools/Makefile48
-rw-r--r--audio/vorbis-tools/distinfo1
-rw-r--r--audio/vorbis-tools/files/patch-aa12
-rw-r--r--audio/vorbis-tools/files/patch-oggenc_audio_c11
-rw-r--r--audio/vorbis-tools/pkg-comment1
-rw-r--r--audio/vorbis-tools/pkg-descr15
-rw-r--r--audio/vorbis-tools/pkg-plist3
8 files changed, 92 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 8465b45..c91580f 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -153,6 +153,7 @@
SUBDIR += tosha
SUBDIR += tracker
SUBDIR += vorbis
+ SUBDIR += vorbis-tools
SUBDIR += waveplay
SUBDIR += wavplay
SUBDIR += wmcdplay
diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile
new file mode 100644
index 0000000..1ca246d
--- /dev/null
+++ b/audio/vorbis-tools/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: vorbis-tools
+# Date created: 18 October 2000
+# Whom: t.vanklaveren@student.utwente.nl
+#
+# $FreeBSD$
+#
+
+PORTNAME= vorbis-tools
+PORTVERSION= 20001018
+CATEGORIES= audio
+MASTER_SITES= http://home.student.utwente.nl/t.vanklaveren/distfiles/
+DISTNAME= vorbis-tools-${PORTVERSION}
+
+MAINTAINER= t.vanklaveren@student.utwente.nl
+
+LIB_DEPENDS= ao.0:${PORTSDIR}/audio/libao \
+ ogg.0:${PORTSDIR}/audio/libogg \
+ vorbis.0:${PORTSDIR}/audio/libvorbis
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/vorbis-tools
+ACLOCAL?= ${LOCALBASE}/bin/aclocal
+AUTOHEADER?= ${LOCALBASE}/bin/autoheader
+CFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-ogg=${LOCALBASE} \
+ --with-ao=${LOCALBASE}
+
+MAN1= ogg123.1
+
+post-build:
+# This is probably evil, and should be in a Makefile.
+ cd ${WRKSRC}/oggenc && ${CC} ${CFLAGS} -c getopt1.c
+ cd ${WRKSRC}/ogg123 && ${CC} ${CFLAGS} -c ogg123.c -I${LOCALBASE}/include
+ cd ${WRKSRC}/ogg123 && ${CC} ${LDFLAGS} -o ogg123 ogg123.o ../oggenc/getopt.o ../oggenc/getopt1.o -L${LOCALBASE}/lib -logg -lvorbis -lao -lvorbisfile
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ogg123/ogg123 ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/ogg123/ogg123.1 ${PREFIX}/man/man1/
+
+post-patch:
+ cd ${WRKSRC} && ${ACLOCAL}
+ cd ${WRKSRC} && ${AUTOHEADER}
+ cd ${WRKSRC} && ${AUTOMAKE} --add-missing
+ cd ${WRKSRC} && ${AUTOCONF}
+
+.include <bsd.port.mk>
diff --git a/audio/vorbis-tools/distinfo b/audio/vorbis-tools/distinfo
new file mode 100644
index 0000000..4a70a95
--- /dev/null
+++ b/audio/vorbis-tools/distinfo
@@ -0,0 +1 @@
+MD5 (vorbis-tools-20001018.tar.gz) = 20d4a7aa7c7598538fbf4cb2771bd45f
diff --git a/audio/vorbis-tools/files/patch-aa b/audio/vorbis-tools/files/patch-aa
new file mode 100644
index 0000000..aef108c
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-aa
@@ -0,0 +1,12 @@
+--- ogg123/ogg123.c.orig Wed Oct 11 06:19:51 2000
++++ ogg123/ogg123.c Wed Oct 18 23:02:20 2000
+@@ -27,8 +27,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/socket.h> /* !!! */
+ #include <sys/types.h>
++#include <sys/socket.h> /* !!! */
+ #include <unistd.h>
+ #include <netdb.h>
+ #include <netinet/in.h>
diff --git a/audio/vorbis-tools/files/patch-oggenc_audio_c b/audio/vorbis-tools/files/patch-oggenc_audio_c
new file mode 100644
index 0000000..2b82e78
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-oggenc_audio_c
@@ -0,0 +1,11 @@
+--- oggenc/audio.c.orig Wed Sep 6 17:57:46 2000
++++ oggenc/audio.c Thu Nov 2 12:42:46 2000
+@@ -14,7 +14,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <sys/types.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "audio.h"
+
+ #define WAV_HEADER_SIZE 44
diff --git a/audio/vorbis-tools/pkg-comment b/audio/vorbis-tools/pkg-comment
new file mode 100644
index 0000000..67aab61
--- /dev/null
+++ b/audio/vorbis-tools/pkg-comment
@@ -0,0 +1 @@
+MP3-comparable audio compression codec library
diff --git a/audio/vorbis-tools/pkg-descr b/audio/vorbis-tools/pkg-descr
new file mode 100644
index 0000000..b404627
--- /dev/null
+++ b/audio/vorbis-tools/pkg-descr
@@ -0,0 +1,15 @@
+Vorbis is a general-purpose audio and music encoding format contemporary to
+MPEG-4's AAC and TwinVQ, the next generation beyond MPEG audio layer 3. Unlike
+the MPEG sponsored formats (and other proprietary formats such as RealAudio G2
+and Windows' flavor of the month), the Vorbis CODEC specification belongs to
+the public domain. All the technical details are published and documented, and
+any software entity may make full use of the format without royalty or patent
+concerns.
+
+This package contains utilities to encode and decode vorbis streams, and to
+add comments to them.
+
+WWW: http://www.vorbis.com
+
+- Theo van Klaveren
+t.vanklaveren@student.utwente.nl
diff --git a/audio/vorbis-tools/pkg-plist b/audio/vorbis-tools/pkg-plist
new file mode 100644
index 0000000..6af826e
--- /dev/null
+++ b/audio/vorbis-tools/pkg-plist
@@ -0,0 +1,3 @@
+bin/ogg123
+bin/oggenc
+bin/vorbiscomment
OpenPOWER on IntegriCloud