package/yq: new package

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Devoogdt
2025-12-01 12:26:20 +01:00
committed by Thomas Petazzoni
parent 814eef2adf
commit 306138d415
5 changed files with 28 additions and 0 deletions
+1
View File
@@ -3194,6 +3194,7 @@ F: package/vuejs-router/
N: Thomas Devoogdt <thomas@devoogdt.com>
F: package/fluent-bit/
F: package/libsoup3/
F: package/yq/
N: Thomas Huth <th.huth+br@posteo.eu>
F: package/ascii-invaders/
+1
View File
@@ -203,6 +203,7 @@ menu "Development tools"
source "package/tree/Config.in"
source "package/unifdef/Config.in"
source "package/yasm/Config.in"
source "package/yq/Config.in"
endmenu
menu "Filesystem and flash utilities"
+10
View File
@@ -0,0 +1,10 @@
config BR2_PACKAGE_YQ
bool "yq"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_HOST_GO
help
A lightweight and portable command-line YAML, JSON, INI
and XML processor, yq uses jq (a popular JSON processor)
like syntax.
https://mikefarah.gitbook.io/yq/
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 291334bc00863c144098b5b0a723a5c769df115c46938e17920917aa24776591 yq-4.49.2-go2.tar.gz
sha256 697db34dabb21562fe84487a2ccd031fbd45382b89c2cbdec8ef31682c486040 LICENSE
+13
View File
@@ -0,0 +1,13 @@
################################################################################
#
# yq
#
################################################################################
YQ_VERSION = 4.49.2
YQ_SITE = $(call github,mikefarah,yq,v$(YQ_VERSION))
YQ_LICENSE = MIT
YQ_LICENSE_FILES = LICENSE
YQ_GOMOD = github.com/mikefarah/yq/v4
$(eval $(golang-package))