Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 02:10:36 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: 0a01aeffdb07 - main - audio/zita-at1: New port: Autotuner Jack application
Message-ID:  <202107120210.16C2AaqA020380@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=0a01aeffdb077233cd203f4030154d225e751779

commit 0a01aeffdb077233cd203f4030154d225e751779
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-12 01:40:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-12 02:10:31 +0000

    audio/zita-at1: New port: Autotuner Jack application
---
 audio/Makefile                      |  1 +
 audio/zita-at1/Makefile             | 31 +++++++++++++++++++++++++++++++
 audio/zita-at1/distinfo             |  3 +++
 audio/zita-at1/files/patch-Makefile | 13 +++++++++++++
 audio/zita-at1/pkg-descr            |  4 ++++
 audio/zita-at1/pkg-plist            |  9 +++++++++
 6 files changed, 61 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index e05fa627e46a..4164441696e0 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -872,6 +872,7 @@
     SUBDIR += ympd
     SUBDIR += yoshimi
     SUBDIR += zam-plugins-lv2
+    SUBDIR += zita-at1
     SUBDIR += zita-bls1
     SUBDIR += zita-convolver
     SUBDIR += zita-dpl1
diff --git a/audio/zita-at1/Makefile b/audio/zita-at1/Makefile
new file mode 100644
index 000000000000..2eb5054e38d5
--- /dev/null
+++ b/audio/zita-at1/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	zita-at1
+DISTVERSION=	0.6.2
+CATEGORIES=	audio
+MASTER_SITES=	https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Autotuner Jack application
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/../COPYING
+
+BUILD_DEPENDS=	fftw3>=0:math/fftw3
+LIB_DEPENDS=	libclthreads.so:devel/clthreads \
+		libclxclient.so:devel/clxclient \
+		libfftw3f.so:math/fftw3-float \
+		libjack.so:audio/jack \
+		libpng16.so:graphics/png \
+		libzita-resampler.so:audio/zita-resampler
+
+USES=		gmake gnome localbase:ldflags pkgconfig tar:bz2 xorg
+USE_GNOME=	cairo
+USE_XORG=	x11 xft
+
+WRKSRC_SUBDIR=	source
+
+# zita-at1 crashes when compiled with clang-11.0.1 with -march=native which is now patched out
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/audio/zita-at1/distinfo b/audio/zita-at1/distinfo
new file mode 100644
index 000000000000..3b3db9657684
--- /dev/null
+++ b/audio/zita-at1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626022477
+SHA256 (zita-at1-0.6.2.tar.bz2) = 19bb3ddc02b32d6ad15fdd928ee66c2e5bb5e4c7fe465c431e98c2fd83b1ae57
+SIZE (zita-at1-0.6.2.tar.bz2) = 51503
diff --git a/audio/zita-at1/files/patch-Makefile b/audio/zita-at1/files/patch-Makefile
new file mode 100644
index 000000000000..de030101bcb4
--- /dev/null
+++ b/audio/zita-at1/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig	2021-07-11 23:40:11 UTC
++++ Makefile
+@@ -24,8 +24,8 @@ SHARED ?= $(PREFIX)/share/zita-at1
+ 
+ VERSION = 0.6.2
+ CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
+-CXXFLAGS += -O2 -Wall -ffast-math -pthread
+-CXXFLAGS += -march=native
++CXXFLAGS += -Wall -ffast-math -pthread
++CXXFLAGS += ${FREEBSD_CXXFLAGS_SIMD}
+ 
+ 
+ all:	zita-at1
diff --git a/audio/zita-at1/pkg-descr b/audio/zita-at1/pkg-descr
new file mode 100644
index 000000000000..9a9a2bc000b9
--- /dev/null
+++ b/audio/zita-at1/pkg-descr
@@ -0,0 +1,4 @@
+Zita-at1 is a 'autotuner' Jack application, normally used to correct the pitch
+of vocal tracks that are out of tune.
+
+WWW: https://kokkinizita.linuxaudio.org/linuxaudio/zita-at1-doc/quickguide.html
diff --git a/audio/zita-at1/pkg-plist b/audio/zita-at1/pkg-plist
new file mode 100644
index 000000000000..95c470fd7dd3
--- /dev/null
+++ b/audio/zita-at1/pkg-plist
@@ -0,0 +1,9 @@
+bin/zita-at1
+%%DATADIR%%/ctrlsect.png
+%%DATADIR%%/hmeter0.png
+%%DATADIR%%/hmeter1.png
+%%DATADIR%%/hscale.png
+%%DATADIR%%/midi.png
+%%DATADIR%%/note.png
+%%DATADIR%%/notesect.png
+%%DATADIR%%/redzita.png



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