Browse Source

xap/ardour: Upgraded to ardour-5.12.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
5d56bc3627
  1. 1
      xap/ardour/Ardour-5.12.0.tar.bz2.sha256
  2. 45
      xap/ardour/ardour.SlackBuild
  3. 4
      xap/ardour/ardour.desktop

1
xap/ardour/Ardour-5.12.0.tar.bz2.sha256

@ -0,0 +1 @@
7e2a679b9a7eca7c72ec2fb9839b3e7d9e0049d83a8f9a1682788b5206fbd526 Ardour-5.12.0.tar.bz2

45
xap/ardour/ardour.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2013 Damien Goutte-Gattat
# Copyright (C) 2011,2013,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,16 +24,14 @@
#
# Latest ardour sourcecode is available at: <http://ardour.org/>.
#
# Depends: d/scons, ap/jack, l/liblrdf, l/libgnomecanvasmm, l/liblo
# Depends: l/aubio, l/rdflib, l/vamp-plugin-sdk, l/rubberband
# Depends: ap/jack, l/aubio, l/liblo, l/liblrdf, l/rubberband
# Recommends: l/lilv-0, l/suil-0
# Source package infos
NAMESRC=${NAMESRC:-ardour}
VERSION=${VERSION:-4.7}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
REPOS=${REPOS:-git://git.ardour.org/ardour/ardour.git}
REVISION=${REVISION:-d84a8222f2b6dab5028b2586f798535a8766670e}
NAMESRC=${NAMESRC:-Ardour}
VERSION=${VERSION:-5.12.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://community.ardour.org/srctar} # XXX: Unversioned link
# Build infos
NAMEPKG=${NAMEPKG:-ardour}
@ -77,12 +75,10 @@ esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
git clone $REPOS ardour
cd ardour
git archive --format=tar --prefix=ardour-$VERSION/ $VERSION . | gzip > ../$ARCHIVE
cd ..
rm -rf ardour
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -90,17 +86,17 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
cat > libs/ardour/revision.cc <<EOF
#include "ardour/revision.h"
namespace ARDOUR { const char* revision = "4.7-g$(echo $REVISION | cut -c1-7)"; }
EOF
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./waf configure \
--optimize \
--with-backends=jack,alsa \
--freedesktop \
--keepflags \
--lv2 \
--cxx11 \
--no-phone-home \
--noconfirm \
--prefix=/usr \
--libdir=/usr/lib64 \
--mandir=/usr/man \
@ -121,8 +117,8 @@ done
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING TRANSLATORS $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING TRANSLATORS $PKG/usr/doc/$NAMEPKG-$VERSION
# Install a desktop file
install -D -m 644 $CWD/ardour.desktop $PKG/usr/share/applications/ardour.desktop
@ -131,6 +127,17 @@ install -D -m 644 $CWD/ardour.desktop $PKG/usr/share/applications/ardour.desktop
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
aubio
jack
liblo
liblrdf
lilv-0
rubberband
suil-0
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

4
xap/ardour/ardour.desktop

@ -1,8 +1,8 @@
[Desktop Entry]
Name=Ardour
Comment=Audio Workstation
Exec=ardour4
Icon=/usr/share/ardour4/icons/application-x-ardour_48px.png
Exec=/usr/bin/ardour5
Icon=/usr/share/ardour5/icons/application-x-ardour_48px.png
Type=Application
Terminal=false
Categories=AudioVideo;Audio;

Loading…
Cancel
Save