Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2020 06:17:44 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r532185 - in head/audio: . spectacle-lv2 spectacle-lv2/files
Message-ID:  <202004200617.03K6HikL002465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Apr 20 06:17:43 2020
New Revision: 532185
URL: https://svnweb.freebsd.org/changeset/ports/532185

Log:
  New port: audio/spectacle-lv2: Realtime graphical spectrum analyzer, LV2 plugin and JACK application

Added:
  head/audio/spectacle-lv2/
  head/audio/spectacle-lv2/Makefile   (contents, props changed)
  head/audio/spectacle-lv2/distinfo   (contents, props changed)
  head/audio/spectacle-lv2/files/
  head/audio/spectacle-lv2/files/mntent.h   (contents, props changed)
  head/audio/spectacle-lv2/pkg-descr   (contents, props changed)
  head/audio/spectacle-lv2/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Mon Apr 20 04:38:13 2020	(r532184)
+++ head/audio/Makefile	Mon Apr 20 06:17:43 2020	(r532185)
@@ -753,6 +753,7 @@
     SUBDIR += soundtouch
     SUBDIR += sox
     SUBDIR += spc2it
+    SUBDIR += spectacle-lv2
     SUBDIR += spectrogram
     SUBDIR += speech-denoiser-lv2
     SUBDIR += speex

Added: head/audio/spectacle-lv2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectacle-lv2/Makefile	Mon Apr 20 06:17:43 2020	(r532185)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME=	spectacle
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0
+CATEGORIES=	audio
+PKGNAMESUFFIX=	-lv2
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Realtime graphical spectrum analyzer, LV2 plugin and JACK application
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	lv2>0:audio/lv2 \
+		bash:shells/bash \
+		${LOCALBASE}/include/fftw3.h:math/fftw3 \
+		xxd:editors/vim-console
+LIB_DEPENDS=	libfftw3f.so:math/fftw3-float
+
+USES=		gmake gnome pkgconfig shebangfix xorg
+SHEBANG_FILES=	dpf/utils/generate-ttl.sh
+USE_GITHUB=	yes
+GH_ACCOUNT=	jpcima
+GH_TUPLE=	DISTRHO:DPF:93e070c6d3c98b7bcbcbd4f01e76e1ba229bb6ae:DISTRHO_DPF/dpf
+USE_GNOME=	cairo
+USE_XORG=	x11
+
+CXXFLAGS+=	-I${FILESDIR}
+LDFLAGS+=	-lpthread
+
+OPTIONS_DEFINE=		JACK
+OPTIONS_DEFAULT=	JACK
+OPTIONS_SUB=		yes
+
+JACK_MAKE_ARGS=		BUILD_JACK=true
+JACK_MAKE_ARGS_OFF=	BUILD_JACK=false
+JACK_LIB_DEPENDS=	libjack.so:audio/jack
+
+.include <bsd.port.mk>

Added: head/audio/spectacle-lv2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectacle-lv2/distinfo	Mon Apr 20 06:17:43 2020	(r532185)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1587356272
+SHA256 (jpcima-spectacle-v1.0_GH0.tar.gz) = a5c0c16885cf4588da6002a5833d7cd47f33d8aa5371a9ce90b21fdfae58d922
+SIZE (jpcima-spectacle-v1.0_GH0.tar.gz) = 589465
+SHA256 (DISTRHO-DPF-93e070c6d3c98b7bcbcbd4f01e76e1ba229bb6ae_GH0.tar.gz) = 550f5d2e6d59072495d8021d80d4b2b035064ce284a4fd19e6baf0f2cd311678
+SIZE (DISTRHO-DPF-93e070c6d3c98b7bcbcbd4f01e76e1ba229bb6ae_GH0.tar.gz) = 2120502

Added: head/audio/spectacle-lv2/files/mntent.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectacle-lv2/files/mntent.h	Mon Apr 20 06:17:43 2020	(r532185)
@@ -0,0 +1,64 @@
+// $FreeBSD$
+
+/*
+ *  mntent
+ *  mntent.h - compatability header for FreeBSD
+ *
+ *  Copyright (c) 2001 David Rufino <daverufino@btinternet.com>
+ *  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#if defined(HAVE_MNTENT_H)
+#include <mntent.h>
+#else
+#ifndef _MNTENT_H
+#define _MNTENT_H
+#include <stdio.h>
+
+#define MOUNTED "dummy"
+
+#define MNTTYPE_NFS "nfs"
+
+struct mntent {
+	char *mnt_fsname;
+	char *mnt_dir;
+	char *mnt_type;
+	char *mnt_opts;
+	int mnt_freq;
+	int mnt_passno;
+};
+
+#define setmntent(x,y) ((FILE *)0x1)
+#ifdef __cplusplus
+extern "C" {
+#endif
+struct mntent *getmntent __P ((FILE *fp));
+char *hasmntopt __P ((const struct mntent *mnt, const char *option));
+#ifdef __cplusplus
+}; // extern "C"
+#endif
+#define endmntent(x) ((int)1)
+
+#endif /* _MNTENT_H */
+#endif /* HAVE_MNTENT_H */

Added: head/audio/spectacle-lv2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectacle-lv2/pkg-descr	Mon Apr 20 06:17:43 2020	(r532185)
@@ -0,0 +1,10 @@
+Spectacle is a real-time spectral analyzer using the short-time Fourier
+transform, available as LV2 audio plugin and JACK client.
+
+features:
+* display the spectrum on logarithmic musical scale
+* control the parameters of the analysis that affect latency and precision
+* have zoom functionality and smooth interpolation
+* identify the value under cursor and the peaks
+
+WWW: https://github.com/jpcima/spectacle

Added: head/audio/spectacle-lv2/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectacle-lv2/pkg-plist	Mon Apr 20 06:17:43 2020	(r532185)
@@ -0,0 +1,5 @@
+%%JACK%%bin/spectacle
+lib/lv2/spectacle.lv2/manifest.ttl
+lib/lv2/spectacle.lv2/presets.ttl
+lib/lv2/spectacle.lv2/spectacle.so
+lib/lv2/spectacle.lv2/spectacle.ttl



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