diff options
author | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-20 18:33:15 +0000 |
---|---|---|
committer | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-20 18:33:15 +0000 |
commit | 5f34f360f9e82b15c639014a614da8175c27352b (patch) | |
tree | a93e20a577542390eefab437713bb3335aaf5231 /audio/py-py-jack | |
parent | Removed tags file, this should never have been committed (diff) |
Renamed to py-py-jack to match PyPI package name
PR: 220990
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D12079
Notes
Notes:
svn path=/head/; revision=448438
Diffstat (limited to 'audio/py-py-jack')
-rw-r--r-- | audio/py-py-jack/Makefile | 30 | ||||
-rw-r--r-- | audio/py-py-jack/distinfo | 3 | ||||
-rw-r--r-- | audio/py-py-jack/files/patch-pyjack.c | 10 | ||||
-rw-r--r-- | audio/py-py-jack/pkg-descr | 6 |
4 files changed, 49 insertions, 0 deletions
diff --git a/audio/py-py-jack/Makefile b/audio/py-py-jack/Makefile new file mode 100644 index 000000000000..171fdf9e389f --- /dev/null +++ b/audio/py-py-jack/Makefile @@ -0,0 +1,30 @@ +# Created by: Yuri Victorovich <yuri@rawbw.com> +# $FreeBSD$ + +PORTNAME= py-jack +PORTVERSION= 0.5.2 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@rawbw.com +COMMENT= Python bindings for the Jack Audio Server + +LICENSE= GPLv2 + +LIB_DEPENDS= libjack.so:audio/jack +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy + +USES= python:-2.7 localbase +USE_PYTHON= distutils autoplist + +post-patch: + @${REINPLACE_CMD} -e \ + 's|"/usr/local/|"${LOCALBASE}/|; \ + s|"jack", "dl"|"jack"|; \ + s|os.system.*|pass|' \ + ${WRKSRC}/setup.py +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jack.so + +.include <bsd.port.mk> diff --git a/audio/py-py-jack/distinfo b/audio/py-py-jack/distinfo new file mode 100644 index 000000000000..a18d2137d0b9 --- /dev/null +++ b/audio/py-py-jack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500938413 +SHA256 (py-jack-0.5.2.tar.gz) = 67951f7b78ded52f3191a5267cd917f1270a6abe28341ccb3575bdd482488590 +SIZE (py-jack-0.5.2.tar.gz) = 13490 diff --git a/audio/py-py-jack/files/patch-pyjack.c b/audio/py-py-jack/files/patch-pyjack.c new file mode 100644 index 000000000000..8cca602a3304 --- /dev/null +++ b/audio/py-py-jack/files/patch-pyjack.c @@ -0,0 +1,10 @@ +--- pyjack.c.orig 2017-07-24 23:24:04 UTC ++++ pyjack.c +@@ -40,7 +40,6 @@ TODO's: + // Global shared data for jack + + /* Uncomment the next line if you have Jack2 */ +-#define JACK2 1 + + + #define PYJACK_MAX_PORTS 256 diff --git a/audio/py-py-jack/pkg-descr b/audio/py-py-jack/pkg-descr new file mode 100644 index 000000000000..f253becb3c34 --- /dev/null +++ b/audio/py-py-jack/pkg-descr @@ -0,0 +1,6 @@ +PyJack is a module written in C which exposes the Jack API to Python. +For information about Jack see http://jackit.sourceforge.net. This +enables a Python program to connect to and interact with pro-audio +applications which use the Jack Audio Server. + +WWW: https://pypi.python.org/pypi/py-jack |