summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2002-10-07 13:27:50 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2002-10-07 13:27:50 +0000
commit033495262f9aae1ddce956885eb01afcc1c67fe8 (patch)
tree0175a17170a7a93e76dc674bb530b8e21089b826 /audio
parentUpdate to version 1.010. (diff)
Add py-ao 0.8, a python wrapper for ao, an audio device abstraction
library.
Notes
Notes: svn path=/head/; revision=67554
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-ao/Makefile25
-rw-r--r--audio/py-ao/distinfo1
-rw-r--r--audio/py-ao/files/patch-setup.py11
-rw-r--r--audio/py-ao/pkg-comment1
-rw-r--r--audio/py-ao/pkg-descr6
-rw-r--r--audio/py-ao/pkg-plist1
7 files changed, 46 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 125ccf338095..12bcb38e5531 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -185,6 +185,7 @@
SUBDIR += pimp3
SUBDIR += play
SUBDIR += playmidi
+ SUBDIR += py-ao
SUBDIR += py-xmms
SUBDIR += pysol-sound-server
SUBDIR += quelcom
diff --git a/audio/py-ao/Makefile b/audio/py-ao/Makefile
new file mode 100644
index 000000000000..751c2a747df1
--- /dev/null
+++ b/audio/py-ao/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: pyao
+# Date created: 23 Sep 2002
+# Whom: nbm
+#
+# $FreeBSD$
+#
+
+PORTNAME= ao
+PORTVERSION= 0.8
+CATEGORIES= audio
+MASTER_SITES= http://www.andrewchatham.com/pyogg/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyao-${PORTVERSION}
+
+MAINTAINER= nbm@FreeBSD.org
+
+LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+do-configure:
+ @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py
+
+.include <bsd.port.mk>
diff --git a/audio/py-ao/distinfo b/audio/py-ao/distinfo
new file mode 100644
index 000000000000..f879d523ff0c
--- /dev/null
+++ b/audio/py-ao/distinfo
@@ -0,0 +1 @@
+MD5 (pyao-0.8.tar.gz) = c5e861e15f3cb7ddf12fd191e9752b2d
diff --git a/audio/py-ao/files/patch-setup.py b/audio/py-ao/files/patch-setup.py
new file mode 100644
index 000000000000..1c7c514b0b22
--- /dev/null
+++ b/audio/py-ao/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Sun Sep 2 21:14:39 2001
++++ setup.py Mon Sep 23 16:14:54 2002
+@@ -11,7 +11,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-ao/pkg-comment b/audio/py-ao/pkg-comment
new file mode 100644
index 000000000000..16fed096d580
--- /dev/null
+++ b/audio/py-ao/pkg-comment
@@ -0,0 +1 @@
+A python wrapper for ao, an audio device abstraction library
diff --git a/audio/py-ao/pkg-descr b/audio/py-ao/pkg-descr
new file mode 100644
index 000000000000..4ed3f6305113
--- /dev/null
+++ b/audio/py-ao/pkg-descr
@@ -0,0 +1,6 @@
+pyao - a Python wrapper module for the ao library
+
+Ao is an audio abstraction library that lets you output to different
+devices using the same interface.
+
+WWW: http://www.andrewchatham.com/pyogg/
diff --git a/audio/py-ao/pkg-plist b/audio/py-ao/pkg-plist
new file mode 100644
index 000000000000..d56e328ee4a9
--- /dev/null
+++ b/audio/py-ao/pkg-plist
@@ -0,0 +1 @@
+lib/%%PYTHON_VERSION%%/site-packages/aomodule.so