From ce2a163836eccd0754a16e022284aa748e6ec0d7 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 11 Jul 2021 10:40:37 -0700 Subject: [PATCH] audio/zita-mu1: New port: Simple Jack app used to organise stereo monitoring --- audio/Makefile | 1 + audio/zita-mu1/Makefile | 27 +++++++++++++++++++++++++++ audio/zita-mu1/distinfo | 3 +++ audio/zita-mu1/files/patch-Makefile | 11 +++++++++++ audio/zita-mu1/pkg-descr | 5 +++++ audio/zita-mu1/pkg-plist | 27 +++++++++++++++++++++++++++ 6 files changed, 74 insertions(+) create mode 100644 audio/zita-mu1/Makefile create mode 100644 audio/zita-mu1/distinfo create mode 100644 audio/zita-mu1/files/patch-Makefile create mode 100644 audio/zita-mu1/pkg-descr create mode 100644 audio/zita-mu1/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 28038bc6404a..0a2c545f87a5 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -874,6 +874,7 @@ SUBDIR += zita-bls1 SUBDIR += zita-convolver SUBDIR += zita-dpl1 + SUBDIR += zita-mu1 SUBDIR += zita-njbridge SUBDIR += zita-resampler SUBDIR += zita-rev1 diff --git a/audio/zita-mu1/Makefile b/audio/zita-mu1/Makefile new file mode 100644 index 000000000000..13eb33d16f76 --- /dev/null +++ b/audio/zita-mu1/Makefile @@ -0,0 +1,27 @@ +PORTNAME= zita-mu1 +DISTVERSION= 0.3.3 +CATEGORIES= audio +MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Simple Jack app used to organise stereo monitoring + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/../COPYING + +LIB_DEPENDS= libclthreads.so:devel/clthreads \ + libclxclient.so:devel/clxclient \ + libfftw3f.so:math/fftw3-float \ + libjack.so:audio/jack \ + libpng16.so:graphics/png + +USES= gmake gnome localbase:ldflags pkgconfig tar:bz2 xorg +USE_GNOME= cairo +USE_XORG= x11 xft + +WRKSRC_SUBDIR= source + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/audio/zita-mu1/distinfo b/audio/zita-mu1/distinfo new file mode 100644 index 000000000000..38bef80d81a6 --- /dev/null +++ b/audio/zita-mu1/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1626024078 +SHA256 (zita-mu1-0.3.3.tar.bz2) = db6dca556536ed0c0512dd1b52fefe46c03a5ba2f329c52cd5cbb95e3b040691 +SIZE (zita-mu1-0.3.3.tar.bz2) = 75346 diff --git a/audio/zita-mu1/files/patch-Makefile b/audio/zita-mu1/files/patch-Makefile new file mode 100644 index 000000000000..a2a4cc19663f --- /dev/null +++ b/audio/zita-mu1/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2021-07-11 17:23:30 UTC ++++ Makefile +@@ -25,7 +25,7 @@ SHARED ?= $(PREFIX)/share/zita-mu1 + VERSION = 0.3.3 + CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\" + CXXFLAGS += -O2 -Wall -ffast-math -pthread +-CXXFLAGS += -march=native ++CXXFLAGS += $(FREEBSD_CXXFLAGS_SIMD) + + + all: zita-mu1 diff --git a/audio/zita-mu1/pkg-descr b/audio/zita-mu1/pkg-descr new file mode 100644 index 000000000000..b439eb6e6137 --- /dev/null +++ b/audio/zita-mu1/pkg-descr @@ -0,0 +1,5 @@ +Zita-mu1 is a simple Jack app used to organise stereo monitoring. Originally +written for use with Ardour2, but still useful with Ardour3 (or other DAWs) as +it provides some extra functions. + +WWW: https://kokkinizita.linuxaudio.org/linuxaudio/zita-mu1-doc/quickguide.html diff --git a/audio/zita-mu1/pkg-plist b/audio/zita-mu1/pkg-plist new file mode 100644 index 000000000000..10657ee8c87f --- /dev/null +++ b/audio/zita-mu1/pkg-plist @@ -0,0 +1,27 @@ +bin/zita-mu1 +%%DATADIR%%/bdimm.png +%%DATADIR%%/bhdph.png +%%DATADIR%%/binp1.png +%%DATADIR%%/binp2.png +%%DATADIR%%/binp3.png +%%DATADIR%%/binp4.png +%%DATADIR%%/bleft.png +%%DATADIR%%/bmono.png +%%DATADIR%%/bopon.png +%%DATADIR%%/brite.png +%%DATADIR%%/btkb1.png +%%DATADIR%%/btkb2.png +%%DATADIR%%/k20-meterH0.png +%%DATADIR%%/k20-meterH1.png +%%DATADIR%%/k20-meterV0.png +%%DATADIR%%/k20-meterV1.png +%%DATADIR%%/k20-scaleH.png +%%DATADIR%%/k20-scaleV.png +%%DATADIR%%/stc-meterH0.png +%%DATADIR%%/stc-meterH1.png +%%DATADIR%%/stc-meterV0.png +%%DATADIR%%/stc-meterV1.png +%%DATADIR%%/stc-scaleH.png +%%DATADIR%%/stc-scaleV.png +%%DATADIR%%/talkbksect.png +%%DATADIR%%/volumesect.png