summaryrefslogtreecommitdiff
path: root/net-im/sendxmpp-scala
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-27 03:04:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-10-27 03:04:35 +0000
commit83d9fce566bb89f6976f36f5314bfc88b6d261fa (patch)
tree8d8a18f75ff0a6a98313046fcd757ee0135db98c /net-im/sendxmpp-scala
parentd0349ca0f4903608beca459a9db2068dab9fa6ea (diff)
gentoo auto-resync : 27:10:2024 - 03:04:35
Diffstat (limited to 'net-im/sendxmpp-scala')
-rw-r--r--net-im/sendxmpp-scala/Manifest4
-rw-r--r--net-im/sendxmpp-scala/metadata.xml12
-rw-r--r--net-im/sendxmpp-scala/sendxmpp-scala-1.1.1-r1.ebuild42
-rw-r--r--net-im/sendxmpp-scala/sendxmpp-scala-9999.ebuild36
4 files changed, 94 insertions, 0 deletions
diff --git a/net-im/sendxmpp-scala/Manifest b/net-im/sendxmpp-scala/Manifest
new file mode 100644
index 000000000000..b2c5a061181a
--- /dev/null
+++ b/net-im/sendxmpp-scala/Manifest
@@ -0,0 +1,4 @@
+DIST sendxmpp-scala-1.1.1.tar.gz 14012 BLAKE2B 769f888ad5522a5566f4b6fa4478ebe9321850eb3c21c9677dd96b36244a62dd7bdcc70c7093f5cd27721c14cd056c58cb740e6b5f2469afb32130dabc34ca3f SHA512 64b813647e50ec1cb1c6d123ce93ad89abcb1d734a9bf2867d6be8e8b9eae1f315db18f7c5fde6504cfcaa31dd4aad619006c97c4ffc1fa54056287f3b194198
+EBUILD sendxmpp-scala-1.1.1-r1.ebuild 853 BLAKE2B ed3c317b1a4a69999244221e2ac535c433b61d2e5808483148c7161f165fb06876eb2401539d93dd71ddcfd0b6d1bb8604d1f2343ca3a06c54de6830ce8641b3 SHA512 a7d5daa115a5a181cb8acac3e38776fc81c302c430a7cf1b919de6c4e6ff9c8811885e0849a867f069b1d3e625500cb56bf5d4c7dc09632e0069b7a745ce93c8
+EBUILD sendxmpp-scala-9999.ebuild 696 BLAKE2B c0a1b1906f18ed1da963016b7af5ce0ec900c4d40c89b00d09fbb6b587a3a174aafbe04ca759af114bad9b96e343696061cd59e5b47b6e3efaa2f4ad35c70b8f SHA512 3997796d2cc5fd121324f06b7627a547344ffbfe979f41f90cf2dc4fe1ad9f733e9d51473fc75f6d278c6b2a84dbde192f27f38d84783df123d8a8ee49220085
+MISC metadata.xml 354 BLAKE2B a599e6beac07273644f685a118a154891db4ca2e01980611e2a161411a3657feea87227ce8b2882d7499fa232e8a8a667967769965390260cb56de461b59a0da SHA512 1cdeb9daf6bd93f5e8eb8bf3055579dd4c14f0f4b1f6798f6191cfd2e6c6e8e75ff214816c4cfca052a2903cec72519a00b1e70183265400f1b7cbbaf769e9cd
diff --git a/net-im/sendxmpp-scala/metadata.xml b/net-im/sendxmpp-scala/metadata.xml
new file mode 100644
index 000000000000..89250bb227b0
--- /dev/null
+++ b/net-im/sendxmpp-scala/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Florian Schmaus</name>
+ <email>flow@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">flowdalic/sendxmpp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-im/sendxmpp-scala/sendxmpp-scala-1.1.1-r1.ebuild b/net-im/sendxmpp-scala/sendxmpp-scala-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..795f20b3f8b8
--- /dev/null
+++ b/net-im/sendxmpp-scala/sendxmpp-scala-1.1.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ORIG_PN="${PN%-scala}"
+
+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/${ORIG_PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/flowdalic/${ORIG_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm64"
+ S="${WORKDIR}/${ORIG_PN}-${PV}"
+fi
+
+LICENSE="GPL-3+"
+
+SLOT="0"
+
+RDEPEND="
+ dev-lang/ammonite-repl-bin[scala2-13]
+ !net-im/sendxmpp
+"
+
+src_prepare() {
+ default
+ # Ensure that the script is using the right Scala version.
+ sed -i '1 s;^.*$;#!/usr/bin/env amm-2.13;' sendxmpp || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ default
+ dobin sendxmpp
+}
diff --git a/net-im/sendxmpp-scala/sendxmpp-scala-9999.ebuild b/net-im/sendxmpp-scala/sendxmpp-scala-9999.ebuild
new file mode 100644
index 000000000000..afcde973b450
--- /dev/null
+++ b/net-im/sendxmpp-scala/sendxmpp-scala-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ORIG_PN="${PN%-scala}"
+
+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/${ORIG_PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/flowdalic/${ORIG_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64"
+ S="${WORKDIR}/${ORIG_PN}-${PV}"
+fi
+
+LICENSE="GPL-3+"
+
+SLOT="0"
+
+RDEPEND="
+ dev-java/scala-cli-bin
+ !net-im/sendxmpp
+"
+
+src_compile() {
+ :
+}
+
+src_install() {
+ default
+ newbin sendxmpp.sc sendxmpp
+}