From: Ronan Le Martret Date: Tue, 28 Jan 2014 13:41:51 +0000 (+0100) Subject: Allow SDL build into pure wayland profile. X-Git-Tag: accepted/tizen/generic/20140212.193423~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8e327889d7040fa34eef824f62d70ef16fb3218;p=platform%2Fupstream%2FSDL.git Allow SDL build into pure wayland profile. Change-Id: I6e4c68055de5c836769c6e49a1c9bc79854f8b5e Signed-off-by: Ronan Le Martret --- diff --git a/packaging/SDL.spec b/packaging/SDL.spec index 7f2fef9..9cc38af 100644 --- a/packaging/SDL.spec +++ b/packaging/SDL.spec @@ -1,4 +1,5 @@ %define aalib 0 +%bcond_with x Name: SDL Version: 1.2.15 @@ -19,7 +20,9 @@ BuildRequires: nasm BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(glib-2.0) +%if %{with x} BuildRequires: pkgconfig(glu) +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,7 +51,9 @@ Requires: libstdc++-devel Requires: mesa-devel Requires: pkgconfig Requires: pkgconfig(alsa) +%if %{with x} Requires: pkgconfig(glu) +%endif Provides: SDL-devel = %{version} Obsoletes: SDL-devel < %{version}