aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorFelix Pfeifer <pfeifer[dot]felix[at]googlemail[dot]com>2012-04-02 14:54:01 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-02 17:11:39 -0500
commit1c7c383c89d35bc8b49b393cba36a28ae9e02068 (patch)
tree9b83189369c8e12ffe4d2e315323e3680f768c4d /audio
parent43bef7ac040411ba93e609a7a0dd198eae7b4660 (diff)
audio/SuperCollider: Updated for version 3.4.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/SuperCollider/README6
-rw-r--r--audio/SuperCollider/SuperCollider.SlackBuild34
-rw-r--r--audio/SuperCollider/SuperCollider.info8
3 files changed, 36 insertions, 12 deletions
diff --git a/audio/SuperCollider/README b/audio/SuperCollider/README
index 633c68b9f76fe..7bef73a8d1f89 100644
--- a/audio/SuperCollider/README
+++ b/audio/SuperCollider/README
@@ -6,4 +6,10 @@ realtime sound synthesis server.
This buildscript also includes SwingOSC which is a GUI Framework for
Supercollider.
+To use scvim editor copy the contents of /usr/share/scvim/vim to ~/.vim/
+
+This will perform setcap cap_ipc_lock,cap_sys_nice=ep to /usr/bin/sclang,
+/usr/bin/scsynth and /usr/bin/scvim. If you don't want this behaviour pass
+CAPS="no" to the script.
+
This requires scons, icu4c, and jack-audio-connection-kit.
diff --git a/audio/SuperCollider/SuperCollider.SlackBuild b/audio/SuperCollider/SuperCollider.SlackBuild
index 52b1f5ccf36cb..95ad609e93c1d 100644
--- a/audio/SuperCollider/SuperCollider.SlackBuild
+++ b/audio/SuperCollider/SuperCollider.SlackBuild
@@ -6,7 +6,7 @@
# contact: pfeifer[dot]felix[at]googlemail[dot]com
PRGNAM=SuperCollider
-VERSION=${VERSION:-3.4.3}
+VERSION=${VERSION:-3.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,8 +44,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-Source
tar xvf $CWD/$PRGNAM-$VERSION-Source-linux.tar.gz
-unzip $CWD/SwingOSC-0.65.zip
cd $PRGNAM-Source
+unzip $CWD/SwingOSC-0.65.zip
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -60,12 +60,25 @@ fi
cd common
scons PREFIX=/usr X11=yes SCEL=yes SCED=yes SCVIM=yes LID=yes READLINE=no
scons install DESTDIR=$PKG
- # Compile and install SwingOSC
- cd ../../SwingOSC
- chmod 0755 install_linux_system.sh
- ./install_linux_system.sh $PKG/usr
- cd -
-cd ..
+cd -
+
+# Compile and install SwingOSC
+cd SwingOSC
+ chmod 0755 install_linux_system.sh
+ ./install_linux_system.sh $PKG/usr
+cd -
+
+# install scvim
+cd editors/scvim
+ mkdirhier $PKG/usr/share/scvim/vim
+ cp bin/* $PKG/usr/bin
+ cp -r ftplugin $PKG/usr/share/scvim/vim # copy this and the 2 following to
+ cp -r indent $PKG/usr/share/scvim/vim # the vim runtimepath
+ cp -r syntax $PKG/usr/share/scvim/vim # any idea where this might be globally?
+ cp scvimrc $PKG/usr/share/scvim
+ cp -r scclasses $PKG/usr/share/SuperCollider/Extensions/scvim
+cd -
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -76,6 +89,11 @@ cp -a AUTHORS COPYING "README LINUX" VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
+if [ "${CAPS:-yes}" = "yes" ]; then
+ echo "setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/sclang" >> $PKG/install/doinst.sh
+ echo "setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/scsynth" >> $PKG/install/doinst.sh
+ echo "setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/scvim" >> $PKG/install/doinst.sh
+fi
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
diff --git a/audio/SuperCollider/SuperCollider.info b/audio/SuperCollider/SuperCollider.info
index 61314f31e7c33..1752d1dfb7618 100644
--- a/audio/SuperCollider/SuperCollider.info
+++ b/audio/SuperCollider/SuperCollider.info
@@ -1,12 +1,12 @@
PRGNAM="SuperCollider"
-VERSION="3.4.3"
+VERSION="3.4.4"
HOMEPAGE="http://supercollider.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/supercollider/SuperCollider-3.4.3-Source-linux.tar.gz \
+DOWNLOAD="http://downloads.sourceforge.net/supercollider/SuperCollider-3.4.4-Source-linux.tar.gz \
http://downloads.sourceforge.net/swingosc/SwingOSC-0.65.zip"
-MD5SUM="a7d5371c01181b25e476c0e5c5dfe0b6 \
+MD5SUM="0277d4a76268d2c534c68168bb2dedae \
6c284f505525dff8462267958479ed1a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Felix Pfeifer"
EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"
-APPROVED="Niels Horn"
+APPROVED="dsomero"