summaryrefslogtreecommitdiff
path: root/audio/audacity
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-03-21 18:46:14 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 00:11:38 +0000
commit64faa7784465f934e79acf6a2b63dd52df96bd4c (patch)
tree10adba215a3e834dd84c86b592b467b45f36e45b /audio/audacity
parentc1f33b0679756d294a93307f242ddfff286aa9d3 (diff)
downloadslackbuilds-64faa7784465f934e79acf6a2b63dd52df96bd4c.tar.gz
audio/audacity: Updated for version 2.1.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/audacity')
-rw-r--r--audio/audacity/README4
-rw-r--r--audio/audacity/audacity.SlackBuild21
-rw-r--r--audio/audacity/audacity.info8
3 files changed, 24 insertions, 9 deletions
diff --git a/audio/audacity/README b/audio/audacity/README
index c18b9debf5..4bfec62427 100644
--- a/audio/audacity/README
+++ b/audio/audacity/README
@@ -5,3 +5,7 @@ digital recordings, edit Ogg, MP3, and WAV sound files, and much more.
Optional dependencies (autodetected) are ffmpeg, jack-audio-connection-kit,
ladspa_sdk, lame, soundtouch, twolame, vamp-plugin-sdk and lilv + suil
(for lv2 support).
+
+The manual is packaged with the application only if you pass the script
+the additional option
+ MANUAL=yes
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index f15b2b9a51..9f175f5ba2 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -1,9 +1,9 @@
#!/bin/sh
-# Slackware build script for Audacity
+# Slackware build script for audacity
# Copyright 2006-2010 Chess Griffin <chess@chessgriffin.com>
-# Copyright 2011-2016 Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright 2011-2017 Matteo Bernardini <ponce@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,7 +31,7 @@
PRGNAM=audacity
SRCNAM=Audacity
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,6 +63,7 @@ else
fi
if [ -x /usr/bin/listplugins ]; then do_ladspa="--with-ladspa"; else do_ladspa="--without-ladspa"; fi
+if [ $(which lame) ]; then do_lame="-lame=system"; else do_lame="out-lame"; fi
if pkg-config --exists libavcodec; then do_ffmpeg="-ffmpeg=system"; else do_ffmpeg="out-ffmpeg"; fi
if pkg-config --exists soundtouch; then do_soundtouch="-soundtouch=system"; else do_soundtouch="out-soundtouch"; fi
if pkg-config --exists twolame; then do_twolame="-libtwolame=system"; else do_twolame="out-libtwolame"; fi
@@ -91,6 +92,8 @@ sed -i "s,lib/vamp,lib$LIBDIRSUFFIX/vamp,g" \
# fix building against ffmpeg-2.6.x, patch from archlinux
patch -p1 < $CWD/audacity-ffmpeg.patch
+autoreconf -fi
+
# libsoxr is the new default resampling library
LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
CFLAGS="$SLKCFLAGS" \
@@ -109,6 +112,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-libsoxr \
--with-portaudio \
$do_ladspa \
+ --with$do_lame \
--with$do_ffmpeg \
--with$do_lv2 \
--with$do_soundtouch \
@@ -131,10 +135,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# We're going to overwrite the included audacity.desktop file with ours,
# and the icon isn't added at all by upstream, so we'll do that here
-install -D -m 0644 $CWD/audacity.desktop \
- $PKG/usr/share/applications/audacity.desktop
+install -D -m 0644 $CWD/$PRGNAM.desktop \
+ $PKG/usr/share/applications/$PRGNAM.desktop
install -D -m 0644 images/AudacityLogo48x48.xpm \
- $PKG/usr/share/pixmaps/audacity.xpm
+ $PKG/usr/share/pixmaps/$PRGNAM.xpm
# Move manpage directory to the proper location
mv $PKG/usr/share/man $PKG/usr
@@ -145,6 +149,11 @@ rm -fr $PKG/usr/share/doc
cp LICENSE.txt README.txt todo.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+if [ "${MANUAL:-no}" = "yes" ]; then
+ mkdir -p $PKG/usr/share/$PRGNAM/help/manual
+ unzip $CWD/$PRGNAM-help-$VERSION.zip -d $PKG/usr/share/$PRGNAM/help/manual
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/audio/audacity/audacity.info b/audio/audacity/audacity.info
index 0f8358ebb3..74c7b0eb80 100644
--- a/audio/audacity/audacity.info
+++ b/audio/audacity/audacity.info
@@ -1,8 +1,10 @@
PRGNAM="audacity"
-VERSION="2.1.2"
+VERSION="2.1.3"
HOMEPAGE="http://audacity.sourceforge.net"
-DOWNLOAD="https://github.com/audacity/audacity/archive/Audacity-2.1.2.tar.gz"
-MD5SUM="84488cd755fe14cbc39769dd1abb7113"
+DOWNLOAD="https://github.com/audacity/audacity/archive/Audacity-2.1.3.tar.gz \
+ http://ponce.cc/slackware/sources/repo/audacity-help-2.1.3.zip"
+MD5SUM="82e7216ae4b9bb597ed6f291bd44f45 \
+ 5e32b26a48f79e82438998c3334fe117"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3"