Skip to contentSkip to conversation

gbm: Add TI staging tree

PATCH Superseded Siddharth Heroor 2 participants 2 messages Jul 1, 2013

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gbm: Add TI staging tree

* 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.

---
 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
recipes-graphics/gbm/libgbm.inc new file +10 -0
new file mode 100644
index 0000000..8aad4af
@@ -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.*"
recipes-graphics/gbm/libgbm_git.bb new file +7 -0
new file mode 100644
index 0000000..d1fa38d
@@ -0,0 +1,7 @@
+require libgbm.inc
+
+SRC_URI = "git://git.ti.com/glsdk/libgbm.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+SRCREV = "cb86a2f2cecd41023bf1bf12fbcf11be11220f31"
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 10 lines · Siddharth Heroor

* 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

Quoted 2 lines

v2:
* Cleaned up description and rewrote the commit.

Please ignore this patch. I'm testing with a fresh patchset where we explicitly call the recipe as libgbm-glsdk to avoid confusion. We will set PREFERRED_PROVIDER etc.. in the glsdk branding.

Sorry for the spam.

Quoted 40 lines
---
 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
recipes-graphics/gbm/libgbm.inc new file +10 -0
new file mode 100644
index 0000000..8aad4af
@@ -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.*"
recipes-graphics/gbm/libgbm_git.bb new file +7 -0
new file mode 100644
index 0000000..d1fa38d
@@ -0,0 +1,7 @@
+require libgbm.inc
+
+SRC_URI = "git://git.ti.com/glsdk/libgbm.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+SRCREV = "cb86a2f2cecd41023bf1bf12fbcf11be11220f31"