qt4: move the @DISPLAY_SUPPORT dependency to qt4-gui, however do not enable any qt4...
authorFelix Fietkau <nbd@openwrt.org>
Tue, 2 Nov 2010 16:56:14 +0000 (16:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 2 Nov 2010 16:56:14 +0000 (16:56 +0000)
SVN-Revision: 23799

Xorg/lib/qt4/Makefile

index 18e95456b9c59787ac5c3dc017eeacd94947bb4b..6bff1d313759934834353651c1779fb689fafd56 100644 (file)
@@ -58,20 +58,22 @@ define Package/qt4/Default
   SUBMENU:=framework
   TITLE:=qt4
   DEPENDS:=qt4
+  DEFAULT:=m if PACKAGE_qt4-gui && ALL
   URL:=http://qt.nokia.com/
 endef
 
 define Package/qt4
   $(call Package/qt4/Default)
-  DEPENDS:=+zlib +libstdcpp +libsqlite3 @DISPLAY_SUPPORT
+  DEPENDS:=+zlib +libstdcpp +libsqlite3
 endef
 
 define Package/qt4-gui
   $(call Package/qt4/Default)
+  DEFAULT:=
   DEPENDS+=+libpng +libtiff +libjpeg +libfreetype +qt4-network \
        +FEATURE_drawing-backend_DirectFB:directfb \
        +FEATURE_drawing-backend_libX11:libX11 \
-       +FEATURE_drawing-backend_libX11:libXext
+       +FEATURE_drawing-backend_libX11:libXext @DISPLAY_SUPPORT
   TITLE+=(gui)
 endef