8f8c02e596
Drop both patches since they are included upstream. We don't need to autoreconf now. Note: classpath 0.99 has a bug in it's autoconf scripts, such that configure always fails when specifying --disable-tools[1]. We enable these for now. Also explicitly disable GJDoc generation, as this defaults to on now. --disable-plugin is not needed any more, since this is now the default. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70660 Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
63 lines
1.6 KiB
Makefile
63 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# classpath
|
|
#
|
|
################################################################################
|
|
|
|
CLASSPATH_VERSION = 0.99
|
|
CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath
|
|
CLASSPATH_CONF_OPTS = \
|
|
--disable-examples \
|
|
--disable-rpath \
|
|
--disable-Werror \
|
|
--disable-gconf-peer \
|
|
--disable-gjdoc
|
|
--enable-tools
|
|
|
|
# classpath assumes qt runs on top of X11, but we
|
|
# don't support qt4 on X11
|
|
CLASSPATH_CONF_OPTS += --disable-qt-peer
|
|
CLASSPATH_DEPENDENCIES = host-pkgconf
|
|
CLASSPATH_LICENSE = GPLv2+ with exception
|
|
CLASSPATH_LICENSE_FILES = COPYING
|
|
|
|
# Needs ALSA pcm and sequencer (midi) support
|
|
# pcm is always on for alsa-lib
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
|
|
CLASSPATH_CONF_OPTS += --enable-alsa
|
|
CLASSPATH_DEPENDENCIES += alsa-lib
|
|
else
|
|
CLASSPATH_CONF_OPTS += --disable-alsa
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GMP),y)
|
|
CLASSPATH_CONF_OPTS += --enable-gmp --with-gmp="$(STAGING_DIR)/usr"
|
|
CLASSPATH_DEPENDENCIES += gmp
|
|
else
|
|
CLASSPATH_CONF_OPTS += --disable-gmp
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
|
|
CLASSPATH_CONF_OPTS += --enable-gtk-peer
|
|
CLASSPATH_DEPENDENCIES += libgtk2
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
|
|
CLASSPATH_CONF_OPTS += --enable-gstreamer-peer
|
|
CLASSPATH_DEPENDENCIES += gst-plugins-base
|
|
else
|
|
CLASSPATH_CONF_OPTS += --disable-gstreamer-peer
|
|
endif
|
|
|
|
else
|
|
CLASSPATH_CONF_OPTS += --disable-gtk-peer --disable-gstreamer-peer
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy)
|
|
CLASSPATH_CONF_OPTS += --enable-xmlj
|
|
CLASSPATH_DEPENDENCIES += libxml2 libxslt
|
|
else
|
|
CLASSPATH_CONF_OPTS += --disable-xmlj
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|