mesa-libs: Add glesv1 lib

There is no real reason to disable glesv1 so add it to the build.
While here add a USE_GL for it.

Reviewed by:	zeising
Approved by:	x11 (zeising@)
Differential Revision:	https://reviews.freebsd.org/D26461
This commit is contained in:
Emmanuel Vadot 2020-09-19 09:34:36 +00:00
parent a55db457da
commit 19c76400cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548950
5 changed files with 13 additions and 6 deletions

View File

@ -4,7 +4,7 @@
#
# Feature: gl
# Usage: USES=gl
# USE_GL=egl gbm gl glesv2 glew glu glut
# USE_GL=egl gbm gl glesv1 glesv2 glew glu glut
#
# USE_GL specifies which GL components to add as dependencies.
# Not specifying USE_GL with USES=gl is an error.
@ -19,6 +19,7 @@ _GL_egl_LIB_DEPENDS= libEGL.so:graphics/mesa-libs
_GL_gbm_LIB_DEPENDS= libgbm.so:graphics/mesa-libs
_GL_gl_LIB_DEPENDS= libGL.so:graphics/mesa-libs
_GL_gl_USE_XORG= xorgproto
_GL_glesv1_LIB_DEPENDS= libGLESv1_CM.so:graphics/mesa-libs
_GL_glesv2_LIB_DEPENDS= libGLESv2.so:graphics/mesa-libs
_GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew
_GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU

View File

@ -3,7 +3,7 @@
PORTNAME= libxatracker
PORTVERSION= ${MESAVERSION}
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
COMMENT= Mesa XA state tracker
@ -28,6 +28,7 @@ MESON_ARGS+= -Ddri-drivers="" \
-Dgallium-nine=false \
-Degl=false \
-Dgbm=false \
-Dgles1=false \
-Dgles2=false \
-Dglx=disabled \
-Dopengl=false \

View File

@ -106,6 +106,3 @@ MESON_ARGS+= --native-file="${WRKSRC}/llvm.ini"
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib
MESON_ARGS+= -Dllvm=true
# we don't care about GLes v1
MESON_ARGS+= -Dgles1=false

View File

@ -3,7 +3,7 @@
PORTNAME= mesa-libs
PORTVERSION= ${MESAVERSION}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
COMMENT= OpenGL libraries that support GLX and EGL clients

View File

@ -11,6 +11,10 @@ include/GL/glext.h
%%GLX%%include/GL/glx_mangle.h
%%GLX%%include/GL/glxext.h
@comment include/GL/internal/dri_interface.h
include/GLES/egl.h
include/GLES/gl.h
include/GLES/glext.h
include/GLES/glplatform.h
include/GLES2/gl2.h
include/GLES2/gl2ext.h
include/GLES2/gl2platform.h
@ -28,6 +32,9 @@ lib/libEGL.so.1.0.0
%%GLX%%lib/libGL.so
%%GLX%%lib/libGL.so.1
%%GLX%%lib/libGL.so.1.2.0
lib/libGLESv1_CM.so
lib/libGLESv1_CM.so.1
lib/libGLESv1_CM.so.1.1.0
lib/libGLESv2.so
lib/libGLESv2.so.2
lib/libGLESv2.so.2.0.0
@ -41,5 +48,6 @@ lib/libglapi.so.0.0.0
libdata/pkgconfig/egl.pc
libdata/pkgconfig/gbm.pc
%%GLX%%libdata/pkgconfig/gl.pc
libdata/pkgconfig/glesv1_cm.pc
libdata/pkgconfig/glesv2.pc
@comment share/drirc.d/00-mesa-defaults.conf