1*220dafdbSAndrew GeisslerDESCRIPTION = "libglvnd is a vendor-neutral dispatch layer for arbitrating \ 2*220dafdbSAndrew GeisslerOpenGL API calls between multiple vendors." 3*220dafdbSAndrew GeisslerHOMEPAGE = "https://gitlab.freedesktop.org/glvnd/libglvnd" 4*220dafdbSAndrew GeisslerLICENSE = "MIT & BSD-1-Clause & BSD-3-Clause & GPL-3.0-with-autoconf-exception" 5*220dafdbSAndrew GeisslerLIC_FILES_CHKSUM = "file://README.md;beginline=323;md5=7ac5f0111f648b92fe5427efeb08e8c4" 6*220dafdbSAndrew Geissler 7*220dafdbSAndrew GeisslerSRC_URI = "git://git@gitlab.freedesktop.org/glvnd/libglvnd.git;protocol=https;branch=master" 8*220dafdbSAndrew Geissler 9*220dafdbSAndrew Geissler# v1.5.0 tag 10*220dafdbSAndrew GeisslerSRCREV = "faa23f21fc677af5792825dc30cb1ccef4bf33a6" 11*220dafdbSAndrew Geissler 12*220dafdbSAndrew GeisslerREQUIRED_DISTRO_FEATURES = "opengl" 13*220dafdbSAndrew Geissler 14*220dafdbSAndrew Geisslerinherit meson pkgconfig features_check 15*220dafdbSAndrew Geissler 16*220dafdbSAndrew GeisslerS = "${WORKDIR}/git" 17*220dafdbSAndrew Geissler 18*220dafdbSAndrew GeisslerPACKAGECONFIG ?= "\ 19*220dafdbSAndrew Geissler ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ 20*220dafdbSAndrew Geissler ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl gles1 gles2', '', d)} \ 21*220dafdbSAndrew Geissler ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \ 22*220dafdbSAndrew Geissler " 23*220dafdbSAndrew Geissler 24*220dafdbSAndrew GeisslerPACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libx11 libxext xorgproto" 25*220dafdbSAndrew GeisslerPACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,libx11 libxext xorgproto" 26*220dafdbSAndrew GeisslerPACKAGECONFIG[egl] = "-Degl=true,-Degl=false," 27*220dafdbSAndrew GeisslerPACKAGECONFIG[gles1] = "-Dgles1=true,-Dgles1=false," 28*220dafdbSAndrew GeisslerPACKAGECONFIG[gles2] = "-Dgles2=true,-Dgles2=false," 29*220dafdbSAndrew Geissler 30*220dafdbSAndrew GeisslerBBCLASSEXTEND = "native nativesdk" 31