From owner-svn-ports-head@freebsd.org Mon Apr 20 06:17:45 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A83FB2B7D87; Mon, 20 Apr 2020 06:17:45 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 495GhT43hjz3DkQ; Mon, 20 Apr 2020 06:17:45 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 86A1CAE0B; Mon, 20 Apr 2020 06:17:45 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 03K6HjiG002472; Mon, 20 Apr 2020 06:17:45 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 03K6HikL002465; Mon, 20 Apr 2020 06:17:44 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202004200617.03K6HikL002465@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 20 Apr 2020 06:17:44 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio: . spectacle-lv2 spectacle-lv2/files X-SVN-Commit-Revision: 532185 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 06:17:45 -0000 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 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 + * 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 +#else +#ifndef _MNTENT_H +#define _MNTENT_H +#include + +#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