[SDL] Add NAS support

Petr Pisar ppisar at fedoraproject.org
Fri Jul 26 11:54:45 UTC 2013


commit 43ee9b20548cd54a6aa3d32aee218a7d29c72766
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jul 26 13:42:28 2013 +0200

    Add NAS support

 SDL.spec |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/SDL.spec b/SDL.spec
index 6e677f4..a45805f 100644
--- a/SDL.spec
+++ b/SDL.spec
@@ -1,9 +1,11 @@
 %if 0%{?rhel}
 %bcond_with arts
 %bcond_with esound
+%bcond_with nas
 %else
 %bcond_without arts
 %bcond_without esound
+%bcond_without nas
 %endif
 
 Name:       SDL
@@ -45,6 +47,9 @@ BuildRequires:  libXext-devel
 BuildRequires:  libX11-devel
 BuildRequires:  libXrandr-devel
 BuildRequires:  libXrender-devel
+%if %{with nas}
+BuildRequires:  nas-devel
+%endif
 BuildRequires:  pulseaudio-libs-devel
 %ifarch %{ix86}
 BuildRequires:  nasm
@@ -125,6 +130,11 @@ autoconf
 %else
     --disable-esd \
 %endif
+%if %{with esound}
+    --enable-nas-shared \
+%else
+    --disable-nas \
+%endif
     --enable-pulseaudio-shared \
     --enable-alsa \
     --disable-video-ps3 \
@@ -166,6 +176,7 @@ rm -f %{buildroot}%{_libdir}/*.la
 %changelog
 * Fri Jul 26 2013 Petr Pisar <ppisar at redhat.com> - 1.2.15-10
 - Add esound and arts support (bug #851349)
+- Add NAS support
 
 * Wed Jun 19 2013 Petr Pisar <ppisar at redhat.com> - 1.2.15-9
 - Add sdl-config(1) manual page (bug #948864)


More information about the scm-commits mailing list