commit: 794a77fcf7ea298b379c22fa6e71b307b0a8c1e4 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Feb 9 19:46:45 2026 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Feb 9 20:00:59 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794a77fc
dev-lang/kotlin-bin: bump to 2.3.10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/kotlin-bin/Manifest | 1 + dev-lang/kotlin-bin/kotlin-bin-2.3.10.ebuild | 60 ++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-lang/kotlin-bin/Manifest b/dev-lang/kotlin-bin/Manifest index fc1b2a45952d..b3a68527813d 100644 --- a/dev-lang/kotlin-bin/Manifest +++ b/dev-lang/kotlin-bin/Manifest @@ -1,2 +1,3 @@ DIST kotlin-compiler-2.2.21.zip 78710880 BLAKE2B cd28a7e43811ce2f42594d604759f217c29b959c7e848b921d2a114b79d62d968aa6a9972e3c53f4a9a7828148766d1a5586fddd9c54c120bc8ba6fcf4548598 SHA512 8c6494f53d205a0baab64eeeda7b60dd4d3c5aae6f51f6ba62eed727e92252ffb40fa68cf4b2db8aca2ce534e2866d0ae743e787815b0af1e030c453e3af9899 DIST kotlin-compiler-2.3.0.zip 80761300 BLAKE2B 8352c9b00ff6a754c1664bf2d658af572753466fa93b3a9e37bdd80d7a54ee8ce1ea42aafb59706d18e40dba1aacd0d45c108c0408600e474000e7f8171d873e SHA512 0095d78f8f3b752f96ae7d6069876597102493b95d48b2e2b8af23ec7be7b2eb3378fa62c4a859b4f2905361667a31ae3dd6818e23960c605afe10776a1da6a2 +DIST kotlin-compiler-2.3.10.zip 80764672 BLAKE2B ae2d21f7b5ed75b823f15b2689a2f64a27a662d44732cebfdc09f63262ffa45bbd27e6659fbd51260057350cc9bd20d07d5a2108db74b89c97c7ad78b0235cdd SHA512 f942c1c56c86935094eb003ecd8a573b092c95c437ba3eddedb128f6fe2c8b132bfe79997c721d7980271222d2de2c2adc292a8c2c620a0c43eded3a76aa5c54 diff --git a/dev-lang/kotlin-bin/kotlin-bin-2.3.10.ebuild b/dev-lang/kotlin-bin/kotlin-bin-2.3.10.ebuild new file mode 100644 index 000000000000..2d14ecc84ef7 --- /dev/null +++ b/dev-lang/kotlin-bin/kotlin-bin-2.3.10.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 +}
