Date: Mon, 24 May 2021 01:41:00 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: 4f17f7508fc1 - main - audio/wolf-shaper-lv2: New port: Waveshaper plugin with a graph editor Message-ID: <202105240141.14O1f0R0003807@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=4f17f7508fc10f2609b915b5c3072b90bfad70ad commit 4f17f7508fc10f2609b915b5c3072b90bfad70ad Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-05-24 01:39:59 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-05-24 01:40:57 +0000 audio/wolf-shaper-lv2: New port: Waveshaper plugin with a graph editor --- audio/Makefile | 1 + audio/wolf-shaper-lv2/Makefile | 47 +++++++++++++++++++++++++++ audio/wolf-shaper-lv2/distinfo | 7 ++++ audio/wolf-shaper-lv2/files/mntent.h | 62 ++++++++++++++++++++++++++++++++++++ audio/wolf-shaper-lv2/pkg-descr | 3 ++ audio/wolf-shaper-lv2/pkg-plist | 8 +++++ 6 files changed, 128 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index c74f7df7f6fb..63f482102388 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -841,6 +841,7 @@ SUBDIR += wmix SUBDIR += wmmp SUBDIR += wmsmixer + SUBDIR += wolf-shaper-lv2 SUBDIR += wxguitar SUBDIR += x42-plugins-lv2 SUBDIR += xanalyser diff --git a/audio/wolf-shaper-lv2/Makefile b/audio/wolf-shaper-lv2/Makefile new file mode 100644 index 000000000000..505bc76e89f8 --- /dev/null +++ b/audio/wolf-shaper-lv2/Makefile @@ -0,0 +1,47 @@ +PORTNAME= wolf-shaper +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.8-33 +DISTVERSIONSUFFIX= -ge84de58 +CATEGORIES= audio multimedia + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Waveshaper plugin with a graph editor + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 \ + bash:shells/bash +LIB_DEPENDS= liblo.so:audio/liblo # not used other than in makefiles, see https://github.com/wolf-plugins/wolf-shaper/issues/148 + +USES= gl gmake localbase pkgconfig shebangfix xorg +USE_GL= gl +USE_XORG= x11 xext xrandr + +USE_GITHUB= yes +GH_ACCOUNT= wolf-plugins +GH_TUPLE= DISTRHO:DPF:d592c24:DISTRHO_DPF/dpf \ + DISTRHO:pugl:13cd61b:DISTRHO_DPF_pugl/dpf/dgl/src/pugl-upstream + +SHEBANG_FILES= dpf/utils/generate-ttl.sh + +MAKE_ARGS= BUILD_LV2=true +CFLAGS+= -I${FILESDIR} # for mntent.h + +OPTIONS_DEFINE= DSSI JACK VST +OPTIONS_DEFAULT= DSSI JACK VST +OPTIONS_SUB= yes + +DSSI_DESC= Install the DSSI Plugin +DSSI_MAKE_ARGS= BUILD_DSSI=true +DSSI_MAKE_ARGS_OFF= BUILD_DSSI=false + +JACK_MAKE_ARGS= BUILD_JACK=true +JACK_MAKE_ARGS_OFF= BUILD_JACK=false +JACK_LIB_DEPENDS= libjack.so:audio/jack + +VST_DESC= Install the VST plugin +VST_MAKE_ARGS= BUILD_VST2=true +VST_MAKE_ARGS_OFF= BUILD_VST2=false + +.include <bsd.port.mk> diff --git a/audio/wolf-shaper-lv2/distinfo b/audio/wolf-shaper-lv2/distinfo new file mode 100644 index 000000000000..f6ced76eb84d --- /dev/null +++ b/audio/wolf-shaper-lv2/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1621810360 +SHA256 (wolf-plugins-wolf-shaper-v0.1.8-33-ge84de58_GH0.tar.gz) = bdb2cf01ee6004313c07f6248d29634266244565b97abf5fde22848bbbc1662e +SIZE (wolf-plugins-wolf-shaper-v0.1.8-33-ge84de58_GH0.tar.gz) = 286201 +SHA256 (DISTRHO-DPF-d592c24_GH0.tar.gz) = f42ffa15b6c2edba611bf8b5e71b7f93d2bf0b978c4b0c2f0fd68645b86d6614 +SIZE (DISTRHO-DPF-d592c24_GH0.tar.gz) = 3159798 +SHA256 (DISTRHO-pugl-13cd61b_GH0.tar.gz) = 974b296d03e0e281bd24f0ecb50d3f91ccf3ccb4fe35ada3b3fe77a913f5021b +SIZE (DISTRHO-pugl-13cd61b_GH0.tar.gz) = 189450 diff --git a/audio/wolf-shaper-lv2/files/mntent.h b/audio/wolf-shaper-lv2/files/mntent.h new file mode 100644 index 000000000000..e61cddd89c82 --- /dev/null +++ b/audio/wolf-shaper-lv2/files/mntent.h @@ -0,0 +1,62 @@ +/* + * 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 */ diff --git a/audio/wolf-shaper-lv2/pkg-descr b/audio/wolf-shaper-lv2/pkg-descr new file mode 100644 index 000000000000..6d32aa35d490 --- /dev/null +++ b/audio/wolf-shaper-lv2/pkg-descr @@ -0,0 +1,3 @@ +Waveshaper plugin with a spline-based graph editor (LV2, VST, DSSI and Jack). + +WWW: https://github.com/wolf-plugins/wolf-shaper/ diff --git a/audio/wolf-shaper-lv2/pkg-plist b/audio/wolf-shaper-lv2/pkg-plist new file mode 100644 index 000000000000..f6f3e4cee855 --- /dev/null +++ b/audio/wolf-shaper-lv2/pkg-plist @@ -0,0 +1,8 @@ +%%JACK%%bin/wolf-shaper +%%DSSI%%lib/dssi/wolf-shaper-dssi.so +lib/lv2/wolf-shaper.lv2/manifest.ttl +lib/lv2/wolf-shaper.lv2/wolf-shaper_dsp.so +lib/lv2/wolf-shaper.lv2/wolf-shaper_dsp.ttl +lib/lv2/wolf-shaper.lv2/wolf-shaper_ui.so +lib/lv2/wolf-shaper.lv2/wolf-shaper_ui.ttl +%%VST%%lib/vst/wolf-shaper-vst.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105240141.14O1f0R0003807>