in wayland profile, giflib did not requires Xorg, remove this dependency.
Change-Id: I96a49223e1c139b25eccbc14860c13d681e248dc
Signed-off-by: wangfei <feix.w.wang@intel.com>
+%bcond_with wayland
+
Name: giflib
Version: 4.1.6
Release: 9
Source1001: giflib.manifest
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(sm)
+%if %{with wayland}
+
+%else
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xv)
+%endif
%description
The giflib package contains a shared library of functions for
cp %{SOURCE1001} .
%build
-%configure
+%configure \
+%if %{with wayland}
+ --disable-x11
+%endif
+
make %{?_smp_mflags} all
MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'`