summaryrefslogtreecommitdiff
path: root/audio/SuperCollider/SuperCollider.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/SuperCollider/SuperCollider.SlackBuild')
-rw-r--r--audio/SuperCollider/SuperCollider.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/audio/SuperCollider/SuperCollider.SlackBuild b/audio/SuperCollider/SuperCollider.SlackBuild
index 7af6391aec..ea5c0a7677 100644
--- a/audio/SuperCollider/SuperCollider.SlackBuild
+++ b/audio/SuperCollider/SuperCollider.SlackBuild
@@ -6,13 +6,15 @@
# contact: pfeifer[dot]felix[at]googlemail[dot]com
PRGNAM=SuperCollider
-VERSION=${VERSION:-3.5.7}
+VERSION=${VERSION:-3.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i486) ARCH=i486 ;;
+ i586) ARCH=i586 ;;
+ i686) ARCH=i686 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -26,6 +28,9 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -73,7 +78,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DNO_AVAHI="$avahi" \
-DSC_WII="$cwiid" \
@@ -102,13 +107,14 @@ cp -a AUTHORS ChangeLog COPYING README_LINUX.txt $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
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
+ echo "setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/scide" >> $PKG/install/doinst.sh
fi
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}