mesa: enable glx via xlib

Currently, this is only way to provide GLX api without actually
having GLX extension on X display.
This commit is contained in:
Leonid Pliushch 2018-10-27 21:05:00 +03:00 committed by Yaksh Bariya
parent 6d82ee1b96
commit 424a70663a
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@ TERMUX_PKG_HOMEPAGE=https://www.mesa3d.org
TERMUX_PKG_DESCRIPTION="An open-source implementation of the OpenGL specification"
## Use 17.3.x branch because 18.x.x requires 'pthread_barrier_t'.
TERMUX_PKG_VERSION=17.3.9
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://mesa.freedesktop.org/archive/mesa-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=c5beb5fc05f0e0c294fefe1a393ee118cb67e27a4dca417d77c297f7d4b6e479
@ -20,8 +20,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-egl
--disable-gles1
--disable-gles2
--enable-dri3
--enable-glx=dri
--disable-dri
--disable-dri3
--enable-glx=xlib
--with-platforms=x11
--without-dri-drivers
--without-gallium-drivers