13c30bc923
Always disable tls_check to avoid the following build failure since bump to version 2.72.0 in commit8e5f7f1cfc
: ../output-1/build/libsoup-2.72.0/meson.build:184:4: ERROR: Can not run test applications in this cross environment. Indeed, tls_check will run code since5c45253243
That is the only thing that this option does: it runs code to check that libgio is built with TLS support. While at it, also drop glib-networking build-time dependency Also mark gnutls as a runtime dependency (it already was used as such). Fixes: - http://autobuild.buildroot.org/results/9e539dc7185cfb81f18438dd36357cb49ef23a5a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# libsoup
|
|
#
|
|
################################################################################
|
|
|
|
LIBSOUP_VERSION_MAJOR = 2.72
|
|
LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).0
|
|
LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz
|
|
LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_VERSION_MAJOR)
|
|
LIBSOUP_LICENSE = LGPL-2.0+
|
|
LIBSOUP_LICENSE_FILES = COPYING
|
|
LIBSOUP_CPE_ID_VENDOR = gnome
|
|
LIBSOUP_INSTALL_STAGING = YES
|
|
LIBSOUP_DEPENDENCIES = \
|
|
host-intltool \
|
|
host-libglib2 \
|
|
host-pkgconf \
|
|
libglib2 \
|
|
libpsl \
|
|
libxml2 \
|
|
sqlite \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
|
|
LIBSOUP_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
LIBSOUP_CONF_OPTS = \
|
|
-Dgssapi=disabled \
|
|
-Dgtk_doc=false \
|
|
-Dntlm=disabled \
|
|
-Dsysprof=disabled \
|
|
-Dtests=false \
|
|
-Dtls_check=false \
|
|
-Dvapi=disabled
|
|
|
|
ifeq ($(BR2_PACKAGE_BROTLI),y)
|
|
LIBSOUP_CONF_OPTS += -Dbrotli=enabled
|
|
LIBSOUP_DEPENDENCIES += brotli
|
|
else
|
|
LIBSOUP_CONF_OPTS += -Dbrotli=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
LIBSOUP_CONF_OPTS += -Dintrospection=enabled
|
|
LIBSOUP_DEPENDENCIES += gobject-introspection
|
|
else
|
|
LIBSOUP_CONF_OPTS += -Dintrospection=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y)
|
|
LIBSOUP_CONF_OPTS += -Dgnome=true
|
|
else
|
|
LIBSOUP_CONF_OPTS += -Dgnome=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|