git: e0382da1bc12 - main - audio/py-zita-jacktools: New port: Audio tools running as a Jack client

Yuri Victorovich yuri at FreeBSD.org
Tue Jul 27 19:19:10 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e0382da1bc122300ae545f008742cebffb6e850c

commit e0382da1bc122300ae545f008742cebffb6e850c
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-07-27 19:03:41 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-07-27 19:19:03 +0000

    audio/py-zita-jacktools: New port: Audio tools running as a Jack client
---
 audio/Makefile                                     |  1 +
 audio/py-zita-jacktools/Makefile                   | 27 ++++++++++++++++++++++
 audio/py-zita-jacktools/distinfo                   |  3 +++
 .../files/patch-source_posixthr.h                  | 11 +++++++++
 audio/py-zita-jacktools/pkg-descr                  |  5 ++++
 5 files changed, 47 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index b595103a22e1..0abc8e31542e 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -670,6 +670,7 @@
     SUBDIR += py-wavio
     SUBDIR += py-webrtcvad
     SUBDIR += py-zita-audiotools
+    SUBDIR += py-zita-jacktools
     SUBDIR += qaudiosonar
     SUBDIR += qjackctl
     SUBDIR += qmidiarp
diff --git a/audio/py-zita-jacktools/Makefile b/audio/py-zita-jacktools/Makefile
new file mode 100644
index 000000000000..587f98ce1435
--- /dev/null
+++ b/audio/py-zita-jacktools/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	zita-jacktools
+DISTVERSION=	1.5.3
+CATEGORIES=	audio python
+MASTER_SITES=	https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Audio tools running as a Jack client
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	zita-jclient>0:audio/zita-jclient
+LIB_DEPENDS=	libjack.so:audio/jack \
+		libfftw3f.so:math/fftw3-float \
+		libsndfile.so:audio/libsndfile \
+		libzita-convolver.so:audio/zita-convolver \
+		libzita-resampler.so:audio/zita-resampler
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zita-audiotools>0:audio/py-zita-audiotools@${PY_FLAVOR}
+
+USES=		localbase python:3.6+ tar:bz2
+USE_PYTHON=	autoplist distutils
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jacktools/*.so
+
+.include <bsd.port.mk>
diff --git a/audio/py-zita-jacktools/distinfo b/audio/py-zita-jacktools/distinfo
new file mode 100644
index 000000000000..d435f06e82e2
--- /dev/null
+++ b/audio/py-zita-jacktools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627411500
+SHA256 (zita-jacktools-1.5.3.tar.bz2) = 0e62af4eeb6e6d288860912ee3696c2d3693faa4a9f7afe1446c6b2ee30e2596
+SIZE (zita-jacktools-1.5.3.tar.bz2) = 86893
diff --git a/audio/py-zita-jacktools/files/patch-source_posixthr.h b/audio/py-zita-jacktools/files/patch-source_posixthr.h
new file mode 100644
index 000000000000..bcc93d21d587
--- /dev/null
+++ b/audio/py-zita-jacktools/files/patch-source_posixthr.h
@@ -0,0 +1,11 @@
+--- source/posixthr.h.orig	2021-07-27 18:45:53 UTC
++++ source/posixthr.h
+@@ -22,7 +22,7 @@
+ #define _POSIXTHR_H
+ 
+ 
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ 
+ #include <stdlib.h>
+ #include <pthread.h>
diff --git a/audio/py-zita-jacktools/pkg-descr b/audio/py-zita-jacktools/pkg-descr
new file mode 100644
index 000000000000..9eb3281aa44a
--- /dev/null
+++ b/audio/py-zita-jacktools/pkg-descr
@@ -0,0 +1,5 @@
+Python audio tools running as a Jack client.
+
+zita-jacktools is a part of the LinuxAudio project.
+
+WWW: https://kokkinizita.linuxaudio.org/linuxaudio/


More information about the dev-commits-ports-main mailing list