package/json-glib: bump to version 1.8.0
Handle new nls option added by
31998d84cb
https://download.gnome.org/sources/json-glib/1.8/json-glib-1.8.0.news
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
b54c17bb71
commit
8a170b8446
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user