@@ -2821,6 +2821,9 @@ F: package/reproc/
F: package/termcolor/
F: package/tl-expected/
+N: Takumi Takahashi <takumiiinn@gmail.com>
+F: package/itstool/
+
N: Tan En De <ende.tan@starfivetech.com>
F: package/libkcapi/
@@ -51,6 +51,7 @@ menu "Host utilities"
source "package/imagemagick/Config.in.host"
source "package/imx-mkimage/Config.in.host"
source "package/imx-usb-loader/Config.in.host"
+ source "package/itstool/Config.in.host"
source "package/jh71xx-tools/Config.in.host"
source "package/jq/Config.in.host"
source "package/jsmin/Config.in.host"
new file mode 100644
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_HOST_ITSTOOL
+ bool "host itstool"
+ select BR2_PACKAGE_HOST_PYTHON3
+ select BR2_PACKAGE_HOST_LIBXML2
+ help
+ ITS Tool allows you to translate your XML documents with
+ PO files, using rules from the W3C Internationalization
+ Tag Set (ITS) to determine what to translate and how to
+ separate it into PO file messages.
+
+ https://itstool.org/
new file mode 100644
@@ -0,0 +1,4 @@
+# Locally computed
+sha256 fba78a37dc3535e4686c7f57407b97d03c676e3a57beac5fb2315162b0cc3176 itstool-2.0.7.tar.gz
+sha256 f907bf6e8a3f4911af6904597c9dcb6b415ab2facf8d403fa3c5afa1f533ab90 COPYING
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.GPL3
new file mode 100644
@@ -0,0 +1,15 @@
+################################################################################
+#
+# itstool
+#
+################################################################################
+
+ITSTOOL_VERSION = 2.0.7
+ITSTOOL_SITE = $(call github,itstool,itstool,$(ITSTOOL_VERSION))
+ITSTOOL_LICENSE = GPL-3.0+
+ITSTOOL_LICENSE_FILES = COPYING COPYING.GPL3
+HOST_ITSTOOL_DEPENDENCIES = host-python3 host-libxml2
+
+ITSTOOL_AUTORECONF = YES
+
+$(eval $(host-autotools-package))