Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2021 19:19:08 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bdf628732ed0 - main - audio/zita-jclient: New port: Library to create a Jack client with a few lines of C++
Message-ID:  <202107271919.16RJJ8VK072232@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit bdf628732ed038bcf36ebb191fac574c8e399fae
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-27 18:43:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-27 19:19:03 +0000

    audio/zita-jclient: New port: Library to create a Jack client with a few lines of C++
---
 audio/Makefile                          |  1 +
 audio/zita-jclient/Makefile             | 28 ++++++++++++++++++++++++++++
 audio/zita-jclient/distinfo             |  3 +++
 audio/zita-jclient/files/patch-Makefile | 20 ++++++++++++++++++++
 audio/zita-jclient/pkg-descr            |  5 +++++
 5 files changed, 57 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index 5d29c3c0288c..b595103a22e1 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -880,6 +880,7 @@
     SUBDIR += zita-bls1
     SUBDIR += zita-convolver
     SUBDIR += zita-dpl1
+    SUBDIR += zita-jclient
     SUBDIR += zita-mu1
     SUBDIR += zita-njbridge
     SUBDIR += zita-resampler
diff --git a/audio/zita-jclient/Makefile b/audio/zita-jclient/Makefile
new file mode 100644
index 000000000000..4292e58efd17
--- /dev/null
+++ b/audio/zita-jclient/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	zita-jclient
+DISTVERSION=	0.4.2
+CATEGORIES=	audio
+MASTER_SITES=	https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Library to create a Jack client with a few lines of C++
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/../COPYING
+
+LIB_DEPENDS=	libjack.so:audio/jack
+
+USES=		gmake localbase:ldflags pkgconfig tar:bz2
+USE_LDCONFIG=	yes
+
+ALL_TARGET=	libzita-jclient.so.${PORTVERSION}
+
+WRKSRC_SUBDIR=	source
+
+PLIST_FILES=	include/zita-jclient.h \
+		lib/libzita-jclient.so \
+		lib/libzita-jclient.so.${PORTVERSION}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libzita-jclient.so.${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/audio/zita-jclient/distinfo b/audio/zita-jclient/distinfo
new file mode 100644
index 000000000000..a5a1d6d0bcca
--- /dev/null
+++ b/audio/zita-jclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627410163
+SHA256 (zita-jclient-0.4.2.tar.bz2) = e4982efa8eb72158d655443459eacb9bd2a6ce5351617f6a9f78943ea0791802
+SIZE (zita-jclient-0.4.2.tar.bz2) = 14004
diff --git a/audio/zita-jclient/files/patch-Makefile b/audio/zita-jclient/files/patch-Makefile
new file mode 100644
index 000000000000..c836440fffbc
--- /dev/null
+++ b/audio/zita-jclient/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig	2021-07-27 18:24:41 UTC
++++ Makefile
+@@ -20,7 +20,7 @@
+ 
+ # Modify as required.
+ #
+-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
++SUFFIX := #$(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+ PREFIX ?= /usr/local
+ INCDIR ?= $(PREFIX)/include
+ LIBDIR ?= $(PREFIX)/lib$(SUFFIX)
+@@ -56,7 +56,7 @@ install:	$(ZITA-JCLIENT_MIN)
+ 	install -d $(DESTDIR)$(LIBDIR)
+ 	install -m 644 $(ZITA-JCLIENT_H) $(DESTDIR)$(INCDIR)
+ 	install -m 755 $(ZITA-JCLIENT_MIN) $(DESTDIR)$(LIBDIR)
+-	ldconfig
++	#ldconfig
+ 	ln -sf $(ZITA-JCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-JCLIENT_SO)
+ 
+ uninstall:
diff --git a/audio/zita-jclient/pkg-descr b/audio/zita-jclient/pkg-descr
new file mode 100644
index 000000000000..74654b8454fe
--- /dev/null
+++ b/audio/zita-jclient/pkg-descr
@@ -0,0 +1,5 @@
+The zita-jclient library was written originally as a part of the
+Python library zita-jacktools, but it can be used as well to create
+a Jack client with a few lines of C++.
+
+WWW: https://kokkinizita.linuxaudio.org/linuxaudio/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107271919.16RJJ8VK072232>