Install this version:
emerge -a =app-misc/ijq-1.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/ijq-1.4.0
Or alternatively:
emerge --autounmask-write -a =app-misc/ijq-1.4.0
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
# bumping: watch Makefile for changes, and update src_install, src_test, and
# maybe src_compile accordingly
DESCRIPTION="Interactive jq tool"
HOMEPAGE="https://codeberg.org/gpanders/ijq"
# TODO: 9999
SRC_URI="
https://codeberg.org/gpanders/ijq/archive/v${PV}.tar.gz -> ${P}.tar.gz
mirror://jacksonchen666/${P}-vendor.tar.xz
"
# TODO: unbundling? (3 occurrences of #cgo but build success)
S="${WORKDIR}/${PN}"
LICENSE="GPL-3+"
# go deps, checked ijq 1.1.2
LICENSE+=" BSD MIT Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
#DEPEND=""
RDEPEND="
${DEPEND}
app-misc/jq
"
BDEPEND="
app-text/scdoc
>=dev-lang/go-1.26
"
src_prepare() {
default
# remove seemingly stripping related flags
sed -i 's/-ldflags="-s -w /-ldflags="/' Makefile || die "makefile sed failed"
}
src_compile() {
emake VERSION="${PVR}" ijq
emake docs
}
src_install() {
dodoc README.md
dobin ijq
doman ijq.1
}
src_test() {
ego test -v .
}
| Mirror Name | URLs |
|---|---|
| jacksonchen666 |
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ijq-1.4.0-vendor.tar.xz | 2262880 bytes | mirror://jacksonchen666/ijq-1.4.0-vendor.tar.xz |
| DIST | ijq-1.4.0.tar.gz | 3356451 bytes | https://codeberg.org/gpanders/ijq/archive/v1.4.0.tar.gz |