fdb6fc2b4a
Build of http::sconesite::image module was silently broken until commitd3b818c3cf
However, sconeserver fails to build with ImageMagick because: - it checks for ImageMagick++.pc instead of ImageMagick.pc - it uses the transform function which has been removed from the public API since version 7.0.1-0 and06f590165f
As sconeserver does not seem to be maintained anymore, drop BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE. Fixes: - http://autobuild.buildroot.org/results/895ab582d1140f7677fc1c6934fa2e0c47c49f20 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Arnout: add legacy symbol. It costs us exactly nothing, and if someone actually had that selected, they know what's going on.]
99 lines
2.7 KiB
Makefile
99 lines
2.7 KiB
Makefile
################################################################################
|
|
#
|
|
# sconeserver
|
|
#
|
|
################################################################################
|
|
|
|
SCONESERVER_VERSION = 6b932d7d8dbb700b830205e7111e469cefff490c
|
|
SCONESERVER_SITE = $(call github,sconemad,sconeserver,$(SCONESERVER_VERSION))
|
|
SCONESERVER_LICENSE = GPL-2.0+
|
|
SCONESERVER_LICENSE_FILES = COPYING
|
|
# fetching from Git, we need to generate the configure script
|
|
SCONESERVER_AUTORECONF = YES
|
|
SCONESERVER_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
$(if $(BR2_PACKAGE_PCRE),pcre) \
|
|
zlib
|
|
# disable image as it fails to build with ImageMagick
|
|
# disable markdown module because its git submodule cmark
|
|
# https://github.com/sconemad/sconeserver/tree/master/markdown
|
|
# has no cross-compile support provided by the sconeserver build system
|
|
SCONESERVER_CONF_OPTS += \
|
|
--with-ip \
|
|
--with-local \
|
|
--with-ip6 \
|
|
--without-image \
|
|
--without-markdown
|
|
|
|
# Sconeserver configure script fails to find the libxml2 headers.
|
|
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
|
SCONESERVER_CONF_OPTS += \
|
|
--with-xml2-config="$(STAGING_DIR)/usr/bin/xml2-config"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
SCONESERVER_DEPENDENCIES += openssl
|
|
SCONESERVER_CONF_OPTS += --with-ssl
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_EXAMPLES),y)
|
|
SCONESERVER_CONF_OPTS += --with-examples
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-examples
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE),y)
|
|
SCONESERVER_DEPENDENCIES += libxml2
|
|
SCONESERVER_CONF_OPTS += --with-sconesite
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-sconesite
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y)
|
|
SCONESERVER_DEPENDENCIES += mysql
|
|
SCONESERVER_CONF_OPTS += \
|
|
--with-mysql \
|
|
--with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \
|
|
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql"
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-mysql
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y)
|
|
SCONESERVER_DEPENDENCIES += bluez5_utils
|
|
SCONESERVER_CONF_OPTS += --with-bluetooth
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-bluetooth
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_RSS),y)
|
|
SCONESERVER_DEPENDENCIES += libxml2
|
|
SCONESERVER_CONF_OPTS += --with-rss
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-rss
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_LOCATION),y)
|
|
SCONESERVER_DEPENDENCIES += gpsd
|
|
SCONESERVER_CONF_OPTS += --with-location
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-location
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_MATHS),y)
|
|
SCONESERVER_DEPENDENCIES += mpfr
|
|
SCONESERVER_CONF_OPTS += --with-maths
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-maths
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SCONESERVER_TESTBUILDER),y)
|
|
SCONESERVER_CONF_OPTS += --with-testbuilder
|
|
else
|
|
SCONESERVER_CONF_OPTS += --without-testbuilder
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|