[meta-ti] [meta-ti 1/2] mesa: add appends to avoid providing conflicts
Andreas Müller
schnitzeltony at googlemail.com
Tue Sep 4 09:20:57 PDT 2012
For libgles-omap3 compatible machines mesa should only provide libgl.
Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 1 +
recipes-graphics/mesa/mesa-dri_git.bbappend | 1 +
recipes-graphics/mesa/mesa-omap3-common.inc | 7 +++++++
recipes-graphics/mesa/mesa-xlib_8.0.4.bbappend | 1 +
recipes-graphics/mesa/mesa-xlib_git.bbappend | 1 +
5 files changed, 11 insertions(+), 0 deletions(-)
create mode 100644 recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
create mode 100644 recipes-graphics/mesa/mesa-dri_git.bbappend
create mode 100644 recipes-graphics/mesa/mesa-omap3-common.inc
create mode 100644 recipes-graphics/mesa/mesa-xlib_8.0.4.bbappend
create mode 100644 recipes-graphics/mesa/mesa-xlib_git.bbappend
diff --git a/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend b/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
new file mode 100644
index 0000000..164ec1b
--- /dev/null
+++ b/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
@@ -0,0 +1 @@
+require mesa-omap3-common.inc
diff --git a/recipes-graphics/mesa/mesa-dri_git.bbappend b/recipes-graphics/mesa/mesa-dri_git.bbappend
new file mode 100644
index 0000000..164ec1b
--- /dev/null
+++ b/recipes-graphics/mesa/mesa-dri_git.bbappend
@@ -0,0 +1 @@
+require mesa-omap3-common.inc
diff --git a/recipes-graphics/mesa/mesa-omap3-common.inc b/recipes-graphics/mesa/mesa-omap3-common.inc
new file mode 100644
index 0000000..0340770
--- /dev/null
+++ b/recipes-graphics/mesa/mesa-omap3-common.inc
@@ -0,0 +1,7 @@
+PRINC := "${@int(PRINC) + 1}"
+
+# avoid providing conflicts for libgles-omap3 compatibles
+PROVIDES_omap3 = "virtual/libgl"
+PROVIDES_ti814x = "virtual/libgl"
+PROVIDES_ti816x = "virtual/libgl"
+PROVIDES_ti33x = "virtual/libgl"
diff --git a/recipes-graphics/mesa/mesa-xlib_8.0.4.bbappend b/recipes-graphics/mesa/mesa-xlib_8.0.4.bbappend
new file mode 100644
index 0000000..164ec1b
--- /dev/null
+++ b/recipes-graphics/mesa/mesa-xlib_8.0.4.bbappend
@@ -0,0 +1 @@
+require mesa-omap3-common.inc
diff --git a/recipes-graphics/mesa/mesa-xlib_git.bbappend b/recipes-graphics/mesa/mesa-xlib_git.bbappend
new file mode 100644
index 0000000..164ec1b
--- /dev/null
+++ b/recipes-graphics/mesa/mesa-xlib_git.bbappend
@@ -0,0 +1 @@
+require mesa-omap3-common.inc
--
1.7.6.5
More information about the meta-ti
mailing list