commit:     f399d2eae024a83db6e9ac70d68f8d5e3a5b1bd3
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 26 11:19:24 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Nov 26 11:23:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f399d2ea

net-im/sendxmpp-scala: add 1.2.1

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-im/sendxmpp-scala/Manifest                    |  1 +
 net-im/sendxmpp-scala/sendxmpp-scala-1.2.1.ebuild | 37 +++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/net-im/sendxmpp-scala/Manifest b/net-im/sendxmpp-scala/Manifest
index 24029e25d792..115c990814b8 100644
--- a/net-im/sendxmpp-scala/Manifest
+++ b/net-im/sendxmpp-scala/Manifest
@@ -1,2 +1,3 @@
+DIST sendxmpp-dist-1.2.1.jar.xz 20844020 BLAKE2B 
60b3d05df6dab468393842dab10600e6aaadabef0c9a549b48bcdcf00ec523863c8ca48c25ba47acaed633a06298fe5490b7c6e939751ba6e64fb8fdfd34b899
 SHA512 
855aa9d9dd7b0485cc75fe866d07af804984e0ddd04d352e0df9d10a914e206447eb11534ed0bd52e6e1c32255de3154a6e452e5eca6e73ed72bd2f044f7943d
 DIST sendxmpp-scala-1.1.1.tar.gz 14012 BLAKE2B 
769f888ad5522a5566f4b6fa4478ebe9321850eb3c21c9677dd96b36244a62dd7bdcc70c7093f5cd27721c14cd056c58cb740e6b5f2469afb32130dabc34ca3f
 SHA512 
64b813647e50ec1cb1c6d123ce93ad89abcb1d734a9bf2867d6be8e8b9eae1f315db18f7c5fde6504cfcaa31dd4aad619006c97c4ffc1fa54056287f3b194198
 DIST sendxmpp-scala-1.2.0.tar.gz 14901 BLAKE2B 
4e4bf229030e581c273e82d4dc3461f144ce9b81aa5a3c1ffaae45618ad7b6a63a08a4603983c20fc0fec18e41f273e6b642b151456a31bd63b0d7a545c003d1
 SHA512 
e87715e4a101e9398f5dfd08cc671c2b502060a115b64fdf53f2a2cf377d65cee245a99b87a4a19192f4ba49154b9aa9c2bcdce2c9435932ffa3d3af0dc3924e

diff --git a/net-im/sendxmpp-scala/sendxmpp-scala-1.2.1.ebuild 
b/net-im/sendxmpp-scala/sendxmpp-scala-1.2.1.ebuild
new file mode 100644
index 000000000000..aa08a66eb9b7
--- /dev/null
+++ b/net-im/sendxmpp-scala/sendxmpp-scala-1.2.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-utils-2
+
+DESCRIPTION="Send XMPP (Jabber) messages via command line"
+HOMEPAGE="https://github.com/flowdalic/sendxmpp";
+
+if [[ "${PV}" == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
+       EGIT_REPO_URI="https://github.com/Flowdalic/sendxmpp.git";
+       inherit git-r3
+else
+       
SRC_URI="https://dev.gentoo.org/~flow/distfiles/sendxmpp/sendxmpp-dist-${PV}.jar.xz";
+       KEYWORDS="~amd64 ~arm64"
+       S="${WORKDIR}"
+fi
+
+LICENSE="GPL-3+"
+
+SLOT="0"
+
+RDEPEND="
+       >=virtual/jre-17
+       !net-im/sendxmpp
+"
+
+src_install() {
+       java-pkg_newjar sendxmpp-dist-${PV}.jar sendxmpp.jar
+       java-pkg_dolauncher sendxmpp -jar sendxmpp.jar
+
+       insinto /var/lib/${PN}
+       newins - version <<-EOF
+       ${PVR}
+       EOF
+}

Reply via email to