1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

audio/wolf-shaper-lv2: New port: Waveshaper plugin with a graph editor

This commit is contained in:
Yuri Victorovich 2021-05-23 18:39:59 -07:00
parent fb4bd74280
commit 4f17f7508f
6 changed files with 128 additions and 0 deletions

View File

@ -841,6 +841,7 @@
SUBDIR += wmix
SUBDIR += wmmp
SUBDIR += wmsmixer
SUBDIR += wolf-shaper-lv2
SUBDIR += wxguitar
SUBDIR += x42-plugins-lv2
SUBDIR += xanalyser

View File

@ -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>

View File

@ -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

View File

@ -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 */

View File

@ -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/

View File

@ -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