diff options
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.bb | 11 | ||||
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 10 |
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" | |||
| 12 | PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" | 12 | PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" |
| 13 | PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" | 13 | PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" |
| 14 | PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" | 14 | PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" |
| 15 | |||
| 16 | GLPROVIDES = " \ | ||
| 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 | " | ||
| 21 | PROVIDES = " \ | ||
| 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 | ||
| 41 | DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native python3-mako-native gettext-native python3-pyyaml-native" | 41 | DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native python3-mako-native gettext-native python3-pyyaml-native" |
| 42 | EXTRANATIVEPATH += "chrpath-native" | 42 | EXTRANATIVEPATH += "chrpath-native" |
| 43 | GLPROVIDES = " \ | ||
| 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 | " | ||
| 48 | PROVIDES = " \ | ||
| 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 | ||
| 54 | inherit meson pkgconfig python3native gettext features_check rust | 44 | inherit meson pkgconfig python3native gettext features_check rust |
| 55 | 45 | ||
