classpath: remove qt support
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 12 May 2013 08:31:44 +0000 (08:31 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 12 May 2013 19:03:40 +0000 (21:03 +0200)
classpath doesn't work with Qt in buildroot. It assumes qt will run on X11,
but we don't have qt-x11 support on buildroot.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/classpath/classpath.mk

index 2d1255261a028ed195ed8c600d01f28943b72420..61a103457154a34847d6d40076287f316c83e904 100644 (file)
@@ -8,6 +8,10 @@ CLASSPATH_CONF_OPT = \
        --disable-gconf-peer \
        --disable-tools
 
+# classpath assumes qt runs on top of X11, but we
+# don't support qt4 on X11
+CLASSPATH_CONF_OPT += --disable-qt-peer
+
 CLASSPATH_DEPENDENCIES = host-pkgconf
 
 ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
@@ -39,13 +43,6 @@ else
 CLASSPATH_CONF_OPT += --disable-gtk-peer --disable-gstreamer-peer
 endif
 
-ifeq ($(BR2_PACKAGE_QT),y)
-CLASSPATH_CONF_OPT += --enable-qt-peer
-CLASSPATH_DEPENDENCIES += qt
-else
-CLASSPATH_CONF_OPT += --disable-qt-peer
-endif
-
 ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy)
 CLASSPATH_CONF_OPT += --enable-xmlj
 CLASSPATH_DEPENDENCIES += libxml2 libxslt