summaryrefslogtreecommitdiffstats
path: root/package/classpath/classpath.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/classpath/classpath.mk')
-rw-r--r--package/classpath/classpath.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/classpath/classpath.mk b/package/classpath/classpath.mk
index 9142f6915..2d1255261 100644
--- a/package/classpath/classpath.mk
+++ b/package/classpath/classpath.mk
@@ -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)