LSB 4.1 Library Check: fix unable to find library libqt-mt.so.3
The libqt-mt is tested by lsb-dist-checker and lsb-test-desktop, and it locates in meta-qt3 layer. So if meta-qt3 is not added, there should be a warning to call attention; if added, it will add libqt-mt to RDEPENDS. [YOCTO #5153] (From OE-Core rev: f646f96015b408f4c6d56998f08178a69ed9f2a6) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
85a5a2c3b2
commit
63ae37f924
|
@ -193,6 +193,16 @@ RDEPENDS_packagegroup-core-lsb-python = "\
|
||||||
python-misc \
|
python-misc \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
def get_libqt3(d):
|
||||||
|
if 'linuxstdbase' in d.getVar('DISTROOVERRIDES') or "":
|
||||||
|
if 'qt3' in d.getVar('BBFILE_COLLECTIONS') or "":
|
||||||
|
return 'libqt-mt3'
|
||||||
|
|
||||||
|
bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x')
|
||||||
|
bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is')
|
||||||
|
bb.warn('a requirement for LSB')
|
||||||
|
return ''
|
||||||
|
|
||||||
SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
|
SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
|
||||||
DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \
|
DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \
|
||||||
specified in the LSB Desktop specification"
|
specified in the LSB Desktop specification"
|
||||||
|
@ -221,6 +231,7 @@ RDEPENDS_packagegroup-core-lsb-desktop = "\
|
||||||
atk \
|
atk \
|
||||||
libasound \
|
libasound \
|
||||||
${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \
|
${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \
|
||||||
|
${@get_libqt3(d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_packagegroup-core-lsb-runtime-add = "\
|
RDEPENDS_packagegroup-core-lsb-runtime-add = "\
|
||||||
|
|
Loading…
Reference in New Issue