aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/oggsplit/Makefile29
-rw-r--r--audio/oggsplit/distinfo2
-rw-r--r--audio/oggsplit/files/patch-system.h10
-rw-r--r--audio/oggsplit/files/patch-xmalloc.c33
-rw-r--r--audio/oggsplit/pkg-descr5
6 files changed, 80 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 39527e24c87b..2e027d75faa6 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -266,6 +266,7 @@
SUBDIR += normalize
SUBDIR += nosefart
SUBDIR += nspmod
+ SUBDIR += oggsplit
SUBDIR += openal
SUBDIR += opennap
SUBDIR += opmixer
diff --git a/audio/oggsplit/Makefile b/audio/oggsplit/Makefile
new file mode 100644
index 000000000000..9c54fb7fca82
--- /dev/null
+++ b/audio/oggsplit/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: oggsplit
+# Date created: 29 Dec 2004
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= oggsplit
+PORTVERSION= 0.1.0
+CATEGORIES= audio
+MASTER_SITES= http://homepage.ntlworld.com/jfe1205/OggVorbis/
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Split multiplexed (grouped or chained) Ogg files into separate streams
+
+LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_AUTOCONF_VER= 259
+USE_AUTOMAKE_VER= 15
+AUTOMAKE_ARGS= --add-missing
+
+MAN1= oggsplit.1
+PLIST_FILES= bin/oggsplit
+
+pre-configure:
+ @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
+
+.include <bsd.port.mk>
diff --git a/audio/oggsplit/distinfo b/audio/oggsplit/distinfo
new file mode 100644
index 000000000000..b0ea7e44da9a
--- /dev/null
+++ b/audio/oggsplit/distinfo
@@ -0,0 +1,2 @@
+MD5 (oggsplit-0.1.0.tar.bz2) = a0cfe3258930ed3c6bf678ac996725e1
+SIZE (oggsplit-0.1.0.tar.bz2) = 31318
diff --git a/audio/oggsplit/files/patch-system.h b/audio/oggsplit/files/patch-system.h
new file mode 100644
index 000000000000..f1be850db7ee
--- /dev/null
+++ b/audio/oggsplit/files/patch-system.h
@@ -0,0 +1,10 @@
+--- system.h.orig Mon Aug 4 22:23:50 2003
++++ system.h Wed Dec 29 05:14:07 2004
+@@ -170,7 +170,6 @@
+ # include <string.h>
+ #else
+ # include <strings.h>
+-char *memchr ();
+ #endif
+
+ #include <errno.h>
diff --git a/audio/oggsplit/files/patch-xmalloc.c b/audio/oggsplit/files/patch-xmalloc.c
new file mode 100644
index 000000000000..0b9a2c53d8d1
--- /dev/null
+++ b/audio/oggsplit/files/patch-xmalloc.c
@@ -0,0 +1,33 @@
+--- xmalloc.c.orig Mon Aug 4 22:23:50 2003
++++ xmalloc.c Wed Dec 29 04:56:49 2004
+@@ -44,8 +44,6 @@
+ # define _(Text) Text
+ #endif
+
+-#include "error.h"
+-
+ #ifndef EXIT_FAILURE
+ # define EXIT_FAILURE 1
+ #endif
+@@ -64,12 +62,6 @@
+ The caller may set it to some other value. */
+ int xmalloc_exit_failure = EXIT_FAILURE;
+
+-#if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT)
+-void error (int, int, const char *, ...);
+-#else
+-void error ();
+-#endif
+-
+ static VOID *
+ fixup_null_alloc (n)
+ size_t n;
+@@ -79,8 +71,6 @@
+ p = 0;
+ if (n == 0)
+ p = malloc ((size_t) 1);
+- if (p == 0)
+- error (xmalloc_exit_failure, 0, _("Memory exhausted"));
+ return p;
+ }
+
diff --git a/audio/oggsplit/pkg-descr b/audio/oggsplit/pkg-descr
new file mode 100644
index 000000000000..e0c4b84c9513
--- /dev/null
+++ b/audio/oggsplit/pkg-descr
@@ -0,0 +1,5 @@
+oggsplit is a simple tool for splitting multiplexed (grouped or chained) Ogg
+files into separate streams. It can thus be used to take apart two concatenated
+streams (i.e. it undoes the process of cat file1.ogg file2.ogg > file3.ogg) or
+to split two streams which are grouped, for example the video and audio streams
+in a theora+vorbis file.