From ec81e4aaae64d750e546e561c225722b1b162bd0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 28 Aug 2011 09:34:43 -0300 Subject: audio/xsynth-dssi: Added (software synthesizer) Signed-off-by: Niels Horn --- audio/xsynth-dssi/README | 9 ++++ audio/xsynth-dssi/slack-desc | 19 ++++++++ audio/xsynth-dssi/xsynth-dssi.SlackBuild | 80 ++++++++++++++++++++++++++++++++ audio/xsynth-dssi/xsynth-dssi.info | 10 ++++ 4 files changed, 118 insertions(+) create mode 100644 audio/xsynth-dssi/README create mode 100644 audio/xsynth-dssi/slack-desc create mode 100644 audio/xsynth-dssi/xsynth-dssi.SlackBuild create mode 100644 audio/xsynth-dssi/xsynth-dssi.info (limited to 'audio/xsynth-dssi') diff --git a/audio/xsynth-dssi/README b/audio/xsynth-dssi/README new file mode 100644 index 000000000000..f93c31b52ff6 --- /dev/null +++ b/audio/xsynth-dssi/README @@ -0,0 +1,9 @@ +xsynth-dssi (software synthesizer) + +Xsynth-DSSI plugin, a classic-analog (VCOs-VCF-VCA) style software +synthesizer with an editor GUI. Xsynth-DSSI was written by Sean Bolton, +and was based on Steve Brooke's Xsynth code, but has since aquired +polyphonic operation, band-limited oscillators, a better filter mode, +and velocity-sensitive envelopes. + +This requires dssi, ladspa_sdk, jack-audio-connection-kit, and liblo. diff --git a/audio/xsynth-dssi/slack-desc b/audio/xsynth-dssi/slack-desc new file mode 100644 index 000000000000..f4d160e15076 --- /dev/null +++ b/audio/xsynth-dssi/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 ':'. + + |-----handy-ruler------------------------------------------------------| +xsynth-dssi: xsynth-dssi (software synthesizer) +xsynth-dssi: +xsynth-dssi: Xsynth-DSSI plugin, a classic-analog (VCOs-VCF-VCA) style software +xsynth-dssi: synthesizer with an editor GUI. Xsynth-DSSI was written by Sean +xsynth-dssi: Bolton, and was based on Steve Brooke's Xsynth code, but has since +xsynth-dssi: aquired polyphonic operation, band-limited oscillators, a better +xsynth-dssi: filter mode, and velocity-sensitive envelopes. +xsynth-dssi: +xsynth-dssi: +xsynth-dssi: +xsynth-dssi: diff --git a/audio/xsynth-dssi/xsynth-dssi.SlackBuild b/audio/xsynth-dssi/xsynth-dssi.SlackBuild new file mode 100644 index 000000000000..47a956f85966 --- /dev/null +++ b/audio/xsynth-dssi/xsynth-dssi.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for xsynth-dssi + +# Written by B. Watson (yalhcru@gmail.com) + +PRGNAM=xsynth-dssi +VERSION=${VERSION:-0.9.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +cp extra/friendly_patches.Xsynth $PKG/usr/share/$PRGNAM + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog README TODO \ + $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:-tgz} diff --git a/audio/xsynth-dssi/xsynth-dssi.info b/audio/xsynth-dssi/xsynth-dssi.info new file mode 100644 index 000000000000..c7a45c17dd6d --- /dev/null +++ b/audio/xsynth-dssi/xsynth-dssi.info @@ -0,0 +1,10 @@ +PRGNAM="xsynth-dssi" +VERSION="0.9.4" +HOMEPAGE="http://smbolton.com/linux.html" +DOWNLOAD="http://downloads.sourceforge.net/dssi/xsynth-dssi-0.9.4.tar.gz" +MD5SUM="3432ecdac06407a992f80eb1c1ecf7cd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" +APPROVED="Niels Horn" -- cgit v1.2.3