From 0f58476c1f0059318bc74f193b68cde39c6499f8 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 18 Sep 2020 20:06:14 +0000 Subject: supercollder: updated to 3.11.1 --- supercollider/build/supercollider.SlackBuild | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'supercollider') diff --git a/supercollider/build/supercollider.SlackBuild b/supercollider/build/supercollider.SlackBuild index 6c25d427..b35d5540 100755 --- a/supercollider/build/supercollider.SlackBuild +++ b/supercollider/build/supercollider.SlackBuild @@ -41,6 +41,8 @@ # * Update. # 3.11.0-1: 09/jun/2020 by Eric Hameleers # * Update. +# 3.11.1-1: 18/sep/2020 by Eric Hameleers +# * Update. # # Run 'sh supercollider.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -50,7 +52,7 @@ PRGNAM=supercollider SRCNAM=SuperCollider -VERSION=${VERSION:-3.11.0} +VERSION=${VERSION:-3.11.1} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -165,6 +167,11 @@ cd ${SRCNAM}-${VERSION}-Source sed -e '/^#include $/a #include ' \ -i $(grep -rl '^#include $' .) +# Fix a linking issue (resolved in 3.11.2 hopefully, +# see https://github.com/supercollider/supercollider/issues/4992 +cat $SRCDIR/patches/supercollder_link_libscsynth.patch | patch -p1 --verbose \ + 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log + if [ "$SYSTEM_BOOST" = "YES" ]; then rm -rf external_libraries/boost # cmake variable: @@ -218,6 +225,18 @@ mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps mv $PKG/usr/share/pixmaps/sc_ide.svg \ $PKG/usr/share/icons/hicolor/scalable/apps/ +# Add 'X-DAW' category to the desktop file (for liveslak): +for DESKTOPF in $PKG/usr/share/applications/*.desktop ; do + if ! grep -q X-DAW $DESKTOPF ; then + sed -i $DESKTOPF \ + -e "s/^Categories=\(.*\)/Categories=X-DAW;\1/" + fi +done + +# Only allow execution by user in 'audio' group: +chown root:audio $PKG/usr/bin/* +chmod 0750 $PKG/usr/bin/* + # Add this to the doinst.sh: mkdir -p $PKG/install touch $PKG/install/doinst.sh -- cgit v1.2.3-65-gdbad