summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/mesa/mesa.bb11
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc10
2 files changed, 11 insertions, 10 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.bb b/meta/recipes-graphics/mesa/mesa.bb
index 305b18070d..51d0384ef5 100644
--- a/meta/recipes-graphics/mesa/mesa.bb
+++ b/meta/recipes-graphics/mesa/mesa.bb
@@ -12,3 +12,14 @@ PACKAGECONFIG:append:x86 = " libclc gallium-llvm intel amd nouveau svga"
12PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" 12PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga"
13PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" 13PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga"
14PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" 14PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga"
15
16GLPROVIDES = " \
17 ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
18 ${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2 virtual/libgles3', '', d)} \
19 ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
20"
21PROVIDES = " \
22 ${@bb.utils.contains('PACKAGECONFIG', 'glvnd', '', d.getVar('GLPROVIDES'), d)} \
23 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \
24 virtual/mesa \
25"
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 387f954789..46fe465cd8 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -40,16 +40,6 @@ do_install:append() {
40 40
41DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native python3-mako-native gettext-native python3-pyyaml-native" 41DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native python3-mako-native gettext-native python3-pyyaml-native"
42EXTRANATIVEPATH += "chrpath-native" 42EXTRANATIVEPATH += "chrpath-native"
43GLPROVIDES = " \
44 ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
45 ${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2 virtual/libgles3', '', d)} \
46 ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
47"
48PROVIDES = " \
49 ${@bb.utils.contains('PACKAGECONFIG', 'glvnd', '', d.getVar('GLPROVIDES'), d)} \
50 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \
51 virtual/mesa \
52 "
53 43
54inherit meson pkgconfig python3native gettext features_check rust 44inherit meson pkgconfig python3native gettext features_check rust
55 45