aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb2
-rw-r--r--meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphics-libegl.bb25
2 files changed, 26 insertions, 1 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb
index e66164f..450080b 100644
--- a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb
+++ b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb
@@ -98,7 +98,7 @@ FILES_${PN}-dev = " \
${libdir}/pkgconfig/* \
"
-PROVIDES = "virtual/libgles2 virtual/egl"
+PROVIDES = "virtual/libgles2"
RPROVIDES_${PN} += " \
${GLES}-user-module \
libgles2-mesa \
diff --git a/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphics-libegl.bb b/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphics-libegl.bb
new file mode 100644
index 0000000..35bfd37
--- /dev/null
+++ b/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphics-libegl.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Graphics OpenGL ES user libraries and depenencies package group"
+LICENSE = "CLOSED & MIT"
+
+DEPENDS = "gles-user-module \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libgbm wayland-kms', '', d)} \
+"
+
+PR = "r0"
+
+inherit packagegroup
+
+PACKAGES = " \
+ packagegroup-graphics-libegl \
+"
+
+RDEPENDS_packagegroup-graphics-libegl = " \
+ gles-user-module \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libgbm wayland-kms', '', d)} \
+"
+
+PROVIDES = "virtual/egl"
+RPROVIDES_${PN} += " \
+ libegl \
+ libegl1 \
+"