Date: Wed, 27 May 2020 07:41:41 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536673 - in head/graphics: . libglvnd mesa-libs Message-ID: <202005270741.04R7ffj7059945@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed May 27 07:41:40 2020 New Revision: 536673 URL: https://svnweb.freebsd.org/changeset/ports/536673 Log: graphics/libglvnd: add new port Submitted by: Greg V <greg@unrelenting.technology> libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors. It allows multiple drivers from different vendors to coexist on the same filesystem, and determines which vendor to dispatch each API call to at runtime. Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES. https://gitlab.freedesktop.org/glvnd/libglvnd Added: head/graphics/libglvnd/ head/graphics/libglvnd/Makefile (contents, props changed) head/graphics/libglvnd/distinfo (contents, props changed) head/graphics/libglvnd/pkg-descr (contents, props changed) head/graphics/libglvnd/pkg-plist (contents, props changed) Modified: head/graphics/Makefile (contents, props changed) head/graphics/mesa-libs/Makefile (contents, props changed) Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Wed May 27 07:24:32 2020 (r536672) +++ head/graphics/Makefile Wed May 27 07:41:40 2020 (r536673) @@ -441,6 +441,7 @@ SUBDIR += libgfx SUBDIR += libgltext SUBDIR += libgltf + SUBDIR += libglvnd SUBDIR += libgnomecanvas SUBDIR += libgnomecanvas-reference SUBDIR += libgnomecanvasmm26 Added: head/graphics/libglvnd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/Makefile Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= libglvnd +DISTVERSION= 1.3.1 +CATEGORIES= graphics + +MAINTAINER= greg@unrelenting.technology +COMMENT= GL Vendor-Neutral Dispatch library + +LICENSE= APACHE20 MIT +LICENSE_COMB= multi + +CONFLICTS_INSTALL= mesa-libs # include/GL/gl.h + +USES= compiler:c++11-lib localbase meson pkgconfig +USE_LDCONFIG= yes + +USE_GITLAB= yes +GL_SITE= https://gitlab.freedesktop.org +GL_ACCOUNT= glvnd +GL_COMMIT= 1c32de07074fee8edcb274899948b6551081ed54 + +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT=X11 +OPTIONS_SUB= yes + +X11_USES= xorg +X11_USE= XORG=x11,xext,xorgproto +X11_MESON_ENABLED= x11 glx + +# Lots of software expects gl.pc even when it can build with EGL only +post-install-X11-off: + ${LN} -s opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc + ${REINPLACE_CMD} -e '/Cflags:/s/$$/ -DEGL_NO_X11/' \ + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/egl.pc + +.include <bsd.port.mk> Added: head/graphics/libglvnd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/distinfo Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,3 @@ +TIMESTAMP = 1582320527 +SHA256 (glvnd-libglvnd-1c32de07074fee8edcb274899948b6551081ed54_GL0.tar.gz) = 2a33254c697d1a74f9637ab0427281604b93a4fc1f9e6ff60ba8e1fd5ea5ff52 +SIZE (glvnd-libglvnd-1c32de07074fee8edcb274899948b6551081ed54_GL0.tar.gz) = 1031605 Added: head/graphics/libglvnd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/pkg-descr Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,8 @@ +libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls +between multiple vendors. It allows multiple drivers from different vendors to +coexist on the same filesystem, and determines which vendor to dispatch each +API call to at runtime. + +Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES. + +WWW: https://gitlab.freedesktop.org/glvnd/libglvnd Added: head/graphics/libglvnd/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/pkg-plist Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,52 @@ +include/EGL/egl.h +include/EGL/eglext.h +include/EGL/eglplatform.h +include/GL/gl.h +include/GL/glcorearb.h +include/GL/glext.h +%%X11%%include/GL/glx.h +%%X11%%include/GL/glxext.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 +include/GLES3/gl3.h +include/GLES3/gl31.h +include/GLES3/gl32.h +include/GLES3/gl3ext.h +include/GLES3/gl3platform.h +include/KHR/khrplatform.h +include/glvnd/GLdispatchABI.h +include/glvnd/libeglabi.h +include/glvnd/libglxabi.h +lib/libEGL.so +lib/libEGL.so.1 +lib/libEGL.so.1.1.0 +%%X11%%lib/libGL.so +%%X11%%lib/libGL.so.1 +%%X11%%lib/libGL.so.1.7.0 +lib/libGLESv1_CM.so +lib/libGLESv1_CM.so.1 +lib/libGLESv1_CM.so.1.2.0 +lib/libGLESv2.so +lib/libGLESv2.so.2 +lib/libGLESv2.so.2.1.0 +%%X11%%lib/libGLX.so +%%X11%%lib/libGLX.so.0 +%%X11%%lib/libGLX.so.0.0.0 +lib/libGLdispatch.so +lib/libGLdispatch.so.0 +lib/libGLdispatch.so.0.0.0 +lib/libOpenGL.so +lib/libOpenGL.so.0 +lib/libOpenGL.so.0.0.0 +libdata/pkgconfig/egl.pc +libdata/pkgconfig/gl.pc +libdata/pkgconfig/glesv1_cm.pc +libdata/pkgconfig/glesv2.pc +%%X11%%libdata/pkgconfig/glx.pc +libdata/pkgconfig/libglvnd.pc +libdata/pkgconfig/opengl.pc Modified: head/graphics/mesa-libs/Makefile ============================================================================== --- head/graphics/mesa-libs/Makefile Wed May 27 07:24:32 2020 (r536672) +++ head/graphics/mesa-libs/Makefile Wed May 27 07:41:40 2020 (r536673) @@ -7,6 +7,8 @@ CATEGORIES= graphics COMMENT= OpenGL libraries that support GLX and EGL clients +CONFLICTS_INSTALL= libglvnd # include/GL/gl.h + USES= xorg USE_XORG= xorgproto x11 xcb xdamage xext \ xfixes xshmfence xxf86vm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005270741.04R7ffj7059945>