Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- audacity.SlackBuild
- +++ audacity.SlackBuild
- @@ -31,7 +31,7 @@
- PRGNAM=audacity
- SRCNAM=Audacity
- -VERSION=${VERSION:-2.1.2}
- +VERSION=${VERSION:-2.1.3}
- BUILD=${BUILD:-1}
- TAG=${TAG:-_SBo}
- @@ -62,13 +62,6 @@
- LIBDIRSUFFIX=""
- fi
- -if [ -x /usr/bin/listplugins ]; then do_ladspa="--with-ladspa"; else do_ladspa="--without-ladspa"; fi
- -if pkg-config --exists libavcodec; then do_ffmpeg="-ffmpeg=system"; else do_ffmpeg="out-ffmpeg"; fi
- -if pkg-config --exists soundtouch; then do_soundtouch="-soundtouch=system"; else do_soundtouch="out-soundtouch"; fi
- -if pkg-config --exists twolame; then do_twolame="-libtwolame=system"; else do_twolame="out-libtwolame"; fi
- -if pkg-config --exists vamp-hostsdk; then do_vamp="-libvamp=system"; else do_vamp="out-libvamp"; fi
- -if $(pkg-config --exists lilv-0) && $(pkg-config --exists suil-0); then do_lv2="-lv2=system"; else do_lv2="out-lv2"; fi
- -
- set -e
- rm -rf $PKG
- @@ -95,33 +88,13 @@
- LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- +
- +autoreconf -vi
- +
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- - --enable-unicode \
- - --enable-nyquist \
- - --with-expat=system \
- - --with-libvorbis=system \
- - --with-libmad=system \
- - --with-libflac=system \
- - --with-libsndfile=system \
- - --with-libid3tag=system \
- - --with-libsoxr \
- - --with-portaudio \
- - $do_ladspa \
- - --with$do_ffmpeg \
- - --with$do_lv2 \
- - --with$do_soundtouch \
- - --with$do_twolame \
- - --with$do_vamp \
- - --without-libresample \
- --without-libsamplerate
- -
- -# ensure we use the system headers for these: note that we do this after the
- -# configure as this last wants to run sub-configures in these dirs
- -for i in ffmpeg expat libid3tag libflac libmad libresample libsndfile libvamp lv2 soundtouch twolame; do
- - rm -rf lib-src/$i
- -done
- make
- make install DESTDIR=$PKG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement