public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/kotlin-bin/
Date: Sun, 21 Jan 2024 20:47:40 +0000 (UTC)	[thread overview]
Message-ID: <1705870057.021de69c0138421cebff8a7c1e0bd381422ae438.xgqt@gentoo> (raw)

commit:     021de69c0138421cebff8a7c1e0bd381422ae438
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 02:44:12 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 20:47:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=021de69c

dev-lang/kotlin-bin: new package; add 1.9.22

Bug: https://github.com/gentoo/gentoo/pull/19499
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/kotlin-bin/Manifest                 |  1 +
 dev-lang/kotlin-bin/kotlin-bin-1.9.22.ebuild | 59 ++++++++++++++++++++++++++++
 dev-lang/kotlin-bin/metadata.xml             | 19 +++++++++
 3 files changed, 79 insertions(+)

diff --git a/dev-lang/kotlin-bin/Manifest b/dev-lang/kotlin-bin/Manifest
new file mode 100644
index 000000000000..a24e82787dbc
--- /dev/null
+++ b/dev-lang/kotlin-bin/Manifest
@@ -0,0 +1 @@
+DIST kotlin-compiler-1.9.22.zip 91026092 BLAKE2B 2fc776b27e30a9d75640dc8fc004bfec5207b1b79c2742aa6a8a75971a8b41310cc16712d6d0921e1fa7545031a75ca8256c48f5c1e13f4e36d82df2574d5699 SHA512 d0e1bdfb1918f007444b1cef6e0c29c2c1846819edd60d016ed62327ea6d2cb505aa18658f916f88b91d9fbdfe0b155ad3361728d6a7a9062806d982bc9b8c6c

diff --git a/dev-lang/kotlin-bin/kotlin-bin-1.9.22.ebuild b/dev-lang/kotlin-bin/kotlin-bin-1.9.22.ebuild
new file mode 100644
index 000000000000..7e3629cfadfc
--- /dev/null
+++ b/dev-lang/kotlin-bin/kotlin-bin-1.9.22.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 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
+}

diff --git a/dev-lang/kotlin-bin/metadata.xml b/dev-lang/kotlin-bin/metadata.xml
new file mode 100644
index 000000000000..96b80b4a00c2
--- /dev/null
+++ b/dev-lang/kotlin-bin/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription>
+    Kotlin is a statically typed language that targets the JVM and JavaScript.
+    It is a general-purpose language intended for industry use. It is developed
+    by a team at JetBrains although it is an OSS language and has external
+    contributors.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/JetBrains/kotlin/issues/</bugs-to>
+    <remote-id type="github">JetBrains/kotlin</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2024-01-21 20:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 20:47 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-11 11:21 [gentoo-commits] repo/gentoo:master commit in: dev-lang/kotlin-bin/ Maciej Barć
2024-04-11  1:38 Maciej Barć
2024-05-08 12:42 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-08-08 12:06 Maciej Barć
2024-08-08 12:06 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-10-10 16:43 Maciej Barć
2024-10-10 16:43 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1705870057.021de69c0138421cebff8a7c1e0bd381422ae438.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox