SPECS: audacity.spec - added bcond libresample - audacity uses one...

sls sls at pld-linux.org
Tue Jan 2 21:12:39 CET 2007


Author: sls                          Date: Tue Jan  2 20:12:39 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond libresample - audacity uses one of libsamplerate, libresample

---- Files affected:
SPECS:
   audacity.spec (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: SPECS/audacity.spec
diff -u SPECS/audacity.spec:1.64 SPECS/audacity.spec:1.65
--- SPECS/audacity.spec:1.64	Tue Jan  2 05:11:13 2007
+++ SPECS/audacity.spec	Tue Jan  2 21:12:34 2007
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 # TODO:
 #	internal portaudio crashes when only OSS is available on startup
+%bcond_with	libresample	# using libresample (default libsamplerate)
 Summary:	Audacity - manipulate digital audio waveforms
 Summary(pl):	Audacity - narzędzie do obróbki plików dźwiękowych
 Summary(ru):	Ęđîńńďëŕňôîđěĺííűé çâóęîâîé đĺäŕęňîđ
@@ -29,8 +30,8 @@
 BuildRequires:	libid3tag-devel >= 0.15.0b-2
 BuildRequires:	libjpeg-devel
 BuildRequires:	libmad-devel >= 0.14.2b-4
-BuildRequires:	libresample-devel >= 0.1.3
-BuildRequires:	libsamplerate-devel >= 0.1.2
+%{?with_libresample:BuildRequires:	libresample-devel >= 0.1.3}
+%{!?with_libresample:BuildRequires:	libsamplerate-devel >= 0.1.2}
 BuildRequires:	libsndfile-devel >= 1.0.0
 BuildRequires:	libstdc++-devel
 BuildRequires:	libvorbis-devel >= 1:1.0
@@ -84,10 +85,15 @@
 
 export WX_CONFIG="`which wx-gtk2-unicode-config`"
 %configure \
+%if %{with libresample}
+	--with-libresample=system \
+%else
+	--with-libresample=no \
+	--with-libsamplerate=system \
+%endif
 	--with-help \
 	--with-id3tag=system \
 	--with-libmad=system \
-	--with-libsamplerate=system \
 	--with-libsndfile=system \
 	--with-libflac=system \
 	--with-vorbis=system
@@ -135,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65  2007/01/02 20:12:34  sls
+- added bcond libresample - audacity uses one of libsamplerate, libresample
+
 Revision 1.64  2007/01/02 04:11:13  sls
 - fixed "Portable Settings" issue (fixed patch wx28)
 - removing useless /usr/share/doc/audacity
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/audacity.spec?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list