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
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS = \
|
2012-12-04 18:59:09 +01:00
|
|
|
--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
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --disable-qt-peer
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_DEPENDENCIES = host-pkgconf
|
2013-07-04 17:59:31 +02:00
|
|
|
CLASSPATH_AUTORECONF = YES
|
|
|
|
CLASSPATH_LICENSE = GPLv2+ with exception
|
|
|
|
CLASSPATH_LICENSE_FILES = COPYING
|
2012-12-04 18:59:09 +01:00
|
|
|
|
2013-07-04 18:18:32 +02:00
|
|
|
# Needs ALSA pcm and sequencer (midi) support
|
|
|
|
# pcm is always on for alsa-lib
|
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --enable-alsa
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --disable-alsa
|
2012-12-04 18:59:09 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GMP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --enable-gmp --with-gmp="$(STAGING_DIR)/usr"
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_DEPENDENCIES += gmp
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --disable-gmp
|
2012-12-04 18:59:09 +01:00
|
|
|
endif
|
|
|
|
|
2012-12-04 23:42:18 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --enable-gtk-peer
|
2012-12-04 23:42:18 +01:00
|
|
|
CLASSPATH_DEPENDENCIES += libgtk2
|
|
|
|
|
2012-12-04 18:59:09 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --enable-gstreamer-peer
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_DEPENDENCIES += gst-plugins-base
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --disable-gstreamer-peer
|
2012-12-04 18:59:09 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --disable-gtk-peer --disable-gstreamer-peer
|
2012-12-04 18:59:09 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy)
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --enable-xmlj
|
2012-12-04 18:59:09 +01:00
|
|
|
CLASSPATH_DEPENDENCIES += libxml2 libxslt
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
CLASSPATH_CONF_OPTS += --disable-xmlj
|
2012-12-04 18:59:09 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|