From: Jakub Bogusz Date: Fri, 29 Dec 2006 20:47:02 +0000 (+0000) Subject: - added system-libs patch (use system libresample,soundtouch,twolame) X-Git-Tag: auto/ac/audacity-1_3_2-2~5 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=9237b4ef2c2e385a4aa6358c6ac7608a3f26e16f;p=packages%2Faudacity.git - added system-libs patch (use system libresample,soundtouch,twolame) - added opt patch (optflags in internal libnyquist,portmixer) - noted some problems noticed Changed files: audacity.spec -> 1.62 --- diff --git a/audacity.spec b/audacity.spec index c162472..eabc169 100644 --- a/audacity.spec +++ b/audacity.spec @@ -1,6 +1,7 @@ # TODO: -# use system soundtouch, nyquist -# don't use local libresample +# it constantly tries to open /usr/bin/Portable Settings/* +# internal portaudio crashes when only OSS is available on startup +# use system nyquist? # Installed (but unpackaged) file(s) found: # /usr/share/doc/audacity/LICENSE.txt # /usr/share/doc/audacity/README.txt @@ -20,21 +21,25 @@ Source2: %{name}-icon.png Patch0: %{name}-not_require_lame-libs-devel.patch Patch1: %{name}-wx28.patch Patch2: %{name}-flac.patch +Patch3: %{name}-system-libs.patch +Patch4: %{name}-opt.patch URL: http://audacity.sourceforge.net/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.50 BuildRequires: automake -BuildRequires: expat-devel +BuildRequires: expat-devel >= 1.95 BuildRequires: fftw-devel >= 2.1.4 BuildRequires: flac-devel >= 1.1.3 BuildRequires: gettext-devel BuildRequires: libid3tag-devel >= 0.15.0b-2 BuildRequires: libjpeg-devel BuildRequires: libmad-devel >= 0.14.2b-4 -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel +BuildRequires: libresample-devel >= 0.1.3 +BuildRequires: libsamplerate-devel >= 0.1.2 +BuildRequires: libsndfile-devel >= 1.0.0 BuildRequires: libstdc++-devel BuildRequires: libvorbis-devel >= 1:1.0 BuildRequires: pkgconfig +BuildRequires: soundtouch-devel >= 1.3.0 BuildRequires: speex-devel BuildRequires: which BuildRequires: wxGTK2-unicode-devel >= 2.8.0 @@ -70,8 +75,13 @@ Audacity - %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build +cd lib-src/portmixer +%{__autoconf} +cd ../.. %{__aclocal} %{__autoconf}