]> git.pld-linux.org Git - packages/SDL.git/commitdiff
- with nas bcond
authoradgor <adgor@pld-linux.org>
Sat, 15 Feb 2003 14:34:55 +0000 (14:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL.spec -> 1.104

SDL.spec

index 0c2104d3933a63a8e9df24a75b1eae9889ce2b80..24637915b1d859956a94aea0d03502db51132cac 100644 (file)
--- a/SDL.spec
+++ b/SDL.spec
@@ -1,11 +1,13 @@
 #
 # Conditional build:
-# _without_alsa - without ALSA support
-# _without_esound - without esound support
-# _without_arts - without arts support
-# _with_svga - with svgalib support
 # _with_aalib - with aalib support
 # _with_ggi - with GGI support
+# _with_nas - with NAS audio support
+# _with_svga - with svgalib support
+#
+# _without_alsa - without ALSA support
+# _without_arts - without arts support
+# _without_esound - without esound support
 #
 %ifarch        alpha
 %define _without_arts 1
@@ -44,7 +46,7 @@ BuildRequires:        automake
 %{!?_without_esound:BuildRequires:     esound-devel}
 %{?_with_ggi:BuildRequires:    libggi-devel}
 BuildRequires: libtool
-BuildRequires: nas-devel
+%{?_with_nas:BuildRequires:    nas-devel}
 %ifarch %{ix86}
 BuildRequires: nasm
 %endif
@@ -87,7 +89,7 @@ Requires:     XFree86-devel >= 4.0.2
 %endif
 %{!?_without_arts:Requires:    arts-devel}
 %{!?_without_esound:Requires:  esound-devel}
-Requires:      nas-devel
+%{?_with_nas:Requires: nas-devel}
 
 %description devel
 SDL - Header files.
@@ -178,9 +180,10 @@ SED=sed ; export SED
        --enable-video-x11-xv \
        --enable-video-opengl \
        --enable-video-fbcon \
-       %{?_with_svga:--enable-video-svga} \
        %{?_with_aalib:--enable-video-aalib} \
        %{?_with_ggi:--enable-video-ggi} \
+       %{!?_with_nas:--disable-nas} \
+       %{?_with_svga:--enable-video-svga} \
 %ifnarch sparc sparc64
        %{!?_without_alsa:--enable-alsa} \
 %endif
This page took 0.096847 seconds and 4 git commands to generate.