From c2da31e0b1e01d51769c2f5ee56315905c4a2692 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 4 Jan 2023 14:45:32 +0100 Subject: [PATCH] gcnano-userland: fixes for Crank SB engine Crank storyboard engine has runtime dependencies on libELG.so and libGLESv2.so, which usually are just symlinks that go to the "-dev" package. As they are needed at runtime, move the files to the normal (not -dev) package. Also add explicit RPROVIDES for those libraries, as otherwise the build fails with: QA Issue: /usr/share/crank/sbengine/plugins/librender-plugin-opengles_2.0.so contained in package crank-sbengine requires libEGL.so, but no providers found in RDEPENDS:crank-sbengine? [file-rdeps] QA Issue: /usr/share/crank/sbengine/plugins/librender-plugin-opengles_2.0.so contained in package crank-sbengine requires libGLESv2.so, but no providers found in RDEPENDS:crank-sbengine? [file-rdeps] Signed-off-by: Javier Viguera --- .../gcnano-userland-multi-binary-stm32mp.bbappend | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/gcnano-userland/gcnano-userland-multi-binary-stm32mp.bbappend b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/gcnano-userland/gcnano-userland-multi-binary-stm32mp.bbappend index 3a986479d..056a87821 100644 --- a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/gcnano-userland/gcnano-userland-multi-binary-stm32mp.bbappend +++ b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/gcnano-userland/gcnano-userland-multi-binary-stm32mp.bbappend @@ -1,5 +1,13 @@ -# Copyright (C) 2022, Digi International Inc. +# Copyright (C) 2022-2023, Digi International Inc. -# Workaround for crank storyboard engine which is provided in binary format, -# and needs an explicit 'libEGL.so' runtime provides. +# +# Workarounds for Crank storyboard engine +# + +# Put the devel symlink in the normal package +FILES:libegl-gcnano += "${libdir}/libEGL${SOLIBSDEV}" +FILES:libgles2-gcnano += "${libdir}/libGLESv2${SOLIBSDEV}" + +# Add explicit runtime provides for libEGL.so and libGLESv2.so RPROVIDES:libegl-gcnano:prepend = "libEGL.so " +RPROVIDES:libgles2-gcnano:prepend = "libGLESv2.so "