packages: allegro/allegro.spec - pass alsa bcond as cmake option

qboosh qboosh at pld-linux.org
Fri Aug 12 20:39:38 CEST 2011


Author: qboosh                       Date: Fri Aug 12 18:39:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pass alsa bcond as cmake option

---- Files affected:
packages/allegro:
   allegro.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: packages/allegro/allegro.spec
diff -u packages/allegro/allegro.spec:1.90 packages/allegro/allegro.spec:1.91
--- packages/allegro/allegro.spec:1.90	Tue Aug  9 13:17:14 2011
+++ packages/allegro/allegro.spec	Fri Aug 12 20:39:33 2011
@@ -29,7 +29,7 @@
 URL:		http://alleg.sourceforge.net/
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
-%{?with_alsa:BuildRequires:	alsa-lib-devel}
+%{?with_alsa:BuildRequires:	alsa-lib-devel >= 0.9}
 BuildRequires:	cmake >= 2.6
 BuildRequires:	jack-audio-connection-kit-devel
 BuildRequires:	libogg-devel
@@ -349,9 +349,10 @@
 %cmake .. \
 	-DINFODIR=%{_infodir} \
 	-DPLATFORM_LIBS=-ldl \
-	-DWANT_LINUX_CONSOLE=1 \
-	%{!?with_vga:-DWANT_LINUX_VGA=off} \
-	%{!?with_svga:-DWANT_LINUX_SVGALIB=off}
+	%{!?with_alsa:-DWANT_ALSA=OFF} \
+	-DWANT_LINUX_CONSOLE=ON \
+	%{!?with_vga:-DWANT_LINUX_VGA=OFF} \
+	%{!?with_svga:-DWANT_LINUX_SVGALIB=OFF}
 
 %{__make}
 
@@ -562,6 +563,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2011/08/12 18:39:33  qboosh
+- pass alsa bcond as cmake option
+
 Revision 1.90  2011/08/09 11:17:14  lisu
 - updated to 4.4.2
 - use %%{version} in paths
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/allegro/allegro.spec?r1=1.90&r2=1.91&f=u



More information about the pld-cvs-commit mailing list