[qt4] reorganize conditional drawing-backend dependencies

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22793 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2010-08-25 11:00:44 +00:00
parent d6e37f13d8
commit 9f522a4ab6
2 changed files with 2 additions and 4 deletions

View File

@ -6,14 +6,12 @@ choice
config QT4_WS_QWS
bool "QWS window system"
depends on FEATURE_drawing-backend_DirectFB
select PACKAGE_directfb
help
Use QT4's internal QWS window system.
config QT4_WS_X11
bool "X11 window system"
depends on FEATURE_drawing-backend_libX11
select PACKAGE_libX11
help
Use X11

View File

@ -62,12 +62,12 @@ endef
define Package/qt4
$(call Package/qt4/Default)
DEPENDS:=@FEATURE_drawing-backend_DirectFB||@FEATURE_drawing-backend_libX11 +zlib +libstdcpp +libsqlite3
DEPENDS:=+zlib +libstdcpp +libsqlite3
endef
define Package/qt4-gui
$(call Package/qt4/Default)
DEPENDS+=+libpng +libtiff +libjpeg +libfreetype +qt4-network
DEPENDS+=+libpng +libtiff +libjpeg +libfreetype +qt4-network +FEATURE_drawing-backend_DirectFB:directfb +FEATURE_drawing-backend_libX11:libX11
TITLE+=(gui)
endef