]> git.pld-linux.org Git - packages/SDL.git/commitdiff
- added bcond_off_esound bcond_off_arts
authorklakier <klakier@pld-linux.org>
Tue, 23 Jan 2001 09:30:30 +0000 (09:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL.spec -> 1.45

SDL.spec

index 5eae49a2c83af918ff1ae3477b6b211f50a90124..d8caa030f47ddf8feab8c275572f221b83f1ed49 100644 (file)
--- 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}
This page took 0.03523 seconds and 4 git commands to generate.