summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index fede691d6f..bb43a9a8b6 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -212,18 +212,20 @@ python __anonymous() {
212 ("gles", "libgles3",)): 212 ("gles", "libgles3",)):
213 if not p[0] in pkgconfig: 213 if not p[0] in pkgconfig:
214 continue 214 continue
215 fullp = p[1] + "-mesa" 215 mlprefix = d.getVar("MLPREFIX")
216 pkgs = " ".join(p[1:]) 216 fullp = mlprefix + p[1] + "-mesa"
217 mlprefix = d.getVar("MLPREFIX")
218 pkgs = " ".join(mlprefix + x for x in p[1:])
217 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") 219 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
218 d.appendVar("RREPLACES_" + fullp, pkgs) 220 d.appendVar("RREPLACES_" + fullp, pkgs)
219 d.appendVar("RPROVIDES_" + fullp, pkgs) 221 d.appendVar("RPROVIDES_" + fullp, pkgs)
220 d.appendVar("RCONFLICTS_" + fullp, pkgs) 222 d.appendVar("RCONFLICTS_" + fullp, pkgs)
221 223
222 d.appendVar("RRECOMMENDS_" + fullp, " mesa-megadriver") 224 d.appendVar("RRECOMMENDS_" + fullp, " ${MLPREFIX}mesa-megadriver")
223 225
224 # For -dev, the first element is both the Debian and original name 226 # For -dev, the first element is both the Debian and original name
225 fullp += "-dev" 227 fullp += "-dev"
226 pkgs = p[1] + "-dev" 228 pkgs = mlprefix + p[1] + "-dev"
227 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") 229 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
228 d.appendVar("RREPLACES_" + fullp, pkgs) 230 d.appendVar("RREPLACES_" + fullp, pkgs)
229 d.appendVar("RPROVIDES_" + fullp, pkgs) 231 d.appendVar("RPROVIDES_" + fullp, pkgs)