summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2022-12-10 22:09:55 +0100
committerViorel Munteanu <ceamac@gentoo.org>2022-12-23 13:02:39 +0200
commitacdb5d6688ef4582a4a512c922cf092cd0d45d2d (patch)
tree8a6124039ab659d707e28474f333bab811f3c610 /net-im/signal-cli-bin
parentdev-util/clion: bump to 2022.3 (diff)
downloadgentoo-acdb5d6688ef4582a4a512c922cf092cd0d45d2d.tar.gz
gentoo-acdb5d6688ef4582a4a512c922cf092cd0d45d2d.tar.bz2
gentoo-acdb5d6688ef4582a4a512c922cf092cd0d45d2d.zip
net-im/signal-cli-bin: add 0.11.5.1
Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/28645 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im/signal-cli-bin')
-rw-r--r--net-im/signal-cli-bin/Manifest3
-rw-r--r--net-im/signal-cli-bin/metadata.xml3
-rw-r--r--net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild54
3 files changed, 60 insertions, 0 deletions
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
index 8f0ff3a60eda..5c35d97cf7e0 100644
--- a/net-im/signal-cli-bin/Manifest
+++ b/net-im/signal-cli-bin/Manifest
@@ -1,3 +1,6 @@
DIST signal-cli-bin-0.11.3.README.md 5826 BLAKE2B 332d4bff484c470b2e02df28a8666958d72fd2d7a6ee97ae6df8eaadd082bf348ba54a2e1f223a70038eb7521626d3e1dddfb65e049b82769c2d8b5a031b5c89 SHA512 cd3da3ffe8e57c51dd03bbd16f73f3e61a415585e59bc686d13fbb8628ed8e74503ef7e2abd1734a6d5d03db051ee357628724d1906274726c4c3d27dd9fc47a
DIST signal-cli-bin-0.11.3.signal-cli.1.adoc 21488 BLAKE2B 1ce485a6e49335bf723ffdac83658c0805fdc001cd4e722a50704e5ae34c1123af69519d72b38abb6da237bfd7dcf272f7891ecb5a3ff798a98d2e03daae8ff7 SHA512 2880a89959d18db0204d2505bd15d853cce0991f48ccf6a417c002f2b32d123f3008a994677132a72411125554125dd7a3a559a461d5bfb97122b6e63408ac14
DIST signal-cli-bin-0.11.3.tar.gz 38793761 BLAKE2B 23f879b41125538430f633958c4e9929b50f96a2152a72bbf4ba91dc6c653c8a014ba00a1fcf3327cb88e661d494cc3dcd88c30373de232bb36835936d24541a SHA512 5834fa15ec93738b98db6f11bf8ee04d7f1b4a3bcd594b9c943a2669e9b8ac1dc28c4b0c328caa1cb740de8add1b61e7e4e9d5155a3c1b747877333a28342bf5
+DIST signal-cli-bin-0.11.5.1.README.md 5825 BLAKE2B f365bffd62c2b07bded1f94cd522131f5ab7fabbf904ca0d676d5990588bd82bb41eec87a469728742da499666459e06b428e0e3e0fc7259b635dd46d6f40948 SHA512 2c575c6670add7a5a700ba4d370862b4bdb2ebeed39a30bbc6526c08d4fa97c29cc673c06c35761955bbc6fd16be55c0031eb4244af7e1bb6d085ab00b22e985
+DIST signal-cli-bin-0.11.5.1.signal-cli.1.adoc 22747 BLAKE2B 30ba81b6f3df7b404d2612362eb434bdab668abf2f93a7fddc730f1b815376ca7b3e96344e68d7b3c8e7ca210924fecebd97e6e8f885d31540c372a8f2c3c7fb SHA512 c0b889c181e1894e009bbcaf908fc28d9d957ee5d6d3a9cdd0d33121b4714a5bc6d45ec88e6e3b03cc3bd3906eb9f940daa03b5c066d749ec79941f8a420bbd1
+DIST signal-cli-bin-0.11.5.1.tar.gz 38945062 BLAKE2B c03cbb96236e2dc6c1f87f1afec0d96f753c2231735501f49299efc52ff50e8041db9d01fb5d541f791f16796b9322041d099feaaca55a19a04037f5aea3510f SHA512 297a8955465e5ee6f5277d2c8ac08467a10c7a7a4638497b82b7d24e6331ce1acade974877e8dad06fa9ca7f46a7bf815a4368b4c78887db735911b03bbd2408
diff --git a/net-im/signal-cli-bin/metadata.xml b/net-im/signal-cli-bin/metadata.xml
index f16c98dc3065..f5f6cad1d122 100644
--- a/net-im/signal-cli-bin/metadata.xml
+++ b/net-im/signal-cli-bin/metadata.xml
@@ -9,4 +9,7 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">AsamK/signal-cli</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild
new file mode 100644
index 000000000000..dc6a8d1a157e
--- /dev/null
+++ b/net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="signal-cli-${PV}"
+DESCRIPTION="Send and receive messages of Signal Messenger over a command line interface"
+HOMEPAGE="https://github.com/AsamK/signal-cli/wiki"
+SRC_URI="
+ https://github.com/AsamK/signal-cli/releases/download/v${PV}/${MY_P}-Linux.tar.gz -> ${P}.tar.gz
+ https://github.com/AsamK/signal-cli/raw/v${PV}/README.md -> ${P}.README.md
+ https://github.com/AsamK/signal-cli/raw/v${PV}/man/signal-cli.1.adoc -> ${P}.signal-cli.1.adoc
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ || ( virtual/jdk:17 virtual/jre:17 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-text/asciidoc
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.11.3-use-working-java-version.patch"
+)
+
+src_unpack() {
+ default
+ cp "${DISTDIR}/${P}.signal-cli.1.adoc" signal-cli.1.adoc || die
+}
+
+src_compile() {
+ default
+ a2x --no-xmllint --doctype manpage --format manpage "${WORKDIR}/signal-cli.1.adoc" || die
+}
+
+src_install() {
+ insinto /usr
+ doins -r lib
+ dobin bin/signal-cli
+ newdoc "${DISTDIR}/${P}.README.md" README.md
+ doman "${WORKDIR}/signal-cli.1"
+}
+
+pkg_postinst() {
+ elog "Please read /usr/share/doc/${PF}/README.md.bz2"
+ elog "how to register signal-cli with the signal service and how to send"
+ elog "and receive messages"
+}