]> git.pld-linux.org Git - packages/SDL.git/commitdiff
- new bcond: xlibs
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 6 Mar 2004 01:30:24 +0000 (01:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL.spec -> 1.126

SDL.spec

index 8efefb7a79eb93b8953fa780713862719d5b35bd..835fd6375a7e006ecac57fc0bf426cfd5f72ae19 100644 (file)
--- a/SDL.spec
+++ b/SDL.spec
@@ -9,6 +9,7 @@
 %bcond_without alsa            # without ALSA audio support
 %bcond_without arts            # without aRts audio support
 %bcond_without esd             # without EsounD audio support
+%bcond_without xlibs
 #
 Summary:       SDL (Simple DirectMedia Layer) - Game/Multimedia Library
 Summary(es):   Simple DirectMedia Layer
@@ -34,7 +35,13 @@ Patch6:              %{name}-gcc34.patch
 URL:           http://www.libsdl.org/
 %{?with_directfb:BuildRequires:        DirectFB-devel >= 0.9.15}
 BuildRequires: OpenGL-devel
-#BuildRequires:        XFree86-devel >= 4.0.2
+%if %{with xlibs}
+BuildRequires: libX11-devel
+BuildRequires: libXext-devel
+BuildRequires: libXau-devel
+%else
+BuildRequires: XFree86-devel >= 4.0.2
+%endif
 %{?with_aalib:BuildRequires:   aalib-devel}
 %{?with_alsa:BuildRequires:    alsa-lib-devel >= 0.9.0}
 %{?with_arts:BuildRequires:    artsc-devel >= 1.1}
@@ -82,7 +89,7 @@ Summary(uk):  
 Summary(zh_CN):        SDL (Simple DirectMedia Layer) ¿ª·¢¿â
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      XFree86-devel >= 4.0.2
+#Requires:     XFree86-devel >= 4.0.2
 %{?with_alsa:Requires: alsa-lib-devel}
 %{?with_caca:Requires: libcaca-devel}
 %{?with_nas:Requires:  nas-devel}
This page took 0.06838 seconds and 4 git commands to generate.