2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# classpath
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_VERSION = 0.98
|
|
|
|
CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath
|
|
|
|
CLASSPATH_CONF_OPT = \
|
|
|
|
--disable-examples \
|
|
|
|
--disable-plugin \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-Werror \
|
|
|
|
--disable-gconf-peer \
|
|
|
|
--disable-tools
|
|
|
|
|
2013-05-12 10:31:44 +02:00
|
|
|
# classpath assumes qt runs on top of X11, but we
|
|
|
|
# don't support qt4 on X11
|
|
|
|
CLASSPATH_CONF_OPT += --disable-qt-peer
|
|
|
|
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_DEPENDENCIES = host-pkgconf
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
|
|
|
CLASSPATH_CONF_OPT += --enable-alsa
|
|
|
|
CLASSPATH_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
|
|
|
CLASSPATH_CONF_OPT += --disable-alsa
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GMP),y)
|
|
|
|
CLASSPATH_CONF_OPT += --enable-gmp
|
|
|
|
CLASSPATH_DEPENDENCIES += gmp
|
|
|
|
else
|
|
|
|
CLASSPATH_CONF_OPT += --disable-gmp
|
|
|
|
endif
|
|
|
|
|
2012-12-04 23:42:18 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
|
|
|
|
CLASSPATH_CONF_OPT += --enable-gtk-peer
|
|
|
|
CLASSPATH_DEPENDENCIES += libgtk2
|
|
|
|
|
2012-12-04 18:59:09 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
|
|
|
|
CLASSPATH_CONF_OPT += --enable-gstreamer-peer
|
|
|
|
CLASSPATH_DEPENDENCIES += gst-plugins-base
|
|
|
|
else
|
|
|
|
CLASSPATH_CONF_OPT += --disable-gstreamer-peer
|
|
|
|
endif
|
|
|
|
|
|
|
|
else
|
2012-12-04 23:42:18 +01:00
|
|
|
CLASSPATH_CONF_OPT += --disable-gtk-peer --disable-gstreamer-peer
|
2012-12-04 18:59:09 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy)
|
|
|
|
CLASSPATH_CONF_OPT += --enable-xmlj
|
|
|
|
CLASSPATH_DEPENDENCIES += libxml2 libxslt
|
|
|
|
else
|
|
|
|
CLASSPATH_CONF_OPT += --disable-xmlj
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|