aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/ardour/ardour.SlackBuild23
-rw-r--r--audio/ardour/ardour.info8
2 files changed, 17 insertions, 14 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 -
diff --git a/audio/ardour/ardour.info b/audio/ardour/ardour.info
index 480f145a9ac6..623e9feee4c0 100644
--- a/audio/ardour/ardour.info
+++ b/audio/ardour/ardour.info
@@ -1,10 +1,10 @@
PRGNAM="ardour"
-VERSION="5.12.0"
+VERSION="6.0"
HOMEPAGE="http://ardour.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/Ardour-5.12.0.tar.bz2"
-MD5SUM="cb45f31a59dd5a0da07422e4ac1c44fd"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/Ardour-6.0.tar.xz"
+MD5SUM="431990c6de9b87bb8a19d8228e55dc4c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="aubio jack liblo liblrdf vamp-plugin-sdk rubberband lv2 cwiid lilv"
+REQUIRES="aubio jack liblo liblrdf vamp-plugin-sdk rubberband cwiid lilv"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"