cairo: enable glesv2 and egl when not building with x11

This commit is contained in:
Lukas Rusak 2019-04-21 10:40:18 -07:00
parent 5c38a4c1df
commit 4eb3579739
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -30,8 +30,7 @@ if [ "$DISPLAYSERVER" = "x11" ]; then
--disable-glesv2 \ --disable-glesv2 \
--disable-egl \ --disable-egl \
--with-x" --with-x"
else
elif [ "$DISPLAYSERVER" = "weston" ]; then
PKG_CAIRO_CONFIG="--disable-xlib \ PKG_CAIRO_CONFIG="--disable-xlib \
--disable-xlib-xrender \ --disable-xlib-xrender \
--disable-gl \ --disable-gl \
@ -39,14 +38,6 @@ elif [ "$DISPLAYSERVER" = "weston" ]; then
--enable-glesv2 \ --enable-glesv2 \
--enable-egl \ --enable-egl \
--without-x" --without-x"
else
PKG_CAIRO_CONFIG="--disable-xlib \
--disable-xlib-xrender \
--disable-gl \
--disable-glx \
--disable-glesv2 \
--disable-egl \
--without-x"
fi fi
PKG_CONFIGURE_OPTS_TARGET="$PKG_CAIRO_CONFIG \ PKG_CONFIGURE_OPTS_TARGET="$PKG_CAIRO_CONFIG \