Rodrigo Bistolfi  committed 2b1beb6 Merge

Merged in m0e_lnx/m0e-vabs (pull request #66)

audacity update to 2.0.3 and add necessary makedepends for wider format support

  • Participants
  • Parent commits cc1d279, 5a777a3

Comments (0)

Files changed (1)

File var/vabs/audacity/src/audacity.SlackBuild

 NAME="audacity"            #Enter package Name!
-VERSION=${VERSION:-"2.0.2"}      #Enter package Version!
+VERSION=${VERSION:-"2.0.3"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-"http://$$NAME-minsrc-$VERSION.tar.bz2"}  #Enter URL for package here!
+LINK=${LINK:-"http://$$NAME-minsrc-$VERSION.tar.xz"}  #Enter URL for package here!
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"wxPython soundtouch libsndfile glu"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"wxPython soundtouch libsndfile glu ffmpeg libsamplerate libvorbis libmad flac taglib soundtouch twolame portaudio lame alsa-lib jack"} #Add deps needed TO BUILD this package here.
 # DO NOT EXECUTE if NORUN is set to 1
 echo "Extracting source..."
-tar xvf $CWD/$NAME-minsrc-$VERSION.tar.* || exit 1
+tar xvf $CWD/$(basename $LINK) || exit 1
 #this moves whatever was extracted to the std dirname we are expecting
 mv * $NAME-$VERSION &> /dev/null 2>&1
 mkdir -p $PKG
   --with-libresample \
   --without-ffmpeg \
   --with-soundtouch \
-  --with-libtwolame
+  --with-libtwolame \
+  --build=$CONFIGURE_TRIPLET || exit 1
-make || exit 1
+make $NUMJOBS || exit 1
 make install DESTDIR=$PKG || exit 1