xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/libepoxy/libepoxy_1.5.10.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "OpenGL function pointer management library"
2DESCRIPTION = "It hides the complexity of dlopen(), dlsym(), \
3glXGetProcAddress(), eglGetProcAddress(), etc. from the app developer, with \
4very little knowledge needed on their part. They get to read GL specs and \
5write code using undecorated function names like glCompileShader()."
6HOMEPAGE = "https://github.com/anholt/libepoxy/"
7SECTION = "libs"
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
11
12SRC_URI = "git://github.com/anholt/libepoxy;branch=master;protocol=https"
13SRCREV = "c84bc9459357a40e46e2fec0408d04fbdde2c973"
14S = "${WORKDIR}/git"
15UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases"
16
17inherit meson pkgconfig features_check
18
19REQUIRED_DISTRO_FEATURES = "opengl"
20
21PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl"
22PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no -Dx11=false, virtual/libx11 virtual/libgl"
23PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl"
24
25EXTRA_OEMESON += "-Dtests=false"
26
27PACKAGECONFIG:class-native = "egl x11"
28PACKAGECONFIG:class-nativesdk = "egl x11"
29
30BBCLASSEXTEND = "native nativesdk"
31
32