diff --git a/package/json-glib/json-glib.hash b/package/json-glib/json-glib.hash index 0c3cf7f7f7..b78d708391 100644 --- a/package/json-glib/json-glib.hash +++ b/package/json-glib/json-glib.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/json-glib/1.6/json-glib-1.6.6.sha256sum -sha256 96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e json-glib-1.6.6.tar.xz +# From https://download.gnome.org/sources/json-glib/1.8/json-glib-1.8.0.sha256sum +sha256 97ef5eb92ca811039ad50a65f06633f1aae64792789307be7170795d8b319454 json-glib-1.8.0.tar.xz # Hash for license file: sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk index b7ff0bfd57..cd53f24cee 100644 --- a/package/json-glib/json-glib.mk +++ b/package/json-glib/json-glib.mk @@ -4,8 +4,8 @@ # ################################################################################ -JSON_GLIB_VERSION_MAJOR = 1.6 -JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).6 +JSON_GLIB_VERSION_MAJOR = 1.8 +JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).0 JSON_GLIB_SITE = https://download.gnome.org/sources/json-glib/$(JSON_GLIB_VERSION_MAJOR) JSON_GLIB_SOURCE = json-glib-$(JSON_GLIB_VERSION).tar.xz JSON_GLIB_LICENSE = LGPL-2.1+ @@ -25,6 +25,12 @@ else JSON_GLIB_CONF_OPTS += -Dintrospection=disabled endif +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +JSON_GLIB_CONF_OPTS += -Dnls=enabled +else +JSON_GLIB_CONF_OPTS += -Dnls=disabled +endif + JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) $(eval $(meson-package))