diff options
Diffstat (limited to 'audio-creation/audacity/DEPENDS')
-rwxr-xr-x | audio-creation/audacity/DEPENDS | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/audio-creation/audacity/DEPENDS b/audio-creation/audacity/DEPENDS index b6082333f4..1548280ece 100755 --- a/audio-creation/audacity/DEPENDS +++ b/audio-creation/audacity/DEPENDS @@ -1,11 +1,11 @@ depends zip && -if [ "$AUDACITY_REL" == "current" ]; then - depends wxgtk-no-unicode +if [[ "$AUDACITY_BRANCH" == "current" ]]; then + depends wxgtk-no-unicode else depends wxgtk fi && depends lame && -if [ "$AUDACITY_REL" == "beta" ]; then +if [[ "$AUDACITY_BRANCH" != "current" ]]; then depends libsndfile else optional_depends libsndfile \ @@ -13,7 +13,7 @@ else "--with-libsndfile=local" \ "to use system libsndfile" fi && -if [ "$AUDACITY_REL" == "cvs" ]; then +if [[ "$AUDACITY_BRANCH" == "scm" ]]; then depends CVS fi && @@ -52,17 +52,17 @@ optional_depends libsamplerate \ "--without-libsamplerate" \ "to use external libsamplerate" && -if [ "$AUDACITY_REL" == "current" ]; then +if [[ "$AUDACITY_BRANCH" == "current" ]]; then optional_depends soundtouch \ "--with-soundtouch=system" \ "--with-soundtouch=local" \ "to use external soundtouch for editing" fi && -if [ "$AUDACITY_REL" == "beta" ] || [ "$AUDACITY_REL" == "cvs" ]; then - optional_depends vamp-plugin-sdk "--enable-vamp" "--disable-vamp" \ +case "$AUDACITY_BRANCH" in beta|scm) + optional_depends vamp-plugin-sdk "--enable-vamp" "--disable-vamp" \ "Compile with vamp plug-in support?" -fi && +;; esac && optional_depends LIBAVCODEC \ "--with-ffmpeg" \ @@ -88,9 +88,17 @@ optional_depends slv2 \ optional_depends liblrdf \ "--with-liblrdf" \ "--without-liblrdf" \ - "for categorisation of LADSPA plugins" + "for categorisation of LADSPA plugins" && + + +case "$AUDACITY_BRANCH" in + beta|scm) + optional_depends soundtouch \ + "--with-soundtouch" "--without-soundtouch" \ + "SoundTouch for pitch and tempo changing?" && + + optional_depends portaudio19 \ + "--with-portaudio" "--without-portaudio" \ + "Compile with portaudio v19?" +esac -#optional_depends portaudio19 \ -# "--with-portaudio=19" \ -# "--without-portaudio" \ -# "use portaudio" |