diff options
| author | Vincent Davis Jr <vince@underview.tech> | 2022-10-24 01:22:28 -0500 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-10-24 09:56:33 -0700 |
| commit | 09dc7c7806771d5d9d5d0ffd095c834913c92b2f (patch) | |
| tree | eaefdd36dd7d2224fe6577c46db93464e821e8c3 | |
| parent | 6a0ea55c1aa00ad95513855c384d097412ac6143 (diff) | |
| download | meta-openembedded-09dc7c7806771d5d9d5d0ffd095c834913c92b2f.tar.gz | |
libglvnd: add new recipe libglvnd v1.5.0
This recipe is meant to be an optional dependency of mesa.
This recipe will allow for glvnd support in mesa. Thus,
giving access to the GLX window-system API library and
related libraries, mesa will build libGLX_mesa.so.*.*
and libEGL_mesa.so.*.* or whatever specified in
-Dglvnd-vendor-name. There may be applications that require
direct access to the GLX window-system API library in order
to build/execute. This will allow for multiple layers to
have generic support for libraries in libglvnd
(GLX window-system API library, etc...) without needing to
implement their own version of the libglvnd recipe.
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/libglvnd/libglvnd_1.5.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libglvnd/libglvnd_1.5.0.bb b/meta-oe/recipes-graphics/libglvnd/libglvnd_1.5.0.bb new file mode 100644 index 0000000000..b92bad46e0 --- /dev/null +++ b/meta-oe/recipes-graphics/libglvnd/libglvnd_1.5.0.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | DESCRIPTION = "libglvnd is a vendor-neutral dispatch layer for arbitrating \ | ||
| 2 | OpenGL API calls between multiple vendors." | ||
| 3 | HOMEPAGE = "https://gitlab.freedesktop.org/glvnd/libglvnd" | ||
| 4 | LICENSE = "MIT & BSD-1-Clause & BSD-3-Clause & GPL-3.0-with-autoconf-exception" | ||
| 5 | LIC_FILES_CHKSUM = "file://README.md;beginline=323;md5=7ac5f0111f648b92fe5427efeb08e8c4" | ||
| 6 | |||
| 7 | SRC_URI = "git://git@gitlab.freedesktop.org/glvnd/libglvnd.git;protocol=https;branch=master" | ||
| 8 | |||
| 9 | # v1.5.0 tag | ||
| 10 | SRCREV = "c7cdf0cc4395b57563294d1f340b6bb1b95366a0" | ||
| 11 | |||
| 12 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
| 13 | |||
| 14 | inherit meson pkgconfig features_check | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | PACKAGECONFIG ?= "\ | ||
| 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
| 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl gles1 gles2', '', d)} \ | ||
| 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \ | ||
| 22 | " | ||
| 23 | |||
| 24 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libx11 libxext xorgproto" | ||
| 25 | PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,libx11 libxext xorgproto" | ||
| 26 | PACKAGECONFIG[egl] = "-Degl=true,-Degl=false," | ||
| 27 | PACKAGECONFIG[gles1] = "-Dgles1=true,-Dgles1=false," | ||
| 28 | PACKAGECONFIG[gles2] = "-Dgles2=true,-Dgles2=false," | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | ||
