userland: Define PROJECT_APIVER and rprovide libgles2 libgl

These are needed for pkgconfig to have correct version number which is
checked by many configure systems e.g. cogl to decide on support for
wayland-egl

rprovides are expected by cogl as well to define runtime deps on
libgles2 and libgl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2016-02-03 20:33:34 -08:00
committed by Andrei Gherzan
parent 507ab2682b
commit 34cb837929
2 changed files with 36 additions and 0 deletions
@@ -10,6 +10,8 @@ PR = "r5"
PROVIDES = "virtual/libgles2 \
virtual/egl"
RPROVIDES_${PN} += "libgles2 libgl"
COMPATIBLE_MACHINE = "raspberrypi"
SRCBRANCH = "master"
@@ -33,6 +35,7 @@ SRC_URI = "\
file://0013-zero-out-wl-buffers-in-egl_surface_free.patch \
file://0014-initialize-front-back-wayland-buffers.patch \
file://0015-Remove-RPC_FLUSH.patch \
file://0016-define-PROJECT_APIVER.patch \
"
S = "${WORKDIR}/git"