dev-util/jcode-bin: new package, add 0.99.1

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-11-14 21:40:48 +11:00
1 parent f270206304
commit b63dec1d6c
4 files changed
+68

No files matched your search

+7
View File
@@ -1420,6 +1420,13 @@ use_latest_release = true
prefix = "v"
autobump = true
["dev-util/jcode-bin"]
source = "github"
github = "1jehuang/jcode"
use_latest_release = true
prefix = "v"
github_account = "Zakkaus"
# TODO:
# https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release
["dev-util/jetbrains-toolbox"]
+2
View File
@@ -0,0 +1,2 @@
DIST jcode-bin-0.99.1-amd64.tar.gz 56203997 BLAKE2B 94b752ce911dbe22b67b2a3208205d76f1355735886b0c1d3aae88295c94335cb997bf37d8a868f8994193785f81f30158074c617c04316fa07ad31237776443 SHA512 4548d38d9f6dfd2a3c7aa6171c41b87751c1d844306d54b9a6eb3bb1749cedac03901a3e950997e413397281e9cd5cb29d69a58b0508cd40b73bd7c6b32d3988
DIST jcode-bin-0.99.1-arm64.tar.gz 56492546 BLAKE2B dc5677c835627d8f5b57e58ed6777bf0943684620de03d28a4c15a5851ed023bb6154369b8bc9ff1b00c256bf3704928716d50c9b8bd5f2277798766815e9631 SHA512 28ea3b7f9e3000a184c3125fa71d8f8e258c81b129a76ecdb51b5425d0d77212f595ee6e94af8d45b9608cae515cce81cc8b1f1dd6579fe1c9c936eb4f86ed52
@@ -0,0 +1,48 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN%-bin}"
URI_PREFIX="https://github.com/1jehuang/${MY_PN}/releases/download/v${PV}"
DESCRIPTION="Coding agent CLI for Claude, ChatGPT and other model providers (prebuilt binary)"
HOMEPAGE="https://github.com/1jehuang/jcode"
SRC_URI="
amd64? ( ${URI_PREFIX}/${MY_PN}-linux-x86_64.tar.gz -> ${P}-amd64.tar.gz )
arm64? ( ${URI_PREFIX}/${MY_PN}-linux-aarch64.tar.gz -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 BlueOak-1.0.0
Boost-1.0 CC0-1.0 CDLA-Permissive-2.0 ISC MIT-0 MPL-2.0 Unicode-3.0
Unicode-DFS-2016 Unlicense WTFPL-2 ZLIB
"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RDEPEND="
amd64? ( >=sys-libs/glibc-2.17 )
arm64? (
dev-libs/openssl:0/3
>=sys-libs/glibc-2.39
)
"
QA_PREBUILT="usr/bin/${MY_PN}"
src_install() {
if use amd64; then
newbin ${MY_PN}-linux-x86_64.bin ${MY_PN}
else
newbin ${MY_PN}-linux-aarch64 ${MY_PN}
fi
}
pkg_postinst() {
elog "jcode sends anonymous usage telemetry by default."
elog "Run 'jcode telemetry disable' or set JCODE_NO_TELEMETRY=1 to turn it off."
}
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zakk@gentoozh.org</email>
<name>Zakk</name>
</maintainer>
<upstream>
<remote-id type="github">1jehuang/jcode</remote-id>
</upstream>
</pkgmetadata>