aboutsummaryrefslogtreecommitdiff
path: root/audio/ardour/ardour.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ardour/ardour.SlackBuild')
-rw-r--r--audio/ardour/ardour.SlackBuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/audio/ardour/ardour.SlackBuild b/audio/ardour/ardour.SlackBuild
index 94e80e5cc935..05afd738ada8 100644
--- a/audio/ardour/ardour.SlackBuild
+++ b/audio/ardour/ardour.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for ardour
# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2018 Matteo Bernardini, Pisa, Italy
+# Copyright 2018-2020 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ardour
-VERSION=${VERSION:-5.12.0}
+VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf Ardour-$VERSION
-tar xvf $CWD/Ardour-$VERSION.tar.bz2
+tar xvf $CWD/Ardour-$VERSION.tar.?z*
cd Ardour-$VERSION
chown -R root:root .
find -L . \
@@ -75,18 +75,21 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11" \
./waf configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--configdir=/etc \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-backends="jack,alsa" \
+ --with-backends="dummy,alsa,jack,pulseaudio" \
--libjack=weak \
--optimize \
--freedesktop \
--no-phone-home \
+ --nls \
+ --ptformat \
+ --lxvst \
--cxx11
./waf build
@@ -97,12 +100,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/{appdata,applications,icons}
-cp build/gtk2_ardour/ardour5.appdata.xml $PKG/usr/share/appdata/
-cp build/gtk2_ardour/ardour5.desktop $PKG/usr/share/applications/
+cp build/gtk2_ardour/ardour6.appdata.xml $PKG/usr/share/appdata/
+cp build/gtk2_ardour/ardour6.desktop $PKG/usr/share/applications/
for isize in 16 22 32 48 ; do
mkdir -p $PKG/usr/share/icons/hicolor/${isize}x${isize}/apps
cp gtk2_ardour/icons/application-x-ardour_${isize}px.png \
- $PKG/usr/share/icons/hicolor/${isize}x${isize}/apps/ardour5.png
+ $PKG/usr/share/icons/hicolor/${isize}x${isize}/apps/ardour6.png
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -115,10 +118,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/ardour5
+cd $PKG/etc/ardour6
for i in $(find . -type f) ; do
mv $i $i.new
- echo "config etc/ardour5/$i.new" >> $PKG/install/doinst.sh
+ echo "config etc/ardour6/$i.new" >> $PKG/install/doinst.sh
done
cd -