mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
app-misc/upterm: add 0.18.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
a5955db0fd
commit
3b1b3d4857
@ -2,3 +2,5 @@ DIST upterm-0.15.3-vendor.tar.xz 3522576 BLAKE2B 3858321b5e1c250369604fb72ccbc2a
|
||||
DIST upterm-0.15.3.tar.gz 133923 BLAKE2B 26e18331a78956731867c15ae386c2d8649c7c340d8ff2232182555dc0683362b471c65fb1430d90d3cee7afbd2fa646f3274a51b0fdc0c7cd964f36d64e7557 SHA512 ad8383429f2595c83acd3152331bafd62137affcc7187bfa9ddbce443b16d8b0340102533199048e48ead05da7fbdcc285448f690fb786cba95b369e6e947b30
|
||||
DIST upterm-0.17.0-vendor.tar.xz 3714740 BLAKE2B 65e2e5ca11feba9431027d68709784ef3b448d87324b3aed7d4da211c6c8738e38b91c144ed71f5aaa1952b115c780359ca25cbd5d2f0a391dd1d28b3b84df1b SHA512 53a90b8a649451535b601a187c5cf0db0cd9afe7bc846b226a1aebb331dc6f33a0718e1db2967ad33a6c9e1de94dc155ee739495a87143f0e732250091379ea8
|
||||
DIST upterm-0.17.0.tar.gz 141342 BLAKE2B dc55641af9b4b0fd9adda203d86cf81ec3575c61b5fb8ffddb06c0edb090e3da27674f919dc53705d86f51210a3a231050636da6d2c8c78e6db5b43606daec9f SHA512 1178949b38817fd5b80cb7864b5fe9f2ea6af41dcca19ad43f943cc06b6416438ac2a2f611f593583bb535c11b3b7d7c67bf57b5e122b3fa883ccc2806596efb
|
||||
DIST upterm-0.18.0-vendor.tar.xz 3779868 BLAKE2B 846155c764437dbba34efbcf30424ee6bec077deac5a8753d528fd592758b684c7cc98145f6d0bc4bd4766eb55804fe20dfc995f3f618786de18291502034304 SHA512 716ba8ee951450320bb6aa5df3e9e27c9fd0f82cf8ea7d39dacad11da056ebfbb91f6c1f3f8bff50164e6145139125a797d86662a7eb281f694916c8d96516b9
|
||||
DIST upterm-0.18.0.tar.gz 153200 BLAKE2B 08d281a35590dfa1e1df546873ac3903cd3848c83d80fae4d50161a6088299590e3624e989a7418aa5997a04e55e85115d9d5335f0f7d01d73b0c73013af5b15 SHA512 8cf4362bca36b1ce1aff9f48fc4a867a678bcf77de440413716207439cde8f3f91b5d6b2b4a265cdc253663ef3019e1de0876ef3aa4a77d28c74a6bcb359e471
|
||||
|
||||
50
app-misc/upterm/upterm-0.18.0.ebuild
Normal file
50
app-misc/upterm/upterm-0.18.0.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 2025 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user