From c8e327889d7040fa34eef824f62d70ef16fb3218 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 28 Jan 2014 14:41:51 +0100 Subject: [PATCH] Allow SDL build into pure wayland profile. Change-Id: I6e4c68055de5c836769c6e49a1c9bc79854f8b5e Signed-off-by: Ronan Le Martret --- packaging/SDL.spec | 5 +++++ 1 file changed, 5 insertions(+) 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} -- 2.7.4