package/json-glib: bump to version 1.6.6

- Update introspection option:
  461edcc8cd
- Disable docs (enabled by default since
  8d6176451f)
- Disable tests (added by:
  8e835f8ed2)
- Update indentation in hash file (two spaces)

https://gitlab.gnome.org/GNOME/json-glib/-/blob/1.6.6/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-03-20 18:12:59 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 328516a5ad
commit a960dbc5d5
2 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
# From http://ftp.gnome.org/pub/GNOME/sources/json-glib/1.4/json-glib-1.4.4.sha256sum
sha256 720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47 json-glib-1.4.4.tar.xz
# From http://ftp.gnome.org/pub/GNOME/sources/json-glib/1.6/json-glib-1.6.6.sha256sum
sha256 96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e json-glib-1.6.6.tar.xz
# Hash for license file:
sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING
sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING

View File

@ -4,13 +4,14 @@
#
################################################################################
JSON_GLIB_VERSION_MAJOR = 1.4
JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).4
JSON_GLIB_VERSION_MAJOR = 1.6
JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).6
JSON_GLIB_SITE = http://ftp.gnome.org/pub/GNOME/sources/json-glib/$(JSON_GLIB_VERSION_MAJOR)
JSON_GLIB_SOURCE = json-glib-$(JSON_GLIB_VERSION).tar.xz
JSON_GLIB_LICENSE = LGPL-2.1+
JSON_GLIB_LICENSE_FILES = COPYING
JSON_GLIB_INSTALL_STAGING = YES
JSON_GLIB_CONF_OPTS = -Dgtk_doc=disabled -Dtests=false
JSON_GLIB_DEPENDENCIES = \
$(TARGET_NLS_DEPENDENCIES) \
@ -18,10 +19,10 @@ JSON_GLIB_DEPENDENCIES = \
libglib2
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
JSON_GLIB_CONF_OPTS += -Dintrospection=true
JSON_GLIB_CONF_OPTS += -Dintrospection=enabled
JSON_GLIB_DEPENDENCIES += gobject-introspection
else
JSON_GLIB_CONF_OPTS += -Dintrospection=false
JSON_GLIB_CONF_OPTS += -Dintrospection=disabled
endif
JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)