classpath: gstreamer support needs gtk as well
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 4 Dec 2012 22:42:18 +0000 (14:42 -0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 4 Dec 2012 22:42:18 +0000 (14:42 -0800)
Fixes http://autobuild.buildroot.net/results/80550a210a72a64c182e00dc2cb3a15ec776b658

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/classpath/classpath.mk

index 9142f69151a86848514f3c8de86a4f4b5826421e..2d1255261a028ed195ed8c600d01f28943b72420 100644 (file)
@@ -24,6 +24,10 @@ else
 CLASSPATH_CONF_OPT += --disable-gmp
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
+CLASSPATH_CONF_OPT += --enable-gtk-peer
+CLASSPATH_DEPENDENCIES += libgtk2
+
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
 CLASSPATH_CONF_OPT += --enable-gstreamer-peer
 CLASSPATH_DEPENDENCIES += gst-plugins-base
@@ -31,11 +35,8 @@ else
 CLASSPATH_CONF_OPT += --disable-gstreamer-peer
 endif
 
-ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
-CLASSPATH_CONF_OPT += --enable-gtk-peer
-CLASSPATH_DEPENDENCIES += libgtk2
 else
-CLASSPATH_CONF_OPT += --disable-gtk-peer
+CLASSPATH_CONF_OPT += --disable-gtk-peer --disable-gstreamer-peer
 endif
 
 ifeq ($(BR2_PACKAGE_QT),y)