From: klakier Date: Tue, 23 Jan 2001 09:30:30 +0000 (+0000) Subject: - added bcond_off_esound bcond_off_arts X-Git-Tag: SDL-1_1_8-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2FSDL.git;a=commitdiff_plain;h=95d206749d44fb14053503c456b025234371157b - added bcond_off_esound bcond_off_arts Changed files: SDL.spec -> 1.45 --- diff --git a/SDL.spec b/SDL.spec index 5eae49a..d8caa03 100644 --- a/SDL.spec +++ b/SDL.spec @@ -1,6 +1,8 @@ # # Conditional build: # bcond_off_alsa - without ALSA support +# bcond_off_esound - without esound support +# bcond_off_arts - without arts support # bcond_on_svgalib - with svgalib support # bcond_on_aalib - with aalib support # @@ -15,8 +17,8 @@ Group(pl): X11/Biblioteki Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz Patch0: SDL-svga.patch URL: http://www.libsdl.org/ -BuildRequires: esound-devel -BuildRequires: arts-devel +%{!?bcond_off_esound:BuildRequires: esound-devel} +%{!?bcond_off_arts:BuildRequires: arts-devel} BuildRequires: gtk+-devel >= 1.2.1 BuildRequires: XFree86-devel BuildRequires: OpenGL-devel @@ -87,8 +89,8 @@ SDL - biblioteki statyczne. --enable-video-x11-dga \ --enable-video-x11-mtrr \ --enable-video-x11-dgamouse \ - --enable-esd \ - --enable-arts \ + %{!?bcond_off_esound:--enable-esd} \ + %{!?bcond_off_arts:--enable-arts} \ --disable-alsa \ %{?bcond_on_svga:--enable-video-svga} \ %{?bcond_on_aalib:--enable-video-aalib}