diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb index ce823858ce..be08c580eb 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | |||
@@ -225,6 +225,16 @@ QT4PKGS = " \ | |||
225 | QT4PKGS_mips64 = "" | 225 | QT4PKGS_mips64 = "" |
226 | QT4PKGS_mips64n32 = "" | 226 | QT4PKGS_mips64n32 = "" |
227 | 227 | ||
228 | def get_libqt4(d): | ||
229 | if 'linuxstdbase' in d.getVar('DISTROOVERRIDES', False) or "": | ||
230 | if 'qt4' in d.getVar('BBFILE_COLLECTIONS', False) or "": | ||
231 | return d.getVar('QT4PKGS', False) | ||
232 | |||
233 | bb.warn('The meta-qt4 layer should be added, this layer provides Qt 4.x' \ | ||
234 | 'libraries. Its intended use is for passing LSB tests as Qt4 is' \ | ||
235 | 'a requirement for LSB.') | ||
236 | return '' | ||
237 | |||
228 | SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" | 238 | SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" |
229 | DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ | 239 | DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ |
230 | specified in the LSB Desktop specification" | 240 | specified in the LSB Desktop specification" |
@@ -245,7 +255,7 @@ RDEPENDS_packagegroup-core-lsb-desktop = "\ | |||
245 | gtk+ \ | 255 | gtk+ \ |
246 | atk \ | 256 | atk \ |
247 | libasound \ | 257 | libasound \ |
248 | ${QT4PKGS} \ | 258 | ${@get_libqt4(d)} \ |
249 | ${@get_libqt3(d)} \ | 259 | ${@get_libqt3(d)} \ |
250 | " | 260 | " |
251 | 261 | ||