summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 1f9fbcab7d..5d882b1001 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -114,7 +114,7 @@ do_install_append () {
114# they don't get Debian-renamed (which would remove the -mesa suffix), and 114# they don't get Debian-renamed (which would remove the -mesa suffix), and
115# RPROVIDEs/RCONFLICTs on the generic libgl name. 115# RPROVIDEs/RCONFLICTs on the generic libgl name.
116python __anonymous() { 116python __anonymous() {
117 pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split() 117 pkgconfig = (d.getVar('PACKAGECONFIG') or "").split()
118 for p in (("egl", "libegl", "libegl1"), 118 for p in (("egl", "libegl", "libegl1"),
119 ("dri", "libgl", "libgl1"), 119 ("dri", "libgl", "libgl1"),
120 ("gles", "libgles1", "libglesv1-cm1"), 120 ("gles", "libgles1", "libglesv1-cm1"),
@@ -148,7 +148,7 @@ python mesa_populate_packages() {
148 d.setVar("RREPLACES_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) 148 d.setVar("RREPLACES_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
149 149
150 import re 150 import re
151 dri_drivers_root = oe.path.join(d.getVar('PKGD', True), d.getVar('libdir', True), "dri") 151 dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri")
152 if os.path.isdir(dri_drivers_root): 152 if os.path.isdir(dri_drivers_root):
153 dri_pkgs = os.listdir(dri_drivers_root) 153 dri_pkgs = os.listdir(dri_drivers_root)
154 lib_name = d.expand("${MLPREFIX}mesa-megadriver") 154 lib_name = d.expand("${MLPREFIX}mesa-megadriver")
@@ -160,7 +160,7 @@ python mesa_populate_packages() {
160 d.appendVar("RCONFLICTS_%s" % lib_name, pkg_name) 160 d.appendVar("RCONFLICTS_%s" % lib_name, pkg_name)
161 d.appendVar("RREPLACES_%s" % lib_name, pkg_name) 161 d.appendVar("RREPLACES_%s" % lib_name, pkg_name)
162 162
163 pipe_drivers_root = os.path.join(d.getVar('libdir', True), "gallium-pipe") 163 pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe")
164 do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='') 164 do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
165} 165}
166 166