9cbffdf9be
vala bindings are needed to build gssdp 1.6 vapi bindings and avoid the
following build failure since commit
0cd1096eb0
:
FAILED: vala/gssdp-1.6.vapi
/home/buildroot/autobuild/instance-2/output-1/host/bin/vapigen --quiet --library=gssdp-1.6 --directory=/home/buildroot/autobuild/instance-2/output-1/build/gssdp-1.6.3/build/vala --pkg=gio-2.0 --pkg=libsoup-3.0 --metadatadir=/home/buildroot/autobuild/instance-2/output-1/build/gssdp-1.6.3/vala /home/buildroot/autobuild/instance-2/output-1/build/gssdp-1.6.3/build/libgssdp/GSSDP-1.6.gir
error: Package `libsoup-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Fixes:
- http://autobuild.buildroot.org/results/e5fbfc95964beac314c9faffc2c12541d0a10a48
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# libsoup3
|
|
#
|
|
################################################################################
|
|
|
|
LIBSOUP3_VERSION_MAJOR = 3.4
|
|
LIBSOUP3_VERSION = $(LIBSOUP3_VERSION_MAJOR).4
|
|
LIBSOUP3_SOURCE = libsoup-$(LIBSOUP3_VERSION).tar.xz
|
|
LIBSOUP3_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP3_VERSION_MAJOR)
|
|
LIBSOUP3_LICENSE = LGPL-2.0+
|
|
LIBSOUP3_LICENSE_FILES = COPYING
|
|
LIBSOUP3_CPE_ID_VENDOR = gnome
|
|
LIBSOUP3_INSTALL_STAGING = YES
|
|
LIBSOUP3_DEPENDENCIES = \
|
|
host-intltool \
|
|
host-libglib2 \
|
|
host-pkgconf \
|
|
libglib2 \
|
|
libpsl \
|
|
nghttp2 \
|
|
sqlite \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
|
|
LIBSOUP3_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
LIBSOUP3_CONF_OPTS = \
|
|
-Dntlm=disabled \
|
|
-Dsysprof=disabled \
|
|
-Dtests=false \
|
|
-Dtls_check=false
|
|
|
|
ifeq ($(BR2_PACKAGE_BROTLI),y)
|
|
LIBSOUP3_CONF_OPTS += -Dbrotli=enabled
|
|
LIBSOUP3_DEPENDENCIES += brotli
|
|
else
|
|
LIBSOUP3_CONF_OPTS += -Dbrotli=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
LIBSOUP3_CONF_OPTS += -Dintrospection=enabled -Dvapi=enabled
|
|
LIBSOUP3_DEPENDENCIES += host-vala gobject-introspection
|
|
else
|
|
LIBSOUP3_CONF_OPTS += -Dintrospection=disabled -Dvapi=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBKRB5),y)
|
|
LIBSOUP3_CONF_OPTS += \
|
|
-Dgssapi=enabled \
|
|
-Dkrb5_config=$(STAGING_DIR)/usr/bin/krb5-config
|
|
LIBSOUP3_DEPENDENCIES += libkrb5
|
|
else
|
|
LIBSOUP3_CONF_OPTS += -Dgssapi=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|