In IVI platform, some applications still requires cairo_xlib API, though
the decent fix is to fix them in those applications.
To avoid the influcing those build failure, use without_x segment to disable
x build.
Change-Id: I75960e639042b10b0ad498bdeddddbd3c0772c21
%bcond_without cairo_xcb_backend
%bcond_without cairo_gl_backend
%bcond_with wayland
+%bcond_without x
Name: cairo
BuildRequires: pkgconfig(wayland-egl)
%endif
%endif
-%if %{with wayland}
+%if %{without x}
%else
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(x11)
--enable-script \
--enable-svg \
--enable-tee \
-%if %{with wayland}
+%if %{without x}
--disable-xlib \
--disable-xcb \
%else