Revert "Always enable gl backend." 62/21562/1
authorBoram Park <boram1288.park@samsung.com>
Fri, 23 May 2014 04:16:45 +0000 (13:16 +0900)
committerBoram Park <boram1288.park@samsung.com>
Fri, 23 May 2014 04:17:09 +0000 (13:17 +0900)
This reverts commit 7d3296e1de73df1d3cbd9704ad51e2940e08b542.

Change-Id: Ibac827dd97a3a63d4f2e3277a4ddf3552b59ed72

packaging/cairo.spec

index 308e8b4..720b9c5 100644 (file)
@@ -1,4 +1,5 @@
 %bcond_without cairo_xcb_backend 
+%bcond_without cairo_gl_backend
 %bcond_with wayland
 %bcond_with x
 %bcond_with desktop
@@ -23,6 +24,7 @@ BuildRequires:  pkgconfig(gobject-2.0)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(pixman-1)
 BuildRequires:  which
+%if %{with cairo_gl_backend}
 %if %{with x} && %{with desktop}
 BuildRequires:  pkgconfig(gl)
 %endif
@@ -30,6 +32,7 @@ BuildRequires:  pkgconfig(glesv2)
 %if %{with wayland}
 BuildRequires: pkgconfig(wayland-egl)
 %endif
+%endif
 %if %{with x}
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(x11)
@@ -133,8 +136,10 @@ NOCONFIGURE=1 ./autogen.sh
     --with-pic \
     --enable-fc \
     --enable-ft \
+%if %{with cairo_gl_backend}
     --enable-egl \
     --enable-glesv2=yes \
+%endif
     --enable-ps \
     --enable-pdf \
     --enable-script \