mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
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>
This commit is contained in:
parent
dcdbcdf69b
commit
4e8f8e11a4
2 changed files with 15 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue