aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-19 00:25:30 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:12:41 +0700
commit4e8f8e11a4671cea8c25c5ccc237f8ffdf2a745c (patch)
tree90b55b275717bdebdcd0ba816437ef5338427a7f /audio
parentdcdbcdf69b2b4a40d8b60452e9cabda5dc0cc89f (diff)
audio/SuperCollider: Updated for version 3.12.2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/SuperCollider/SuperCollider.SlackBuild20
-rw-r--r--audio/SuperCollider/SuperCollider.info8
2 files changed, 15 insertions, 13 deletions
diff --git a/audio/SuperCollider/SuperCollider.SlackBuild b/audio/SuperCollider/SuperCollider.SlackBuild
index 793064bb322b..3aca95ac5c6a 100644
--- a/audio/SuperCollider/SuperCollider.SlackBuild
+++ b/audio/SuperCollider/SuperCollider.SlackBuild
@@ -5,10 +5,14 @@
# Written by Felix Pfeifer
# contact: pfeifer[dot]felix[at]googlemail[dot]com
+# 20220218 bkw: Modified by SlackBuilds.org: updated for v3.12.2 as
+# the previous version wouldn't build on Slackware 15.0. Build with
+# bundled yaml-cpp rather than depend on an external yaml-cpp.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SuperCollider
-VERSION=${VERSION:-3.10.2}
+VERSION=${VERSION:-3.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -21,9 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -49,15 +50,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-Source
-tar xvf $CWD/$PRGNAM-$VERSION-Source-linux.tar.?z*
-cd $PRGNAM-Source
+rm -rf $PRGNAM-$VERSION-Source
+tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.bz2
+cd $PRGNAM-$VERSION-Source
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 \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Pass AVAHI=yes to the script to enable avahi support
if [ "${AVAHI:-no}" = "yes" ]; then avahi="OFF"; else avahi="ON"; fi
@@ -85,6 +86,7 @@ cd build
-DSC_WII="$cwiid" \
-DSC_EL="$emacs" \
-DSC_ED="2" \
+ -DSYSTEM_YAMLCPP=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
diff --git a/audio/SuperCollider/SuperCollider.info b/audio/SuperCollider/SuperCollider.info
index 18cc44f2840b..7a1e4554a999 100644
--- a/audio/SuperCollider/SuperCollider.info
+++ b/audio/SuperCollider/SuperCollider.info
@@ -1,10 +1,10 @@
PRGNAM="SuperCollider"
-VERSION="3.10.2"
+VERSION="3.12.2"
HOMEPAGE="http://supercollider.sourceforge.net/"
-DOWNLOAD="https://github.com/supercollider/supercollider/releases/download/Version-3.10.2/SuperCollider-3.10.2-Source-linux.tar.bz2"
-MD5SUM="43734d9e761e6f8023b76d2823c8193b"
+DOWNLOAD="https://github.com/supercollider/supercollider/releases/download/Version-3.12.2/SuperCollider-3.12.2-Source.tar.bz2"
+MD5SUM="01db38c7fa1793073901e1d70037d4a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jack yaml-cpp0.3"
+REQUIRES="jack"
MAINTAINER="Felix Pfeifer"
EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"