dev-util/t3code-bin: add 0.1.0, drop 0.0.45
Upstream renamed the release channel, so the .deb now installs to /opt/T3 Code (Beta) instead of /opt/T3 Code (Alpha). Because src_prepare and src_install address that directory by name, both are updated. Upstream also ships @cursor/sdk-linux-<arch> under resources/node_modules (cursorsandbox, rg and tree-sitter binding.node, all static or linked only to glibc and libgcc_s). Add them to QA_PREBUILT, like the existing app.asar.unpacked/node_modules entry, because they are immutable upstream blobs. The new usr/share/metainfo file is not installed: its launchable is t3code.desktop, but the ebuild installs the desktop file as com.t3tools.T3Code.desktop. Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
533a815d3a
commit
7584d011fa
2 files changed
+5
-4
No files matched your search
@@ -1,2 +1,2 @@
|
||||
DIST T3-Code-0.0.45-amd64.deb 124811004 BLAKE2B 1582a58ca12153926046f4408c7177da5dc36271d9ca94a8b21bf99f83bf9b0c9ca38819260ad19e5c656bd2d08b5be8542acb81c53d34b4a298d51f814a9b58 SHA512 008aee786d654fc93e5bf661f6ca5fc3147ea0aebf772fd10e85d356b148492e2a80efd32d560a121f91fdc358cce8603258050fbf572e7c2e007e065dd56f74
|
||||
DIST T3-Code-0.0.45-arm64.deb 118096568 BLAKE2B a24d03873cea8643f96047935964e45cdbf1ecd8b4a7a464ea1b2ad9dbf12c51a69a412f8d16ed62ada77d7c31ca754927a768263f4084b526a09b52a273fa8f SHA512 ab758cba16e38321a219d3746ba0f23aac1bc6e7e1965ca989d672bf2211da0b6fabbc31ceb85e0984ccf25f31ec3591a109666c6fb4628bc5128743556858e0
|
||||
DIST T3-Code-0.1.0-amd64.deb 138440028 BLAKE2B 2d8cd340b4ca2d93f71ab95087a5710c1227e1135526ce7db154530669fa80eb111940f97e967a92d1aad7781bc75e2c9ed115eeef2b26417aad5fe53806bf52 SHA512 9014e851b4c22a3ad437c70bff5188dde48c724b70ed94008240ea6081d757b142a388a9c4b23b38a3736d4672f903efb4df64aebdd00d533393c6ff996b5b08
|
||||
DIST T3-Code-0.1.0-arm64.deb 129399200 BLAKE2B a4d967b309cfb1ec4e23a191f062c19b26f828749e04be21cd3ee1aeab4f7bc0db4a0b46d949a52198bc24d8fafd8c16803b2f6b400d652b68b69c5570d759d1 SHA512 29d0ea641ef54d4f434aac870a1c3dd3f5b276bcc738f20ba872db1b59e92e9fdec23989a73ffb171521b538612d69514b635a1ba560e8332f4d4ab002a1a100
|
||||
+3
-2
@@ -57,11 +57,12 @@ QA_PREBUILT="
|
||||
opt/${PN}/resources/kde-capture/t3-kde-snap-shot
|
||||
opt/${PN}/resources/resource-monitor/t3-resource-monitor
|
||||
opt/${PN}/resources/app.asar.unpacked/node_modules/*
|
||||
opt/${PN}/resources/node_modules/*
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
local app="opt/T3 Code (Alpha)" modules="opt/T3 Code (Alpha)/resources/app.asar.unpacked/node_modules"
|
||||
local app="opt/T3 Code (Beta)" modules="opt/T3 Code (Beta)/resources/app.asar.unpacked/node_modules"
|
||||
# Electron requires glibc; these musl libraries and foreign prebuilds are never loaded.
|
||||
rm -r "${modules}"/@ff-labs/fff-bin-linux-*-musl || die
|
||||
if use amd64; then
|
||||
@@ -77,7 +78,7 @@ src_prepare() {
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${PN}
|
||||
cp -r "opt/T3 Code (Alpha)/." "${ED}/opt/${PN}/" || die
|
||||
cp -r "opt/T3 Code (Beta)/." "${ED}/opt/${PN}/" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
printf '#!/bin/sh\nexport T3CODE_DISABLE_AUTO_UPDATE=true\nexec "%s/opt/%s/t3code" "$@"\n' \
|
||||
Reference in new issue
Block a user