From f74c0eb8cdb69aac5310acfa09a8e462c3796e9f Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 12 Aug 2011 18:39:33 +0000 Subject: [PATCH] - pass alsa bcond as cmake option Changed files: allegro.spec -> 1.91 --- allegro.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/allegro.spec b/allegro.spec index 38b6a9e..24a1d8e 100644 --- a/allegro.spec +++ b/allegro.spec @@ -28,7 +28,7 @@ Patch1: %{name}-config.patch 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 @@ -348,9 +348,10 @@ cd build %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} -- 2.43.0