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 <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2023-01-04 14:45:32 +01:00
parent 2a97d8886b
commit c2da31e0b1
1 changed files with 11 additions and 3 deletions

View File

@ -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 "