kumquat-buildroot/package/glib-networking/glib-networking.mk
Fabrice Fontaine ed3eef6bb4 package/glib-networking: bump to version 2.61.1
- gnutls can be made optional again since
  14a3138a6d
- add openssl optional dependency
- pkcs option has been removed since
  4d6caa0330
- use new options, see
  8629f3d5a5
- fix build failure with gnutls

Fixes:
 - http://autobuild.buildroot.org/results/e233f9a5693e18bee90669910007e122857c7f77

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-07-14 16:11:45 +02:00

41 lines
1.2 KiB
Makefile

################################################################################
#
# glib-networking
#
################################################################################
GLIB_NETWORKING_VERSION_MAJOR = 2.61
GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1
GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
GLIB_NETWORKING_INSTALL_STAGING = YES
GLIB_NETWORKING_DEPENDENCIES = \
$(TARGET_NLS_DEPENDENCIES) \
host-pkgconf \
libglib2
GLIB_NETWORKING_CONF_OPTS = \
-Dlibproxy=disabled \
-Dgnome_proxy=disabled
GLIB_NETWORKING_LICENSE = LGPL-2.0+
GLIB_NETWORKING_LICENSE_FILES = COPYING
GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \
GIO_MODULE_DIR=/usr/lib/gio/modules install
ifeq ($(BR2_PACKAGE_GNUTLS),y)
GLIB_NETWORKING_DEPENDENCIES += gnutls
GLIB_NETWORKING_CONF_OPTS += -Dgnutls=enabled
else
GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
GLIB_NETWORKING_DEPENDENCIES += openssl
GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled
else
GLIB_NETWORKING_CONF_OPTS += -Dopenssl=disabled
endif
$(eval $(meson-package))