Initial Commit
- initial default booting image
This commit is contained in:
17
package/libxmlb/Config.in
Normal file
17
package/libxmlb/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_LIBXMLB
|
||||
bool "libxmlb"
|
||||
depends on !BR2_STATIC_LIBS # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
The libxmlb library takes XML source, and converts it
|
||||
to a structured binary representation with a deduplicated
|
||||
string table where the strings have the NULs included.
|
||||
|
||||
https://github.com/hughsie/libxmlb
|
||||
|
||||
comment "libxmlb needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
4
package/libxmlb/libxmlb.hash
Normal file
4
package/libxmlb/libxmlb.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://github.com/hughsie/libxmlb/releases/tag/0.3.27
|
||||
sha256 63fa0275f7454d77c10e0af37f79dfdb071821caf429a57dbd9598ea3a9defd6 libxmlb-0.3.27.tar.xz
|
||||
# Locally computed:
|
||||
sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 LICENSE
|
||||
37
package/libxmlb/libxmlb.mk
Normal file
37
package/libxmlb/libxmlb.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# libxmlb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBXMLB_VERSION = 0.3.27
|
||||
LIBXMLB_SITE = https://github.com/hughsie/libxmlb/releases/download/$(LIBXMLB_VERSION)
|
||||
LIBXMLB_SOURCE = libxmlb-$(LIBXMLB_VERSION).tar.xz
|
||||
LIBXMLB_LICENSE = LGPL-2.1+
|
||||
LIBXMLB_LICENSE_FILES = LICENSE
|
||||
LIBXMLB_INSTALL_STAGING = YES
|
||||
LIBXMLB_DEPENDENCIES = libglib2
|
||||
LIBXMLB_CONF_OPTS = -Dgtkdoc=false -Dtests=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
LIBXMLB_CONF_OPTS += -Dintrospection=true
|
||||
LIBXMLB_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
LIBXMLB_CONF_OPTS += -Dintrospection=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
||||
LIBXMLB_DEPENDENCIES += zstd
|
||||
LIBXMLB_CONF_OPTS += -Dzstd=enabled
|
||||
else
|
||||
LIBXMLB_CONF_OPTS += -Dzstd=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XZ),y)
|
||||
LIBXMLB_DEPENDENCIES += xz
|
||||
LIBXMLB_CONF_OPTS += -Dlzma=enabled
|
||||
else
|
||||
LIBXMLB_CONF_OPTS += -Dlzma=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user