1 ################################################################################
5 ################################################################################
7 CLASSPATH_VERSION
= 0.99
8 CLASSPATH_SITE
= $(BR2_GNU_MIRROR
)/classpath
9 CLASSPATH_CONF_OPTS
= \
13 --disable-gconf-peer \
17 # classpath assumes qt runs on top of X11, but we
18 # don't support qt4 on X11
19 CLASSPATH_CONF_OPTS
+= --disable-qt-peer
20 CLASSPATH_DEPENDENCIES
= host-pkgconf
21 CLASSPATH_LICENSE
= GPLv2
+ with exception
22 CLASSPATH_LICENSE_FILES
= COPYING
24 # Needs ALSA pcm and sequencer (midi) support
25 # pcm is always on for alsa-lib
26 ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ
),y
)
27 CLASSPATH_CONF_OPTS
+= --enable-alsa
28 CLASSPATH_DEPENDENCIES
+= alsa-lib
30 CLASSPATH_CONF_OPTS
+= --disable-alsa
33 ifeq ($(BR2_PACKAGE_GMP
),y
)
34 CLASSPATH_CONF_OPTS
+= --enable-gmp
--with-gmp
="$(STAGING_DIR)/usr"
35 CLASSPATH_DEPENDENCIES
+= gmp
37 CLASSPATH_CONF_OPTS
+= --disable-gmp
40 ifeq ($(BR2_PACKAGE_LIBGTK2
)$(BR2_PACKAGE_XORG7
),yy
)
41 CLASSPATH_CONF_OPTS
+= --enable-gtk-peer
42 CLASSPATH_DEPENDENCIES
+= libgtk2
44 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE
),y
)
45 CLASSPATH_CONF_OPTS
+= --enable-gstreamer-peer
46 CLASSPATH_DEPENDENCIES
+= gst-plugins-base
48 CLASSPATH_CONF_OPTS
+= --disable-gstreamer-peer
52 CLASSPATH_CONF_OPTS
+= --disable-gtk-peer
--disable-gstreamer-peer
55 ifeq ($(BR2_PACKAGE_LIBXML2
)$(BR2_PACKAGE_LIBXSLT
)$(BR2_TOOLCHAIN_HAS_THREADS
),yyy
)
56 CLASSPATH_CONF_OPTS
+= --enable-xmlj
57 CLASSPATH_DEPENDENCIES
+= libxml2 libxslt
59 CLASSPATH_CONF_OPTS
+= --disable-xmlj
62 $(eval
$(autotools-package
))