SPECS: mpg123.spec - {port,pulse}audio may be not wanted too

agaran agaran at pld-linux.org
Sun Mar 30 21:43:36 CEST 2008


Author: agaran                       Date: Sun Mar 30 19:43:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- {port,pulse}audio may be not wanted too

---- Files affected:
SPECS:
   mpg123.spec (1.91 -> 1.92) 

---- Diffs:

================================================================
Index: SPECS/mpg123.spec
diff -u SPECS/mpg123.spec:1.91 SPECS/mpg123.spec:1.92
--- SPECS/mpg123.spec:1.91	Sun Mar  9 17:20:06 2008
+++ SPECS/mpg123.spec	Sun Mar 30 21:43:31 2008
@@ -8,6 +8,8 @@
 %bcond_without	jack	# disable jack support
 %bcond_without	nas	# diasble nas support
 %bcond_without	sdl	# disable sdl support
+%bcond_without	port	# disable portaudio support
+%bcond_without	pulse	# disable pulseaudio support
 #
 %ifarch pentium3 pentium4 athlon
 %define		with_mmx	1
@@ -40,8 +42,8 @@
 BuildRequires:	libltdl-devel
 BuildRequires:	libtool >= 2:1.5
 %{?with_nas:BuildRequires:	nas-devel}
-BuildRequires:	portaudio-devel >= 18
-BuildRequires:	pulseaudio-devel
+%{?with_port:BuildRequires:	portaudio-devel >= 18}
+%{?with_pulse:BuildRequires:	pulseaudio-devel}
 BuildRequires:	pkgconfig
 Requires:	libmpg123 = %{version}-%{release}
 Suggests:	%{name}-alsa = %{version}-%{release}
@@ -292,13 +294,17 @@
 %attr(755,root,root) %{_libdir}/mpg123/output_nas.so
 %endif
 
+%if %{with port}
 %files portaudio
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/mpg123/output_portaudio.so
+%endif
 
+%if %{with pulse}
 %files pulseaudio
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/mpg123/output_pulse.so
+%endif
 
 %if %{with sdl}
 %files sdl
@@ -329,6 +335,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.92  2008-03-30 19:43:31  agaran
+- {port,pulse}audio may be not wanted too
+
 Revision 1.91  2008-03-09 16:20:06  arekm
 - up to 1.3.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mpg123.spec?r1=1.91&r2=1.92&f=u



More information about the pld-cvs-commit mailing list