xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/glslang/glslang_1.3.204.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "OpenGL / OpenGL ES Reference Compiler"
2*4882a593SmuzhiyunDESCRIPTION = "Glslang is the official reference compiler front end for the \
3*4882a593SmuzhiyunOpenGL ES and OpenGL shading languages. It implements a strict interpretation \
4*4882a593Smuzhiyunof the specifications for these languages. It is open and free for anyone to use, \
5*4882a593Smuzhiyuneither from a command line or programmatically."
6*4882a593SmuzhiyunSECTION = "graphics"
7*4882a593SmuzhiyunHOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler"
8*4882a593SmuzhiyunLICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception"
9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRCREV = "2742e959347ae2fac58acd0d022c92a0ff1f24bf"
12*4882a593SmuzhiyunSRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main \
13*4882a593Smuzhiyun           file://0001-generate-glslang-pkg-config.patch"
14*4882a593SmuzhiyunPE = "1"
15*4882a593SmuzhiyunUPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
16*4882a593SmuzhiyunS = "${WORKDIR}/git"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyuninherit cmake python3native
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunEXTRA_OECMAKE = " \
21*4882a593Smuzhiyun    -DCMAKE_BUILD_TYPE=Release \
22*4882a593Smuzhiyun    -DBUILD_SHARED_LIBS=ON \
23*4882a593Smuzhiyun    -DENABLE_PCH=OFF \
24*4882a593Smuzhiyun    -DENABLE_CTEST=OFF \
25*4882a593Smuzhiyun    -DBUILD_EXTERNAL=OFF \
26*4882a593Smuzhiyun"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunSOLIBSDEV = "glslang.so"
29*4882a593Smuzhiyun# all the other libraries are unversioned, so pack it on PN
30*4882a593SmuzhiyunFILES:${PN} += "${libdir}/*.so"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
33