Moises Henriquez avatar Moises Henriquez committed 100f7ac

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

Comments (0)

Files changed (1)

var/vabs/audacity/src/audacity.SlackBuild

 # AUTHORS = 
 
 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.googlecode.com/files/$NAME-minsrc-$VERSION.tar.bz2"}  #Enter URL for package here!
+LINK=${LINK:-"http://$NAME.googlecode.com/files/$NAME-minsrc-$VERSION.tar.xz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 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.
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 #EXTRACT SOURCES
 #-----------------------------------------------------
 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 \
+  $CONFIGURE_TRIPLET || exit 1
+
 
-make || exit 1
+make $NUMJOBS || exit 1
 
 make install DESTDIR=$PKG || exit 1
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.