aboutsummaryrefslogtreecommitdiff
path: root/audio/ardour/ardour.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-01-24 16:45:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:43 +0700
commite9421ef3a93f29df0efaebc678e5b1bfc5a869d5 (patch)
treea2acdb0369824c6332ea88df3072f66d8ea1f99c /audio/ardour/ardour.SlackBuild
parentf5edc35d73c6831d613650c525ca4ab0dd49de53 (diff)
audio/ardour: Updated for version 5.12.0, changed maintainer.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/ardour/ardour.SlackBuild')
-rw-r--r--audio/ardour/ardour.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/ardour/ardour.SlackBuild b/audio/ardour/ardour.SlackBuild
index 8eefcb395344..25124c859fe7 100644
--- a/audio/ardour/ardour.SlackBuild
+++ b/audio/ardour/ardour.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for ardour
# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2018 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ardour
-VERSION=${VERSION:-4.7.0}
+VERSION=${VERSION:-5.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
TARGET="i386"
elif [ "$ARCH" = "i686" ]; then
@@ -90,8 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \
./waf build
-./waf install \
- --destdir=$PKG
+./waf 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
@@ -106,10 +106,10 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
# Let's not clobber config files
-cd $PKG/etc/ardour4
+cd $PKG/etc/ardour5
for i in $(find . -type f) ; do
mv $i $i.new
- echo "config etc/ardour4/$i.new" >> $PKG/install/doinst.sh
+ echo "config etc/ardour5/$i.new" >> $PKG/install/doinst.sh
done
cd -