Advertisement
Guest User

Untitled

a guest
Mar 18th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. --- audacity.SlackBuild
  2. +++ audacity.SlackBuild
  3. @@ -31,7 +31,7 @@
  4.  
  5. PRGNAM=audacity
  6. SRCNAM=Audacity
  7. -VERSION=${VERSION:-2.1.2}
  8. +VERSION=${VERSION:-2.1.3}
  9. BUILD=${BUILD:-1}
  10. TAG=${TAG:-_SBo}
  11.  
  12. @@ -62,13 +62,6 @@
  13. LIBDIRSUFFIX=""
  14. fi
  15.  
  16. -if [ -x /usr/bin/listplugins ]; then do_ladspa="--with-ladspa"; else do_ladspa="--without-ladspa"; fi
  17. -if pkg-config --exists libavcodec; then do_ffmpeg="-ffmpeg=system"; else do_ffmpeg="out-ffmpeg"; fi
  18. -if pkg-config --exists soundtouch; then do_soundtouch="-soundtouch=system"; else do_soundtouch="out-soundtouch"; fi
  19. -if pkg-config --exists twolame; then do_twolame="-libtwolame=system"; else do_twolame="out-libtwolame"; fi
  20. -if pkg-config --exists vamp-hostsdk; then do_vamp="-libvamp=system"; else do_vamp="out-libvamp"; fi
  21. -if $(pkg-config --exists lilv-0) && $(pkg-config --exists suil-0); then do_lv2="-lv2=system"; else do_lv2="out-lv2"; fi
  22. -
  23. set -e
  24.  
  25. rm -rf $PKG
  26. @@ -95,33 +88,13 @@
  27. LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
  28. CFLAGS="$SLKCFLAGS" \
  29. CXXFLAGS="$SLKCFLAGS" \
  30. +
  31. +autoreconf -vi
  32. +
  33. ./configure \
  34. --prefix=/usr \
  35. --libdir=/usr/lib${LIBDIRSUFFIX} \
  36. - --enable-unicode \
  37. - --enable-nyquist \
  38. - --with-expat=system \
  39. - --with-libvorbis=system \
  40. - --with-libmad=system \
  41. - --with-libflac=system \
  42. - --with-libsndfile=system \
  43. - --with-libid3tag=system \
  44. - --with-libsoxr \
  45. - --with-portaudio \
  46. - $do_ladspa \
  47. - --with$do_ffmpeg \
  48. - --with$do_lv2 \
  49. - --with$do_soundtouch \
  50. - --with$do_twolame \
  51. - --with$do_vamp \
  52. - --without-libresample \
  53. --without-libsamplerate
  54. -
  55. -# ensure we use the system headers for these: note that we do this after the
  56. -# configure as this last wants to run sub-configures in these dirs
  57. -for i in ffmpeg expat libid3tag libflac libmad libresample libsndfile libvamp lv2 soundtouch twolame; do
  58. - rm -rf lib-src/$i
  59. -done
  60.  
  61. make
  62. make install DESTDIR=$PKG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement