aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/miniAudicle/README12
-rw-r--r--audio/miniAudicle/miniAudicle.SlackBuild77
-rw-r--r--audio/miniAudicle/miniAudicle.info10
-rw-r--r--audio/miniAudicle/slack-desc19
4 files changed, 118 insertions, 0 deletions
diff --git a/audio/miniAudicle/README b/audio/miniAudicle/README
new file mode 100644
index 0000000000000..b5423d9fe9603
--- /dev/null
+++ b/audio/miniAudicle/README
@@ -0,0 +1,12 @@
+The miniAudicle is a light-weight integrated development environment
+for the ChucK digital audio programming language.
+It can be used as a standalone ChucK development + runtime + on-the-fly
+programming environment, or in conjunction with traditional command-line
+modes of 'chuck' operation and with other chuck tools.
+
+Please e-mail me if it works for 64-bit.
+
+SOUNDENGINE=jack or SOUNDENGINE=oss to enable jack or oss support:
+in these cases you will need jack-audio-connection-kit or oss (and
+the build script will produce a different binary).
+SOUNDENGINE=alsa is the default.
diff --git a/audio/miniAudicle/miniAudicle.SlackBuild b/audio/miniAudicle/miniAudicle.SlackBuild
new file mode 100644
index 0000000000000..b9b24ed6a0614
--- /dev/null
+++ b/audio/miniAudicle/miniAudicle.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/sh
+# Slackware build script for <miniAudicle>
+#
+# Michales (clavisound) Michaloudes korgie@gmail.com <2013>
+
+PRGNAM=miniAudicle
+VERSION=${VERSION:-0.2.2c}
+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
+
+SOUNDENGINE=${SOUNDENGINE:-alsa}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION/src
+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 {} \;
+
+# Set our CFLAGS
+sed -i "s|-O3|$SLKCFLAGS|" makefile* chuck/makefile*
+
+make linux-$SOUNDENGINE
+install -m 0755 -D wxw/$PRGNAM $PKG/usr/bin/$PRGNAM-$SOUNDENGINE
+
+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 $TMP/$PRGNAM-$VERSION/
+cp -a \
+ COPYING README.linux BUGS LGPL VERSIONS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+# copy examples too
+cp -a examples $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/miniAudicle/miniAudicle.info b/audio/miniAudicle/miniAudicle.info
new file mode 100644
index 0000000000000..169581d22c28b
--- /dev/null
+++ b/audio/miniAudicle/miniAudicle.info
@@ -0,0 +1,10 @@
+PRGNAM="miniAudicle"
+VERSION="0.2.2c"
+HOMEPAGE="http://audicle.cs.princeton.edu/mini/linux/"
+DOWNLOAD="http://miniaudicle.googlecode.com/files/miniAudicle-0.2.2c.tgz"
+MD5SUM="8ca9ca36f9973ed36a87a3598c391e45"
+DOWNLOAD_x86_64="UNTESTED"
+MD5SUM_x86_64=""
+REQUIRES="wxPython"
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
diff --git a/audio/miniAudicle/slack-desc b/audio/miniAudicle/slack-desc
new file mode 100644
index 0000000000000..dcb7dbfb0f9ce
--- /dev/null
+++ b/audio/miniAudicle/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------------------------------------------------------|
+miniAudicle: miniAudicle (IDE for Chuck)
+miniAudicle:
+miniAudicle: The miniAudicle is a light-weight integrated development
+miniAudicle: environment for the ChucK digital audio programming language.
+miniAudicle: It can be used as a standalone ChucK development + runtime +
+miniAudicle: on-the-fly programming environment, or in conjunction with
+miniAudicle: traditional command-line modes of 'chuck' operation and with
+miniAudicle: other chuck tools.
+miniAudicle:
+miniAudicle: homepage: http://audicle.cs.princeton.edu/mini/linux/
+miniAudicle: