cairo: also enable gles2 option by default for x86.

This commit is contained in:
Juan RP 2013-04-05 20:29:19 +02:00
parent d1499915cd
commit f8f27f4289
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Template build file for 'cairo'. # Template build file for 'cairo'.
pkgname=cairo pkgname=cairo
version=1.12.14 version=1.12.14
revision=4 revision=5
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-tee" configure_args="--disable-static --enable-tee"
subpackages="$pkgname-devel" subpackages="$pkgname-devel"

View file

@ -3,9 +3,9 @@ build_options="opengl gles2"
desc_option_opengl="Enable support for building the OpenGL surface backend" desc_option_opengl="Enable support for building the OpenGL surface backend"
desc_option_gles2="Enable support for building the GLESv2 surface backend" desc_option_gles2="Enable support for building the GLESv2 surface backend"
# Enable gl by default on x86. # Enable opengl and gles2 by default on x86.
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
build_options_default="opengl" build_options_default="opengl gles2"
fi fi
do_options() { do_options() {