diff --git a/builds/airwindows/CMakeLists.txt b/builds/airwindows/CMakeLists.txt new file mode 100644 index 0000000..c3c9c5c --- /dev/null +++ b/builds/airwindows/CMakeLists.txt @@ -0,0 +1,9 @@ +set(VSTSDK_ROOT + ${CMAKE_CURRENT_SOURCE_DIR} + CACHE STRING "VST SDK dir") + +set(VSTSDK_SOURCES + ${VSTSDK_ROOT}/vstplugmain.cpp + ${VSTSDK_ROOT}/audioeffect.cpp + ${VSTSDK_ROOT}/audioeffectx.cpp + CACHE STRING "VST SDK source files") diff --git a/builds/airwindows/README b/builds/airwindows/README new file mode 100644 index 0000000..120fd9a --- /dev/null +++ b/builds/airwindows/README @@ -0,0 +1,4 @@ +Airwindows plugins are modular, graphic-less, stripped-down, +VST plugins, for Mac and PC. The Mac VSTs are all 64 bit- +triple binary, i386 / x86_64 / ppc. The PC VSTs come in 32 and 64 bit +versions. diff --git a/builds/airwindows/airwindows.SlackBuild b/builds/airwindows/airwindows.SlackBuild new file mode 100755 index 0000000..d1c0eba --- /dev/null +++ b/builds/airwindows/airwindows.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/bash + +# Slackware build script for airwindows + +# 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=airwindows +VERSION=${VERSION:-git} +BUILD=${BUILD:-1} +TAG=${TAG:-_SSb} +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/SSb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + #mkdir -p $TMP + #cd $TMP + #rm -rf airwindows + #git clone https://github.com/airwindows/airwindows + #cd airwindows + #VERSION=$(git describe --tags) + #VERSION=$(echo $VERSION | tr '-' . ) + 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/usr/$LIBDIR/vst/airwindows +cd $TMP +rm -rf airwindows +git clone https://github.com/airwindows/airwindows +cd airwindows +git submodule update --init --recursive +#VERSION=$(git describe --tags) +#VERSION=$(echo $VERSION | tr '-' . ) +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +cd plugins/LinuxVST +mkdir -p include/vstsdk build +cp $CWD/CMakeLists.txt include/vstsdk/ +cd build + cmake -DVSTSDK_ROOT=/usr/include/vst2sdk -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -ffast-math" .. +make + cp ./*.so $PKG/usr/$LIBDIR/vst/airwindows/ + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION + +cd ../../../ +cp -a \ + what.txt \ + LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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/builds/airwindows/airwindows.info b/builds/airwindows/airwindows.info new file mode 100644 index 0000000..1b9738c --- /dev/null +++ b/builds/airwindows/airwindows.info @@ -0,0 +1,10 @@ +PRGNAM="airwindows" +VERSION="git" +HOMEPAGE="https://www.airwindows.com/" +DOWNLOAD="" +MD5SUM="" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="vst2sdk" +MAINTAINER="Martin Bångens" +EMAIL="marbangens@gmail.com" diff --git a/builds/airwindows/slack-desc b/builds/airwindows/slack-desc new file mode 100644 index 0000000..2ef3657 --- /dev/null +++ b/builds/airwindows/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------------------------------------------------------| +airwindows: airwindows (Airwindows VST2) +airwindows: +airwindows: Airwindows plugins are modular, graphic-less, stripped-down, +airwindows: VST plugins +airwindows: +airwindows: +airwindows: +airwindows: +airwindows: +airwindows: +airwindows: diff --git a/builds/vst2sdk/README b/builds/vst2sdk/README new file mode 100644 index 0000000..78b753c --- /dev/null +++ b/builds/vst2sdk/README @@ -0,0 +1,2 @@ +This is the old vst2sdk from steinberg's "vst36" for building plugins +that still uses vst2. You can't legally distribute this package. diff --git a/builds/vst2sdk/slack-desc b/builds/vst2sdk/slack-desc new file mode 100644 index 0000000..e9ab19f --- /dev/null +++ b/builds/vst2sdk/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------------------------------------------------------| +vst2sdk: vst2sdk (Software development kit for VST2 plug-ins) +vst2sdk: +vst2sdk: This allows plug-in developers to create plug-ins in VST 2 format and +vst2sdk: host developers to load VST 2 plug-ins into a DAW or audio editor. +vst2sdk: +vst2sdk: +vst2sdk: +vst2sdk: +vst2sdk: +vst2sdk: +vst2sdk: diff --git a/builds/vst2sdk/vst2sdk.SlackBuild b/builds/vst2sdk/vst2sdk.SlackBuild new file mode 100755 index 0000000..ad8e2b4 --- /dev/null +++ b/builds/vst2sdk/vst2sdk.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/bash + +# Slackware build script for vst2sdk + +# Copyright 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=vst2sdk +VERSION=${VERSION:-3.6.10} +SDK_DATE=${SDK_DATE:-_11_06_2018} +SDK_BUILD=${SDK_BUILD:-_build_37} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +rm -rf VST_SDK +unzip $CWD/vstsdk${VERSION//.}${SDK_DATE}${SDK_BUILD}.zip +cd VST_SDK/VST2_SDK/ +chown -R root:root . + +mkdir -p $PKG/usr/include/vst2sdk/pluginterfaces/vst2.x +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/share/pkgconfig + +install -m644 public.sdk/source/vst2.x/* $PKG/usr/include/vst2sdk/ +install -m644 pluginterfaces/vst2.x/* \ + $PKG/usr/include/vst2sdk/pluginterfaces/vst2.x/ + +cp $CWD/vst2sdk.pc $PKG/usr/share/pkgconfig +sed -i "s/VERSION/$VERSION$SDK_BUILD/g" $PKG/usr/share/pkgconfig/vst2sdk.pc + +cp -a \ + ../VST3_SDK/LICENSE.txt \ + VST2_License_Agreement.pdf \ +$PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +chmod 755 $PKG/usr/include/vst2sdk +find $PKG/usr/include/vst2sdk -type d -exec chmod 755 {} + +find $PKG/usr/include/vst2sdk -type f -exec chmod 644 {} + + +chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION +find $PKG/usr/doc/$PRGNAM-$VERSION -type d -exec chmod 755 {} + +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} + + +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/builds/vst2sdk/vst2sdk.info b/builds/vst2sdk/vst2sdk.info new file mode 100644 index 0000000..ff884e7 --- /dev/null +++ b/builds/vst2sdk/vst2sdk.info @@ -0,0 +1,10 @@ +PRGNAM="vst3sdk" +VERSION="3.6.10" +HOMEPAGE="https://www.steinberg.net/developers/" +DOWNLOAD="https://web.archive.org/web/20181016150224/https://download.steinberg.net/sdk_downloads/vstsdk3610_11_06_2018_build_37.zip +MD5SUM="f66fc320407822e610ccd26c5ba48b08" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Martin Bångens" +EMAIL="marbangens@gmail.com" diff --git a/builds/vst2sdk/vst2sdk.pc b/builds/vst2sdk/vst2sdk.pc new file mode 100644 index 0000000..3377804 --- /dev/null +++ b/builds/vst2sdk/vst2sdk.pc @@ -0,0 +1,5 @@ +Name: vst2sdk +Description: VST 2 Plug-In SDK +Version: VERSION +Cflags: -I/usr/include/vst2sdk +Libs: