* This is the gbm frontend used by (for example) weston compositor to load the GLES stack, and retrieve the backing buffer objects behind an eglImage (created with EGL_WAYLAND_BUFFER_WL), etc. The frontend is really just a backend loader and shim. The backend library must be provided by the GLES implementation. * The original libgbm is actually part of mesa but in the TI stack this is implemented as a separate and standalone package hosted at git://git.ti.com/glsdk/libgbm.git
v2: * Cleaned up description and rewrote the commit. Signed-off-by: Mrinmayee Hingolikar <[email protected]> Signed-off-by: Siddharth Heroor <[email protected]> --- recipes-graphics/gbm/libgbm.inc | 10 ++++++++++ recipes-graphics/gbm/libgbm_git.bb | 7 +++++++ 2 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 recipes-graphics/gbm/libgbm.inc create mode 100644 recipes-graphics/gbm/libgbm_git.bb diff --git a/recipes-graphics/gbm/libgbm.inc b/recipes-graphics/gbm/libgbm.inc new file mode 100644 index 0000000..8aad4af --- /dev/null +++ b/recipes-graphics/gbm/libgbm.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Userspace interface for the kernel GBM services." +HOMEPAGE = "http://git.ti.com" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://gbm.c;beginline=1;endline=26;md5=b871c7f2f477df29ee4c0ec437b187f7" +PROVIDES = "gbm" + +inherit autotools pkgconfig + +PACKAGES =+ "${PN}-dev" +FILES_${PN}-dev = "${libdir}/libgbm_*.so.*" diff --git a/recipes-graphics/gbm/libgbm_git.bb b/recipes-graphics/gbm/libgbm_git.bb new file mode 100644 index 0000000..d1fa38d --- /dev/null +++ b/recipes-graphics/gbm/libgbm_git.bb @@ -0,0 +1,7 @@ +require libgbm.inc + +SRC_URI = "git://git.ti.com/glsdk/libgbm.git;protocol=git" + +S = "${WORKDIR}/git" + +SRCREV = "cb86a2f2cecd41023bf1bf12fbcf11be11220f31" -- 1.7.0.4 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
