Initial Commit
- initial default booting image
This commit is contained in:
16
package/json-glib/Config.in
Normal file
16
package/json-glib/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_JSON_GLIB
|
||||
bool "json-glib"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
JSON-GLib is a library providing serialization and
|
||||
deserialization support for the JavaScript Object Notation
|
||||
(JSON) format described by RFC 4627.
|
||||
|
||||
https://live.gnome.org/JsonGlib/
|
||||
|
||||
comment "json-glib needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
9
package/json-glib/json-glib.hash
Normal file
9
package/json-glib/json-glib.hash
Normal file
@@ -0,0 +1,9 @@
|
||||
# From https://download.gnome.org/sources/json-glib/1.10/json-glib-1.10.8.sha256sum
|
||||
sha256 55c5c141a564245b8f8fbe7698663c87a45a7333c2a2c56f06f811ab73b212dd json-glib-1.10.8.tar.xz
|
||||
|
||||
# Hashes for license files
|
||||
sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 LICENSES/CC0-1.0.txt
|
||||
sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb LICENSES/LGPL-2.1-or-later.txt
|
||||
sha256 b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0 LICENSES/MIT.txt
|
||||
# symlink to LICENSES/LGPL-2.1-or-later.txt
|
||||
sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb COPYING
|
||||
49
package/json-glib/json-glib.mk
Normal file
49
package/json-glib/json-glib.mk
Normal file
@@ -0,0 +1,49 @@
|
||||
################################################################################
|
||||
#
|
||||
# json-glib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JSON_GLIB_VERSION_MAJOR = 1.10
|
||||
JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).8
|
||||
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+, MIT (conformance test data), CC0-1.0 (parts of build system, metadata, translations)
|
||||
JSON_GLIB_LICENSE_FILES = LICENSES/CC0-1.0.txt \
|
||||
LICENSES/LGPL-2.1-or-later.txt \
|
||||
LICENSES/MIT.txt \
|
||||
COPYING
|
||||
JSON_GLIB_INSTALL_STAGING = YES
|
||||
JSON_GLIB_CONF_OPTS = -Dgtk_doc=disabled -Dtests=false
|
||||
|
||||
JSON_GLIB_DEPENDENCIES = \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-pkgconf \
|
||||
libglib2
|
||||
|
||||
HOST_JSON_GLIB_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-libglib2
|
||||
|
||||
HOST_JSON_GLIB_CONF_OPTS = \
|
||||
-Dgtk_doc=disabled \
|
||||
-Dtests=false \
|
||||
-Dintrospection=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
JSON_GLIB_CONF_OPTS += -Dintrospection=enabled
|
||||
JSON_GLIB_DEPENDENCIES += gobject-introspection
|
||||
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))
|
||||
$(eval $(host-meson-package))
|
||||
Reference in New Issue
Block a user