dev-lang/kotlin-bin: bump to 2.3.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-12-20 14:49:47 +01:00
parent cb297f1008
commit 9fc8c12f39
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 60 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST kotlin-compiler-2.2.21.zip 78710880 BLAKE2B cd28a7e43811ce2f42594d604759f217c29b959c7e848b921d2a114b79d62d968aa6a9972e3c53f4a9a7828148766d1a5586fddd9c54c120bc8ba6fcf4548598 SHA512 8c6494f53d205a0baab64eeeda7b60dd4d3c5aae6f51f6ba62eed727e92252ffb40fa68cf4b2db8aca2ce534e2866d0ae743e787815b0af1e030c453e3af9899
DIST kotlin-compiler-2.3.0.zip 80761300 BLAKE2B 8352c9b00ff6a754c1664bf2d658af572753466fa93b3a9e37bdd80d7a54ee8ce1ea42aafb59706d18e40dba1aacd0d45c108c0408600e474000e7f8171d873e SHA512 0095d78f8f3b752f96ae7d6069876597102493b95d48b2e2b8af23ec7be7b2eb3378fa62c4a859b4f2905361667a31ae3dd6818e23960c605afe10776a1da6a2

View File

@ -0,0 +1,59 @@
# Copyright 1999-2025 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
}