mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/upterm: add 0.21.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST upterm-0.20.0-vendor.tar.xz 3932452 BLAKE2B 813b6cdc050efe73eeb3bdc515faaee
|
||||
DIST upterm-0.20.0.tar.gz 161410 BLAKE2B d80940f84ddc2e82f160c57746a18d53d0360eb80e855e19057e5fb3a6a241ce00e85048f74aa26c5b89a8a24e8f228e9232325f48302ab15d653925d251e1d3 SHA512 7430f9f8d3b6dd5997593575497a1b65327df5b3b0624cd636e9e425b76e8943b926cb189a3050bc18e6bf15764328d86aed20651af117f91295480a6fd578a5
|
||||
DIST upterm-0.21.0-vendor.tar.xz 3732988 BLAKE2B f222c5464e823218706e5f0a4ca887c6bd955925f58c4ea3d2df0a388cbdbc84183c99306d0a628a7aee7eb30ecf8f90217a8d15df5f071669521113c6646727 SHA512 fec48ed938db3441b4fe04dca7b294b53c583745e084aaa22e3b55191b0629e964a6995185b87c2194ed606af1100ef046b77f20ed757ce5f7746c6a32cb6f5d
|
||||
DIST upterm-0.21.0.tar.gz 169143 BLAKE2B 0733e44305b79f53e416a511ca009429d60fa24c3311bfe555f033a2602c61abf3ef452e9810bf6fceb3ee9c53f765f129272fb0e8dea6b60a685779ea3ff9c3 SHA512 62a0e1485fd331f1ce9c1bdeebdddf7037b7a1daf43031a5be6a5d1fc0f7f3a63c1aafc885025b66fc70af006ed3e6e8597b37fde1f3facb421d4596836a35ce
|
||||
DIST upterm-0.21.1-vendor.tar.xz 3736752 BLAKE2B ecd54411c077f0a1caecbddd680374d0cfdf7239f876cd9a5363382ec53df67e16b90bf260c41cb5d70eacc699d43cc332d681c871de17e5e2f1893d1c351c22 SHA512 0582a3ef4a5ee4f21de42fbb96c6e9d6dbaed35ac28912ddb9277ebbdc158861a9a4b654d69f528a01e90a7763d33a2fdb9ab6f87318378bb975b80c2abf9f47
|
||||
DIST upterm-0.21.1.tar.gz 170456 BLAKE2B 7dcc203cf22f492a8c1d9268e3514ae9ea6507ee7bd26c06da7dd9179c5476e33b03f9cb02f22cba3716af68231ed5ad971a905e00d248f6b6c3fcdda3161336 SHA512 61f1421469a61d4d5f35250c586199e793eedde7f0e2100f504c52cf2aa2dd3cb3ca53db328bf84e667a97a82a477ee98480ee589b9ffef1845066044fc88fa7
|
||||
|
||||
50
app-misc/upterm/upterm-0.21.1.ebuild
Normal file
50
app-misc/upterm/upterm-0.21.1.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module shell-completion systemd
|
||||
|
||||
DESCRIPTION="Instant Terminal Sharing"
|
||||
HOMEPAGE="https://upterm.dev/"
|
||||
SRC_URI="https://github.com/owenthereal/upterm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-golang-dist/upterm/releases/download/v${PV}/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent licenses
|
||||
LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 MIT MPL-2.0 Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="server test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.25.4
|
||||
test? (
|
||||
app-editors/vim
|
||||
app-shells/bash
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
local BINS=( ./cmd/upterm )
|
||||
use server && BINS+=( ./cmd/uptermd )
|
||||
ego build -o bin/ "${BINS[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test -vet=off -timeout=120s ./{cmd,server,io,host,memlistener,routing,internal,ftests}/...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/upterm
|
||||
doman etc/man/man1/*
|
||||
|
||||
newbashcomp etc/completion/upterm.bash_completion.sh upterm
|
||||
newzshcomp etc/completion/upterm.zsh_completion _upterm
|
||||
|
||||
if use server; then
|
||||
dobin bin/uptermd
|
||||
systemd_dounit systemd/uptermd.service
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user