2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-18 12:29:03 +01:00
|
|
|
#
|
|
|
|
# json-glib
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-18 12:29:03 +01:00
|
|
|
|
2022-03-20 18:12:59 +01:00
|
|
|
JSON_GLIB_VERSION_MAJOR = 1.6
|
|
|
|
JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).6
|
2023-01-19 11:05:52 +01:00
|
|
|
JSON_GLIB_SITE = https://download.gnome.org/sources/json-glib/$(JSON_GLIB_VERSION_MAJOR)
|
2013-02-18 12:29:03 +01:00
|
|
|
JSON_GLIB_SOURCE = json-glib-$(JSON_GLIB_VERSION).tar.xz
|
2017-03-30 15:43:34 +02:00
|
|
|
JSON_GLIB_LICENSE = LGPL-2.1+
|
2013-02-18 12:29:03 +01:00
|
|
|
JSON_GLIB_LICENSE_FILES = COPYING
|
|
|
|
JSON_GLIB_INSTALL_STAGING = YES
|
2022-03-20 18:12:59 +01:00
|
|
|
JSON_GLIB_CONF_OPTS = -Dgtk_doc=disabled -Dtests=false
|
2013-02-18 12:29:03 +01:00
|
|
|
|
|
|
|
JSON_GLIB_DEPENDENCIES = \
|
2017-07-03 22:49:51 +02:00
|
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
2013-02-18 12:29:03 +01:00
|
|
|
host-pkgconf \
|
|
|
|
libglib2
|
|
|
|
|
2020-04-01 02:21:27 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
2022-03-20 18:12:59 +01:00
|
|
|
JSON_GLIB_CONF_OPTS += -Dintrospection=enabled
|
2020-04-01 02:21:27 +02:00
|
|
|
JSON_GLIB_DEPENDENCIES += gobject-introspection
|
|
|
|
else
|
2022-03-20 18:12:59 +01:00
|
|
|
JSON_GLIB_CONF_OPTS += -Dintrospection=disabled
|
2020-04-01 02:21:27 +02:00
|
|
|
endif
|
2019-07-15 19:18:01 +02:00
|
|
|
|
2019-07-02 08:11:12 +02:00
|
|
|
JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
|
2018-06-09 11:59:28 +02:00
|
|
|
$(eval $(meson-package))
|