This means issuing a warning about adding a separate layer if
it is not configured.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
QT4PKGS_mips64 = ""
QT4PKGS_mips64n32 = ""
+def get_libqt4(d):
+ if 'linuxstdbase' in d.getVar('DISTROOVERRIDES', False) or "":
+ if 'qt4' in d.getVar('BBFILE_COLLECTIONS', False) or "":
+ return d.getVar('QT4PKGS', False)
+
+ bb.warn('The meta-qt4 layer should be added, this layer provides Qt 4.x' \
+ 'libraries. Its intended use is for passing LSB tests as Qt4 is' \
+ 'a requirement for LSB.')
+ return ''
+
SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \
specified in the LSB Desktop specification"
gtk+ \
atk \
libasound \
- ${QT4PKGS} \
+ ${@get_libqt4(d)} \
${@get_libqt3(d)} \
"