xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/libepoxy/libepoxy_1.5.10.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "OpenGL function pointer management library"
2*4882a593SmuzhiyunDESCRIPTION = "It hides the complexity of dlopen(), dlsym(), \
3*4882a593SmuzhiyunglXGetProcAddress(), eglGetProcAddress(), etc. from the app developer, with \
4*4882a593Smuzhiyunvery little knowledge needed on their part. They get to read GL specs and \
5*4882a593Smuzhiyunwrite code using undecorated function names like glCompileShader()."
6*4882a593SmuzhiyunHOMEPAGE = "https://github.com/anholt/libepoxy/"
7*4882a593SmuzhiyunSECTION = "libs"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunLICENSE = "MIT"
10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "git://github.com/anholt/libepoxy;branch=master;protocol=https"
13*4882a593SmuzhiyunSRCREV = "c84bc9459357a40e46e2fec0408d04fbdde2c973"
14*4882a593SmuzhiyunS = "${WORKDIR}/git"
15*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyuninherit meson pkgconfig features_check
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "opengl"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunPACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl"
22*4882a593SmuzhiyunPACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no -Dx11=false, virtual/libx11 virtual/libgl"
23*4882a593SmuzhiyunPACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunEXTRA_OEMESON += "-Dtests=false"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunPACKAGECONFIG:class-native = "egl x11"
28*4882a593SmuzhiyunPACKAGECONFIG:class-nativesdk = "egl x11"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
31*4882a593Smuzhiyun
32