From 43ee9b20548cd54a6aa3d32aee218a7d29c72766 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Jul 26 2013 11:42:28 +0000 Subject: Add NAS support --- 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 - 1.2.15-10 - Add esound and arts support (bug #851349) +- Add NAS support * Wed Jun 19 2013 Petr Pisar - 1.2.15-9 - Add sdl-config(1) manual page (bug #948864)