56ba3990c9
Version 2.74.1 included a flurry of build fixes, while version 2.74.3 is able to detect whether the library is being loaded in a process where libsoup3 is also present. The latter will come in handy for migrating Buildroot to libsoup3. Release notes: https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.74/libsoup-2.74.1.news https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.74/libsoup-2.74.2.news Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
65 lines
1.5 KiB
Makefile
65 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# libsoup
|
|
#
|
|
################################################################################
|
|
|
|
LIBSOUP_VERSION_MAJOR = 2.74
|
|
LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2
|
|
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 = \
|
|
-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_LIBKRB5),y)
|
|
LIBSOUP_CONF_OPTS += \
|
|
-Dgssapi=enabled \
|
|
-Dkrb5_config=$(STAGING_DIR)/usr/bin/krb5-config
|
|
LIBSOUP_DEPENDENCIES += libkrb5
|
|
else
|
|
LIBSOUP_CONF_OPTS += -Dgssapi=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y)
|
|
LIBSOUP_CONF_OPTS += -Dgnome=true
|
|
else
|
|
LIBSOUP_CONF_OPTS += -Dgnome=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|