summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author Matteo Bernardini2013-02-10 16:25:50 +0100
committer dsomero2013-02-10 16:25:50 +0100
commit65dc4c31b379c50a3b4036bd4c67ef9c0394361f (patch)
tree650323b3c7414d51ee1aa7f3e7003e25026c7d4d /audio
parent572643dc8fa5954d545c50d50c577945b4416d6d (diff)
downloadslackbuilds-65dc4c31b379c50a3b4036bd4c67ef9c0394361f.tar.gz
audio/audacity: Updated for version 2.0.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/audacity/README1
-rw-r--r--audio/audacity/audacity.SlackBuild37
-rw-r--r--audio/audacity/audacity.info10
3 files changed, 18 insertions, 30 deletions
diff --git a/audio/audacity/README b/audio/audacity/README
index 0424d489c0..9d84ab2542 100644
--- a/audio/audacity/README
+++ b/audio/audacity/README
@@ -7,3 +7,4 @@ optional parameters, such as:
FFMPEG=yes (requires ffmpeg - BROKEN ATM)
SOUNDTOUCH=yes (requires soundtouch)
TWOLAME=yes (requires twolame)
+VAMP=yes (requires vamp-plugin-sdk)
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 3cd5e30e45..fe82deaa18 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -29,7 +29,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=audacity
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,24 +46,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "${SOUNDTOUCH:-no}" = "no" ]; then
- do_soundtouch="without"
-else
- do_soundtouch="with"
-fi
-
-if [ "${TWOLAME:-no}" = "no" ]; then
- do_twolame="without"
-else
- do_twolame="with"
-fi
-
-if [ "${FFMPEG:-no}" = "no" ]; then
- do_ffmpeg="without"
-else
- do_ffmpeg="with"
-fi
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -78,13 +60,18 @@ else
LIBDIRSUFFIX=""
fi
+do_soundtouch="out" ; [ "${SOUNDTOUCH:-no}" != "no" ] && do_soundtouch=""
+do_twolame="out" ; [ "${TWOLAME:-no}" != "no" ] && do_twolame=""
+do_vamp="out" ; [ "${VAMP:-no}" != "no" ] && do_vamp=""
+do_ffmpeg="out" ; [ "${FFMPEG:-no}" != "no" ] && do_ffmpeg=""
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-src-$VERSION
-tar xvf $CWD/$PRGNAM-minsrc-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-minsrc-$VERSION.tar.?z*
cd $PRGNAM-src-$VERSION
chown -R root:root .
find . \
@@ -112,9 +99,10 @@ CXXFLAGS="$SLKCFLAGS" \
--with-libsndfile \
--with-libid3tag \
--with-libresample \
- --$do_ffmpeg-ffmpeg \
- --$do_soundtouch-soundtouch \
- --$do_twolame-libtwolame
+ --with$do_ffmpeg-ffmpeg \
+ --with$do_soundtouch-soundtouch \
+ --with$do_twolame-libtwolame \
+ --with$do_vamp-libvamp
make
make install DESTDIR=$PKG
@@ -133,9 +121,8 @@ install -D -m 0644 images/AudacityLogo48x48.xpm \
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/audacity/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -fr $PKG/usr/share/doc
cp LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
-rm -r $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/audacity/audacity.info b/audio/audacity/audacity.info
index 255b35d150..6742671d5a 100644
--- a/audio/audacity/audacity.info
+++ b/audio/audacity/audacity.info
@@ -1,10 +1,10 @@
PRGNAM="audacity"
-VERSION="2.0.2"
+VERSION="2.0.3"
HOMEPAGE="http://audacity.sourceforge.net"
-DOWNLOAD="http://audacity.googlecode.com/files/audacity-minsrc-2.0.2.tar.bz2"
-MD5SUM="c838bc4485b0af104a7f6d9c6955a284"
+DOWNLOAD="http://audacity.googlecode.com/files/audacity-minsrc-2.0.3.tar.xz"
+MD5SUM="648cce8a9ce86eebfc53921172ee9d89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxPython"
-MAINTAINER="ponce"
-EMAIL="matteo.bernardini@gmail.com"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"