commit:     43db47bbb8a2bd0c410f57cbcc8e430e053d746d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 25 17:24:01 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 25 17:34:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43db47bb

app-misc/upterm: add 0.19.0

Closes: https://bugs.gentoo.org/966391
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-misc/upterm/Manifest             |  2 ++
 app-misc/upterm/upterm-0.19.0.ebuild | 50 ++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-misc/upterm/Manifest b/app-misc/upterm/Manifest
index b643f8e5036c..c671ab8b7242 100644
--- a/app-misc/upterm/Manifest
+++ b/app-misc/upterm/Manifest
@@ -2,3 +2,5 @@ DIST upterm-0.17.0-vendor.tar.xz 3714740 BLAKE2B 
65e2e5ca11feba9431027d68709784e
 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
+DIST upterm-0.19.0-vendor.tar.xz 3928796 BLAKE2B 
39fa1fa12984e85a299cac080dddbb08568c2ded2bf4f4cbaf5d3424aee0d155f672ad8ef7546c922a08d8bfea377683e1462a050fdc54ace46629f1b9944f46
 SHA512 
d74712ad6459b2bc74ebdfa065c7734f04624a4145a96f93ba3b51a4dd730a3e0563549d6dbbc35356c6c1c3d32810e09f88851bec568eb47565d6f34f6100a5
+DIST upterm-0.19.0.tar.gz 160052 BLAKE2B 
502b1abcca498f5fdf33ac7bb3b889bce0c1daa1865cab94ebaa7a6a44ee98cab0f7c113a639978abc4080f366e19b7de0732f61d879825b95b48eb9afad90f3
 SHA512 
3855c672e620586b5b8f0d34cd817ddb5521101cdabf9b1115e65991a47e968c5467d46c2a0a433ff90c849e225ab0901e2766762cdf4fbf1a7cf40c483e768f

diff --git a/app-misc/upterm/upterm-0.19.0.ebuild 
b/app-misc/upterm/upterm-0.19.0.ebuild
new file mode 100644
index 000000000000..668bda9b9d9c
--- /dev/null
+++ b/app-misc/upterm/upterm-0.19.0.ebuild
@@ -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
+}

Reply via email to