diff options
author | nbm <nbm@FreeBSD.org> | 2002-10-07 21:43:18 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2002-10-07 21:43:18 +0800 |
commit | eaf02ac4287ecf83cca20b994c7534a0d3e0cd8b (patch) | |
tree | df0ee5217429ee0de27c563fd22b5ab6173fe398 /audio | |
parent | a19a9fb3365be44a432d594f190d873232a4cfe8 (diff) | |
download | freebsd-ports-gnome-eaf02ac4287ecf83cca20b994c7534a0d3e0cd8b.tar.gz freebsd-ports-gnome-eaf02ac4287ecf83cca20b994c7534a0d3e0cd8b.tar.zst freebsd-ports-gnome-eaf02ac4287ecf83cca20b994c7534a0d3e0cd8b.zip |
Add py-vorbis 1.0, object-oriented Python bindings for the vorbis library.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/py-vorbis/Makefile | 27 | ||||
-rw-r--r-- | audio/py-vorbis/distinfo | 1 | ||||
-rw-r--r-- | audio/py-vorbis/files/patch-pyvorbisfile.c | 20 | ||||
-rw-r--r-- | audio/py-vorbis/files/patch-setup.py | 11 | ||||
-rw-r--r-- | audio/py-vorbis/pkg-comment | 1 | ||||
-rw-r--r-- | audio/py-vorbis/pkg-descr | 3 | ||||
-rw-r--r-- | audio/py-vorbis/pkg-plist | 1 |
8 files changed, 65 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index ed0cfc7e5dbd..50c7778d7da6 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -187,6 +187,7 @@ SUBDIR += playmidi SUBDIR += py-ao SUBDIR += py-ogg + SUBDIR += py-vorbis SUBDIR += py-xmms SUBDIR += pysol-sound-server SUBDIR += quelcom diff --git a/audio/py-vorbis/Makefile b/audio/py-vorbis/Makefile new file mode 100644 index 000000000000..ce36703d3f29 --- /dev/null +++ b/audio/py-vorbis/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: pyvorbis +# Date created: 23 Sep 2002 +# Whom: makeport.pl +# +# $FreeBSD$ +# + +PORTNAME= vorbis +PORTVERSION= 1.0 +CATEGORIES= audio +MASTER_SITES= http://www.andrewchatham.com/pyogg/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyvorbis-${PORTVERSION} + +MAINTAINER= nbm@FreeBSD.org + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_oggmodule.so:${PORTSDIR}/audio/py-ogg +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_oggmodule.so:${PORTSDIR}/audio/py-ogg +LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +do-configure: + @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py + +.include <bsd.port.mk> diff --git a/audio/py-vorbis/distinfo b/audio/py-vorbis/distinfo new file mode 100644 index 000000000000..c1dd8136d074 --- /dev/null +++ b/audio/py-vorbis/distinfo @@ -0,0 +1 @@ +MD5 (pyvorbis-1.0.tar.gz) = 158e38785543f2d945e20f67f77299b9 diff --git a/audio/py-vorbis/files/patch-pyvorbisfile.c b/audio/py-vorbis/files/patch-pyvorbisfile.c new file mode 100644 index 000000000000..7a33f3d00568 --- /dev/null +++ b/audio/py-vorbis/files/patch-pyvorbisfile.c @@ -0,0 +1,20 @@ +--- src/pyvorbisfile.c.orig Mon Sep 23 16:35:18 2002 ++++ src/pyvorbisfile.c Mon Sep 23 16:37:20 2002 +@@ -1,5 +1,17 @@ + #include <stdio.h> ++ ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ ++#if (defined(BSD)) ++#include <machine/endian.h> ++#define __BYTE_ORDER BYTE_ORDER ++#define __BIG_ENDIAN BIG_ENDIAN ++#else + #include <endian.h> ++#endif ++ + #include <assert.h> + + #include "general.h" diff --git a/audio/py-vorbis/files/patch-setup.py b/audio/py-vorbis/files/patch-setup.py new file mode 100644 index 000000000000..0a9871e385b6 --- /dev/null +++ b/audio/py-vorbis/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig Mon Sep 23 16:29:24 2002 ++++ setup.py Mon Sep 23 16:29:34 2002 +@@ -20,7 +20,7 @@ + + def get_setup(): + data = {} +- r = re.compile(r'(\S+)\s*?=\s*?(.+)') ++ r = re.compile(r'(\S+)\s*?=\s*(.+)') + + if not os.path.isfile('Setup'): + print "No 'Setup' file. Perhaps you need to run the configure script." diff --git a/audio/py-vorbis/pkg-comment b/audio/py-vorbis/pkg-comment new file mode 100644 index 000000000000..de1ec7261d3d --- /dev/null +++ b/audio/py-vorbis/pkg-comment @@ -0,0 +1 @@ +Object-oriented Python bindings for the vorbis library diff --git a/audio/py-vorbis/pkg-descr b/audio/py-vorbis/pkg-descr new file mode 100644 index 000000000000..5822cd2a3cbe --- /dev/null +++ b/audio/py-vorbis/pkg-descr @@ -0,0 +1,3 @@ +Object-oriented Python bindings for the vorbis library + +WWW: http://www.andrewchatham.com/pyogg/ diff --git a/audio/py-vorbis/pkg-plist b/audio/py-vorbis/pkg-plist new file mode 100644 index 000000000000..1f1fc72287fb --- /dev/null +++ b/audio/py-vorbis/pkg-plist @@ -0,0 +1 @@ +lib/%%PYTHON_VERSION%%/site-packages/ogg/vorbismodule.so |