diff options
author | Martin Bångens <marbangens@gmail.com> | 2023-07-10 12:25:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-10 12:25:56 +0700 |
commit | 06ade6bf6345eefe1c4e468c35f909ac89a8ea49 (patch) | |
tree | b6a3ef04f4021a8d905ecdb4981ad6c063e9bd75 /audio | |
parent | a1a6f850bbbf0b7d9d1c2710519dc04218c7fdf6 (diff) |
audio/cardinal: Added (VCV Rack).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cardinal/README | 13 | ||||
-rw-r--r-- | audio/cardinal/cardinal.SlackBuild | 101 | ||||
-rw-r--r-- | audio/cardinal/cardinal.info | 10 | ||||
-rw-r--r-- | audio/cardinal/slack-desc | 19 |
4 files changed, 143 insertions, 0 deletions
diff --git a/audio/cardinal/README b/audio/cardinal/README new file mode 100644 index 000000000000..7503703bbe7d --- /dev/null +++ b/audio/cardinal/README @@ -0,0 +1,13 @@ +Cardinal is a free and open-source virtual modular synthesizer plugin, +available as CLAP, LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, +macOS and Windows. Plus AU and JACK or Native audio standalone for +some systems. It is based on the popular VCV Rack but with a focus on +being a fully self-contained plugin version. + +More specifically, this is a DPF-based plugin wrapper around VCV Rack, +using its code directly instead of forking the project, with the target +of having a proper, self-contained, fully free and open-source plugin +version of Rack. Cardinal contains Rack, some 3rd-party modules and a +few internal utilities all in a single binary. All "Core" modules from +Rack have been replaced by Cardinal equivalents, simplified to better +work for an audio plugin. diff --git a/audio/cardinal/cardinal.SlackBuild b/audio/cardinal/cardinal.SlackBuild new file mode 100644 index 000000000000..923afb58a7e2 --- /dev/null +++ b/audio/cardinal/cardinal.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/bash + +# Slackware build script for cardinal + +# Copyright 2023 Martin Bångens Sweden +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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 AUTHOR 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=cardinal +VERSION=${VERSION:-23.02} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +set -e + +rm -rf $PKG +LIBDIR=lib +if [ $ARCH == "x86_64" ]; then + LIBDIR="$LIBDIR"64 +fi +mkdir -p $TMP $PKG $OUTPUT $PKG/$LIBDIR +cd $TMP +if [ "$ARCH" = "i586" ] & [ "$ARCH" = "i686" ]; then + rm -rf Cardinal-linux-i686-$VERSION + mkdir Cardinal-linux-i686-$VERSION + cd Cardinal-linux-i686-$VERSION + tar xvf $CWD/Cardinal-linux-i686-$VERSION.tar.gz +elif [ "$ARCH" = "x86_64" ]; then + rm -rf Cardinal-linux-x86_64-$VERSION + mkdir Cardinal-linux-x86_64-$VERSION + cd Cardinal-linux-x86_64-$VERSION + tar xvf $CWD/Cardinal-linux-x86_64-$VERSION.tar.gz +else + echo "Unknown ARCH" + exit 1 +fi +mkdir -p $PKG/usr/$LIBDIR/clap +mkdir -p $PKG/usr/$LIBDIR/lv2 +mkdir -p $PKG/usr/$LIBDIR/vst +mkdir -p $PKG/usr/$LIBDIR/vst3 +mkdir -p $PKG/usr/bin +mv Cardinal.clap $PKG/usr/$LIBDIR/clap/ +mv Cardinal.lv2 $PKG/usr/$LIBDIR/lv2/ +mv Cardinal.vst $PKG/usr/$LIBDIR/vst/ +mv Cardinal.vst3 $PKG/usr/$LIBDIR/vst3/ +mv CardinalFX.lv2/ $PKG/usr/$LIBDIR/lv2/ +mv CardinalFX.vst3/ $PKG/usr/$LIBDIR/vst3/ +mv CardinalJACK $PKG/usr/bin/ +mv CardinalMini.lv2/ $PKG/usr/$LIBDIR/lv2/ +mv CardinalNative $PKG/usr/bin/ +mv CardinalSynth.lv2/ $PKG/usr/$LIBDIR/lv2/ +mv CardinalSynth.vst3/ $PKG/usr/$LIBDIR/vst3/ +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +chown root:root LICENSE +cp -a \ + LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +rm -rf $PKG/$LIBDIR +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/audio/cardinal/cardinal.info b/audio/cardinal/cardinal.info new file mode 100644 index 000000000000..ca246231b866 --- /dev/null +++ b/audio/cardinal/cardinal.info @@ -0,0 +1,10 @@ +PRGNAM="cardinal" +VERSION="23.02" +HOMEPAGE="https://github.com/DISTRHO/Cardinal" +DOWNLOAD="https://github.com/DISTRHO/Cardinal/releases/download/23.02/Cardinal-linux-i686-23.02.tar.gz" +MD5SUM="e997e97145c0a145d59fe6d00ae06da6" +DOWNLOAD_x86_64="https://github.com/DISTRHO/Cardinal/releases/download/23.02/Cardinal-linux-x86_64-23.02.tar.gz" +MD5SUM_x86_64="d47b61bd907dc8880bd7ecfe7a726150" +REQUIRES="" +MAINTAINER="Martin Bångens" +EMAIL="marbangens@gmail.com" diff --git a/audio/cardinal/slack-desc b/audio/cardinal/slack-desc new file mode 100644 index 000000000000..65dfcaedba7a --- /dev/null +++ b/audio/cardinal/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +cardinal: cardinal (Open-source VCV Rack) +cardinal: +cardinal: Cardinal is a free and open-source virtual modular synthesizer plugin, +cardinal: available as CLAP, LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, +cardinal: macOS and Windows. Plus AU and JACK or Native audio standalone for +cardinal: some systems. It is based on the popular VCV Rack but with a focus on +cardinal: being a fully self-contained plugin version. +cardinal: +cardinal: +cardinal: +cardinal: |