X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fclasspath%2Fclasspath.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fclasspath%2Fclasspath.mk;h=3825c76daf554d9965d27870fe6d22f3554749e0;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/classpath/classpath.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/classpath/classpath.mk new file mode 100644 index 0000000..3825c76 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/classpath/classpath.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# classpath +# +################################################################################ + +CLASSPATH_VERSION = 0.98 +CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath +CLASSPATH_CONF_OPTS = \ + --disable-examples \ + --disable-plugin \ + --disable-rpath \ + --disable-Werror \ + --disable-gconf-peer \ + --disable-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_AUTORECONF = YES +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))