aboutsummaryrefslogtreecommitdiff
path: root/audio/audacity/audacity.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/audacity.SlackBuild')
-rw-r--r--audio/audacity/audacity.SlackBuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 43519f3aaab40..3fa0e6a16db06 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -29,8 +29,8 @@
# Modified by the SlackBuilds.org project
PRGNAM=audacity
-VERSION=${VERSION:-1.3.14}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.0.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -83,9 +83,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-minsrc-$VERSION-beta
-tar xvf $CWD/$PRGNAM-minsrc-$VERSION-beta.tar.bz2
-cd $PRGNAM-src-$VERSION-beta
+rm -rf $PRGNAM-minsrc-$VERSION
+tar xvf $CWD/$PRGNAM-minsrc-$VERSION.tar.bz2
+cd $PRGNAM-src-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -93,12 +93,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# patch for newer ffmpeg versions
-# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/audacity/files/audacity-1.3.13-ffmpeg.patch?view=markup
-patch -p1 < $CWD/audacity-1.3.13-ffmpeg.patch
-
# Fix vamp plugin search path on x86_64 - thanks to B. Watson
-sed -i "s,/usr/lib/vamp,/usr/lib$LIBDIRSUFFIX/vamp," \
+sed -i "s,lib/vamp,lib$LIBDIRSUFFIX/vamp,g" \
lib-src/libvamp/src/vamp-hostsdk/PluginHostAdapter.cpp
CFLAGS="$SLKCFLAGS" \
@@ -133,7 +129,7 @@ install -D -m 0644 $CWD/audacity.desktop \
install -D -m 0644 images/AudacityLogo48x48.xpm \
$PKG/usr/share/pixmaps/audacity.xpm
-# Move manpage directory to proper location; pages are gzipped already
+# Move manpage directory to proper location; pages are already gzipped
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION