mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
audio/audacity: Updated for version 2.0.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
572643dc8f
commit
65dc4c31b3
3 changed files with 18 additions and 30 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue