summaryrefslogtreecommitdiff
path: root/dev-lang
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/closure-compiler-bin/Manifest1
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20260429.ebuild50
-rw-r--r--dev-lang/kotlin-bin/Manifest1
-rw-r--r--dev-lang/kotlin-bin/kotlin-bin-2.3.21.ebuild60
4 files changed, 112 insertions, 0 deletions
diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest
index 80d4c5900bdc..17f1c0ba079c 100644
--- a/dev-lang/closure-compiler-bin/Manifest
+++ b/dev-lang/closure-compiler-bin/Manifest
@@ -1,3 +1,4 @@
DIST closure-compiler-bin-20260304.maven.jar 14657206 BLAKE2B dcd49501b8f590bfc26818d10253aeffdf9f43ff1538e5a2418a12a10de24b16a58c694e12c428723e6c6be17d5e593fa7aa21024850d388948453f54742e78b SHA512 32a48c45c7ffc9e10fd6ea8e6b3a8d84395e41a823329a5c5d8163db3230b9009f64632a169572f5cf2d533860efaf6889e28618a5699404c4c11fd6a173cdeb
DIST closure-compiler-bin-20260406.maven.jar 14671658 BLAKE2B e0272b7918b54049d3b9935b4fcbdb70a9f035fd88ba1d9592a9d8f64ef0188ac869e5de6edb0d314462b2f9b2068c07597514a2c18b72d5b38c4b7c641e2bcf SHA512 5f2f2c64709c4772c19e0dbc49e6134d3dc1768c38568b5602b666116655b7ab205299584f706a3ea45763bf47dc6d8875c67a7d4152719ed56156ef0764744d
DIST closure-compiler-bin-20260412.maven.jar 14679023 BLAKE2B f87267c0afbe400f80092bcff22157760cfbe4c30d62002f9875f0915f146a4410aba0f20019cc8a59f75eb0230130b3c35ee023781fac3f5744cc866218a4f2 SHA512 1083fd8a6c7f49ae2e0ec8ddac926fb7a261eef65ae4afc1d5f128897888323570d0bb1bca9a92ded5e4227710f5da79dfcef52b1ea8cb1d8f0300297fe6c22a
+DIST closure-compiler-bin-20260429.maven.jar 14692745 BLAKE2B dd20c6fd5d665ff8e24df1ba003be108fc5cf8b4c1e481a7d66b4399df6c10f8e1c62b53f63f23ea1b9f9506fb7c0a5b8ee9cd88f106a0fbbcd3aff704a3b3a5 SHA512 a3a7207aa699086f7f38f71e032758c2cd2bdd7d1a579e33d33ccd4a6aa03aae6b307c9cd259c2535699fda343babcf6d0d5957fd96ce17e1c10fcff4275be10
diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20260429.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20260429.ebuild
new file mode 100644
index 000000000000..c74c5fe90fac
--- /dev/null
+++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20260429.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit java-pkg-2
+
+MY_PN="${PN%-bin}"
+MY_P="${MY_PN}-v${PV}"
+
+DESCRIPTION="JavaScript optimizing compiler"
+HOMEPAGE="https://developers.google.com/closure/compiler/
+ https://github.com/google/closure-compiler/"
+
+MAVEN_REPO="https://repo1.maven.org/maven2"
+SRC_URI="
+ ${MAVEN_REPO}/com/google/javascript/${MY_PN}/v${PV}/${MY_P}.jar
+ -> ${P}.maven.jar
+"
+S="${WORKDIR}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+
+src_unpack() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ local jar_dir="/opt/${PN}-${SLOT}/lib"
+
+ java-pkg_jarinto "${jar_dir}"
+ java-pkg_newjar "${DISTDIR}/${P}.maven.jar" "${PN}.jar"
+
+ local -a dolauncher_opts=(
+ "${MY_PN}"
+ --jar "${jar_dir}/${PN}.jar"
+ -into /opt
+ )
+ java-pkg_dolauncher "${dolauncher_opts[@]}"
+}
diff --git a/dev-lang/kotlin-bin/Manifest b/dev-lang/kotlin-bin/Manifest
index 921c4fa917a2..6c919afdbe42 100644
--- a/dev-lang/kotlin-bin/Manifest
+++ b/dev-lang/kotlin-bin/Manifest
@@ -1,2 +1,3 @@
DIST kotlin-compiler-2.3.10.zip 80764672 BLAKE2B ae2d21f7b5ed75b823f15b2689a2f64a27a662d44732cebfdc09f63262ffa45bbd27e6659fbd51260057350cc9bd20d07d5a2108db74b89c97c7ad78b0235cdd SHA512 f942c1c56c86935094eb003ecd8a573b092c95c437ba3eddedb128f6fe2c8b132bfe79997c721d7980271222d2de2c2adc292a8c2c620a0c43eded3a76aa5c54
DIST kotlin-compiler-2.3.20.zip 83071760 BLAKE2B 1531554741152cc1116796d898a1cd08962962cdc64dabe8408744678b1ea026c303d591868818c24d4f27c24fd7855c8152049dad774670d9288b3af986d741 SHA512 29dda1fa2ad42a7668b39c4714c63661834b03d380606f2e6ca5dafad0d814137986f16e35352e19b82589319c5645eb824a5d9997a90ee2529a4251a6453a5d
+DIST kotlin-compiler-2.3.21.zip 83084350 BLAKE2B e2942d6f2dbc56978734e2b6479532ec0662147941e097b8d1d77c4bd7c20d862791d6149e2a983efcc58b21ec799e039ba28d19c6823ea9bc4bab2eb932eca4 SHA512 cdd569652b356a71c8c74a116d64d57fbd39bef8a76badacf952a3ece315bb51308d1672b300119c08e90fd925d2eac7c938ed4db6ba0e9c8bbf87b9662afce9
diff --git a/dev-lang/kotlin-bin/kotlin-bin-2.3.21.ebuild b/dev-lang/kotlin-bin/kotlin-bin-2.3.21.ebuild
new file mode 100644
index 000000000000..2d14ecc84ef7
--- /dev/null
+++ b/dev-lang/kotlin-bin/kotlin-bin-2.3.21.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2 wrapper
+
+DESCRIPTION="Statically typed language that targets the JVM and JavaScript"
+HOMEPAGE="https://kotlinlang.org/
+ https://github.com/JetBrains/kotlin/"
+
+SRC_URI="https://github.com/JetBrains/kotlin/releases/download/v${PV}/kotlin-compiler-${PV}.zip"
+S="${WORKDIR}/kotlinc"
+
+LICENSE="Apache-2.0 BSD MIT NPL-1.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+DEPEND="
+ >=virtual/jdk-1.8:*
+"
+BDEPEND="
+ app-arch/unzip
+"
+
+src_prepare() {
+ default
+
+ rm bin/*.bat || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ java-pkg_dojar lib/*
+
+ # Follow the Java eclass JAR installation path.
+ local app_home="/usr/share/${PN}"
+
+ exeinto "${app_home}/bin"
+ doexe bin/*
+
+ local -a exes=(
+ kapt
+ kotlin
+ kotlinc
+ kotlinc-js
+ kotlinc-jvm
+ kotlin-dce-js
+ )
+ local exe
+ for exe in "${exes[@]}" ; do
+ make_wrapper "${exe}" "${app_home}/bin/${exe}"
+ done
+}