initial buildroot for linux 5.15
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
# From http://ftp.gnome.org/pub/GNOME/sources/json-glib/1.4/json-glib-1.4.4.sha256sum
|
||||
sha256 720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47 json-glib-1.4.4.tar.xz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING
|
||||
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user