mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
qt4-x11-free: make virtual/libgl dependency conditional
Make qt4-x11-free depend on virtual/libgl only if the DISTRO_FEATURES contains opengl. Otherwise there will be no package to fullfil this dependency. (From OE-Core rev: aef3ffd3b3a1fa72dfccf1fd4b9f8cf9d3812fa8) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f6e13ec535
commit
9f8391602b
@@ -4,7 +4,8 @@ SUMMARY = "Cross-platform UI toolkit and application framework (X11 version)"
|
||||
DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version."
|
||||
HOMEPAGE = "http://qt-project.org/"
|
||||
SECTION = "x11/libs"
|
||||
DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
|
||||
DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
|
||||
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)}"
|
||||
PROVIDES += "qt4-x11"
|
||||
QT4DEPENDS = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user