diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2024-02-02 15:53:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-02 17:17:25 +0700 |
commit | fd086c2cc9cd548ef1436d5dbd064f849f0367e6 (patch) | |
tree | 62d358959083106fd63ea04db9e79a45a5db2e44 | |
parent | e40b2689c3a569ae6a2c9f099cfa3c043f8df014 (diff) |
audio/linuxsampler: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | audio/linuxsampler/gcc47.patch | 12 | ||||
-rw-r--r-- | audio/linuxsampler/linuxsampler.SlackBuild | 20 | ||||
-rw-r--r-- | audio/linuxsampler/linuxsampler.info | 6 | ||||
-rw-r--r-- | audio/linuxsampler/slack-desc | 2 |
4 files changed, 14 insertions, 26 deletions
diff --git a/audio/linuxsampler/gcc47.patch b/audio/linuxsampler/gcc47.patch deleted file mode 100644 index d021a01e0c9a..000000000000 --- a/audio/linuxsampler/gcc47.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur linuxsampler-1.0.0.orig/src/common/Pool.h linuxsampler-1.0.0/src/common/Pool.h ---- linuxsampler-1.0.0.orig/src/common/Pool.h 2008-12-07 01:18:04.000000000 +0100 -+++ linuxsampler-1.0.0/src/common/Pool.h 2012-09-17 15:27:17.580041864 +0200 -@@ -393,7 +393,7 @@ - inline Iterator allocAppend() { - if (pPool->poolIsEmpty()) return RTListBase<T>::begin(); - Iterator element = pPool->alloc(); -- append(element); -+ this->append(element); - #if CONFIG_DEVMODE - element.list = this; - #endif // CONFIG_DEVMODE diff --git a/audio/linuxsampler/linuxsampler.SlackBuild b/audio/linuxsampler/linuxsampler.SlackBuild index 6ea147acc1d3..a1fe64686c54 100644 --- a/audio/linuxsampler/linuxsampler.SlackBuild +++ b/audio/linuxsampler/linuxsampler.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for linuxsampler -# Written by Michales Michaloudes korgie@gmail.com -# Copyright 2019 Johannes Schoepfer, Germany +# Written by Michales Michaloudes +# Copyright 2019-2024 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=linuxsampler -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,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 @@ -76,12 +73,13 @@ cd $PRGNAM-$VERSION 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 {} + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +CXX=clang++ CC=clang \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -92,18 +90,20 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux +# prevent excessive overlinking due to libtool +sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; +find $PKG/usr/man -type f -exec gzip -9 {} + for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README \ + AUTHORS COPYING ChangeLog NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/linuxsampler/linuxsampler.info b/audio/linuxsampler/linuxsampler.info index 949771ce98ef..af514bbb99b4 100644 --- a/audio/linuxsampler/linuxsampler.info +++ b/audio/linuxsampler/linuxsampler.info @@ -1,8 +1,8 @@ PRGNAM="linuxsampler" -VERSION="2.2.0" +VERSION="2.3.0" HOMEPAGE="https://linuxsampler.org/" -DOWNLOAD="https://download.linuxsampler.org/packages/linuxsampler-2.2.0.tar.bz2" -MD5SUM="1feeaae61eaae5de6691c5ab4e9b3523" +DOWNLOAD="https://download.linuxsampler.org/packages/linuxsampler-2.3.0.tar.bz2" +MD5SUM="3ace432896b44173b12bcb4d37a592f1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgig" diff --git a/audio/linuxsampler/slack-desc b/audio/linuxsampler/slack-desc index 07ded6917b0d..139d7c9ef1f9 100644 --- a/audio/linuxsampler/slack-desc +++ b/audio/linuxsampler/slack-desc @@ -15,5 +15,5 @@ linuxsampler: and commercial Windows/Mac software samplers and to introduce linuxsampler: new features not yet available by any other sampler in the linuxsampler: world. linuxsampler: -linuxsampler: +linuxsampler: https://linuxsampler.org/ linuxsampler: |