![Adam Duskett](/assets/img/avatar_default.png)
If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt -Dintrospection=true. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
30 lines
867 B
Makefile
30 lines
867 B
Makefile
################################################################################
|
|
#
|
|
# json-glib
|
|
#
|
|
################################################################################
|
|
|
|
JSON_GLIB_VERSION_MAJOR = 1.4
|
|
JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).4
|
|
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_DEPENDENCIES = \
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
host-pkgconf \
|
|
libglib2
|
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
JSON_GLIB_CONF_OPTS += -Dintrospection=true
|
|
JSON_GLIB_DEPENDENCIES += gobject-introspection
|
|
else
|
|
JSON_GLIB_CONF_OPTS += -Dintrospection=false
|
|
endif
|
|
|
|
JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
$(eval $(meson-package))
|