summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-09-16 05:04:50 +0000
committerWill Andrews <will@FreeBSD.org>2000-09-16 05:04:50 +0000
commit7e2adc5edc72c8034b3e6f6467451e9dae5a175f (patch)
tree76d6f535c6633c6fe3558a7508aa1f2c1e94cedc
parentAdd p5-Tie-DB_FileLock 0.10, a perl module which extends DB_File, providing (diff)
Add vorbis date 20000821, featuring an encoder, player, various shell
scripts and an XMMS plugin. The guy who wrote this code is on crack so Theo had to build his own distfile (I know because I tried to port this myself..). PR: 20766 Submitted by: Theo van Klaveren <t.vanklaveren@student.utwente.nl>
Notes
Notes: svn path=/head/; revision=32675
-rw-r--r--audio/Makefile1
-rw-r--r--audio/vorbis/Makefile54
-rw-r--r--audio/vorbis/pkg-comment1
-rw-r--r--audio/vorbis/pkg-descr19
4 files changed, 75 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 564a03c7c44f..dbed0c96fb9b 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -112,6 +112,7 @@
SUBDIR += timidity++-xskin
SUBDIR += tosha
SUBDIR += tracker
+ SUBDIR += vorbis
SUBDIR += waveplay
SUBDIR += wavplay
SUBDIR += wmcdplay
diff --git a/audio/vorbis/Makefile b/audio/vorbis/Makefile
new file mode 100644
index 000000000000..779decd0377c
--- /dev/null
+++ b/audio/vorbis/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: vorbis
+# Date created: 22 August 2000
+# Whom: t.vanklaveren@student.utwente.nl
+#
+# $FreeBSD$
+#
+
+PORTNAME= vorbis
+PORTVERSION= 20000821
+CATEGORIES= audio
+MASTER_SITES= http://home.student.utwente.nl/t.vanklaveren/distfiles/
+
+MAINTAINER= t.vanklaveren@student.utwente.nl
+
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+ xmms.1:${PORTSDIR}/audio/xmms
+RUN_DEPENDS= ${X11BASE}/bin/xmms:${PORTSDIR}/audio/xmms
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+# Vorbis doesn't depend on X, but it's needed for the XMMS plugin :-(
+USE_X_PREFIX= yes
+USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/vorbis
+
+post-build:
+ cd ${WRKSRC}/vorbis-tools/libao && ${SETENV} ${MAKE_ENV} ${MAKE}
+ cd ${WRKSRC}/vorbis-tools && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
+ cd ${WRKSRC}/xmms && ${SETENV} ${MAKE_ENV} ${MAKE} GLIB_CONFIG=${GLIB_CONFIG} GTK_CONFIG=${GTK_CONFIG} target
+do-install:
+# Install all vorbis libraries and headers by hand. There is no target for it.
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/libvorbis.a ${PREFIX}/lib/
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/vorbisfile.a ${PREFIX}/lib/
+# Install all vorbis-tools by hand. The Makefile sucks and is beyond hope.
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbize ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/vorbis-tools/mp3tovorbis ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/ogg123 ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbiscomment ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/oggenc ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/ogg123.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/vorbize.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/oggenc.1 ${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmms/libvorbis.so ${PREFIX}/lib/xmms/Input/
+# And finally, the header files
+ ${MKDIR} ${PREFIX}/include/vorbis
+ ${MKDIR} ${PREFIX}/include/vorbis/book
+ ${INSTALL_DATA} ${WRKSRC}/include/vorbis/*.h ${PREFIX}/include/vorbis/
+ ${INSTALL_DATA} ${WRKSRC}/include/vorbis/book/*.vqh ${PREFIX}/include/vorbis/book/
+
+MAN1= ogg123.1 vorbize.1 oggenc.1
+
+.include <bsd.port.mk>
diff --git a/audio/vorbis/pkg-comment b/audio/vorbis/pkg-comment
new file mode 100644
index 000000000000..a92422a7a83a
--- /dev/null
+++ b/audio/vorbis/pkg-comment
@@ -0,0 +1 @@
+MP3-comparable audio compression codec and tools
diff --git a/audio/vorbis/pkg-descr b/audio/vorbis/pkg-descr
new file mode 100644
index 000000000000..582937306889
--- /dev/null
+++ b/audio/vorbis/pkg-descr
@@ -0,0 +1,19 @@
+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 libvorbis, an LGPLed software implementation of
+the Vorbis specification by the Xiphophorus company
+(http://www.xiph.org/), vorbisfile, an LGPLed convenience library
+built on Vorbis designed to simplify common uses and a number of GPL
+example programs, utilities and player plugins.
+
+WWW: http://www.vorbis.com
+
+- Theo van Klaveren
+t.vanklaveren@student.utwente.nl