summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/jq/jq_1.8.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-09-02 15:54:12 +0530
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-07 07:37:56 +0200
commitbd42142b14f39a85a11783d1e34c9e23949bd6d1 (patch)
treea6e3be87e8034f3a46f93a55a5067048f5f22b48 /meta-oe/recipes-devtools/jq/jq_1.8.1.bb
parentd1b8b7e0685fc7cb802c0443a482fa362230abe4 (diff)
downloadmeta-openembedded-bd42142b14f39a85a11783d1e34c9e23949bd6d1.tar.gz
jq: upgrade 1.8.0 -> 1.8.1
License-Update: Add LICENSE notice of NetBSD's strptime() to COPYING Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/jq/jq_1.8.1.bb')
-rw-r--r--meta-oe/recipes-devtools/jq/jq_1.8.1.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/jq/jq_1.8.1.bb b/meta-oe/recipes-devtools/jq/jq_1.8.1.bb
new file mode 100644
index 0000000000..b9383c76f7
--- /dev/null
+++ b/meta-oe/recipes-devtools/jq/jq_1.8.1.bb
@@ -0,0 +1,48 @@
1SUMMARY = "Lightweight and flexible command-line JSON processor"
2DESCRIPTION = "jq is like sed for JSON data, you can use it to slice and \
3 filter and map and transform structured data with the same \
4 ease that sed, awk, grep and friends let you play with text."
5HOMEPAGE = "https://jqlang.github.io/jq/"
6BUGTRACKER = "https://github.com/jqlang/jq/issues"
7SECTION = "utils"
8LICENSE = "MIT & BSD-2-Clause"
9LIC_FILES_CHKSUM = "file://COPYING;md5=cf7fcb0a1def4a7ad62c028f7d0dca47"
10
11GITHUB_BASE_URI = "https://github.com/jqlang/${BPN}/releases/"
12SRC_URI = "${GITHUB_BASE_URI}/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
13 file://run-ptest \
14 "
15SRC_URI[sha256sum] = "2be64e7129cecb11d5906290eba10af694fb9e3e7f9fc208a311dc33ca837eb0"
16
17inherit autotools github-releases ptest
18
19UPSTREAM_CHECK_REGEX = "releases/tag/${BPN}-(?P<pver>\d+(\.\d+)+)"
20
21PACKAGECONFIG ?= "oniguruma"
22
23PACKAGECONFIG[docs] = "--enable-docs,--disable-docs,ruby-native"
24PACKAGECONFIG[maintainer-mode] = "--enable-maintainer-mode,--disable-maintainer-mode,flex-native bison-native"
25PACKAGECONFIG[oniguruma] = "--with-oniguruma,--without-oniguruma,onig"
26# enable if you want ptest running under valgrind
27PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind"
28
29do_configure:append() {
30 sed -i -e "/^ac_cs_config=/ s:${WORKDIR}::g" ${B}/config.status
31}
32
33do_install_ptest() {
34 cp -rf ${S}/tests ${D}${PTEST_PATH}
35 cp -rf ${B}/.libs ${D}${PTEST_PATH}
36 # libjq.so.* is packaged in the main jq component, so remove it from ptest
37 rm -f ${D}${PTEST_PATH}/.libs/libjq.so.*
38 ln -sf ${bindir}/jq ${D}${PTEST_PATH}
39 if [ "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'true', 'false', d)}" = "false" ]; then
40 sed -i 's:#export NO_VALGRIND=1:export NO_VALGRIND=1:g' ${D}${PTEST_PATH}/run-ptest
41 fi
42 # handle multilib
43 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
44}
45
46RDEPENDS:${PN}-ptest += "tzdata"
47
48BBCLASSEXTEND = "native"