From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1433767-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7D19C158094
	for <garchives@archives.gentoo.org>; Mon,  5 Sep 2022 22:09:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AEEE3E0824;
	Mon,  5 Sep 2022 22:09:30 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 97F60E0817
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 22:09:30 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id ABC10340F3B
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 22:09:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BDEEF5C8
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 22:09:26 +0000 (UTC)
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" <xgqt@gentoo.org>
Message-ID: <1662415752.c977287a1831048e7625c7968cc09c23f34811dc.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/haxe/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/haxe/Manifest dev-lang/haxe/haxe-4.2.5.ebuild
X-VCS-Directories: dev-lang/haxe/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: c977287a1831048e7625c7968cc09c23f34811dc
X-VCS-Branch: master
Date: Mon,  5 Sep 2022 22:09:26 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: fb3485b3-2879-4b1e-8435-3bff33b0c9a9
X-Archives-Hash: 3b419100552663ddc9f25f4dff96ec98

commit:     c977287a1831048e7625c7968cc09c23f34811dc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  5 21:24:03 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Sep  5 22:09:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c977287a

dev-lang/haxe: bump to 4.2.5

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/haxe/Manifest          |  1 +
 dev-lang/haxe/haxe-4.2.5.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-lang/haxe/Manifest b/dev-lang/haxe/Manifest
index dacd6fc5c9fe..3991d4f0956b 100644
--- a/dev-lang/haxe/Manifest
+++ b/dev-lang/haxe/Manifest
@@ -1 +1,2 @@
 DIST haxe-4.2.4.tar.gz 9151011 BLAKE2B 76e4442dbd33669abb2defcb66a781bf013ac41a4853f7911824e16816c60fff7e46bd58b9f2830194326aadbd79b2f07ab14308efdb0ef1e26177178daf3941 SHA512 c447b2fa7e7b7149a87af2dd75e08cce1b8d96238b88024d875659add62fa97d554ecd7f13200b817545eda8be00d61399551d64f7dbc9cc1aa66a5517dd2485
+DIST haxe-4.2.5.tar.gz 9151978 BLAKE2B da6555707e0c0c34fc9a7c987bf2258e08557acb4629422d9f50ac4c025675601ccb25cea322dad0c16a4378dc48cac8e6e6acf1b94965a7eac5261c765d4ccb SHA512 a371245f5f7c18c2d16a9c7246829225d9f03beb796cb76b0dd5011e7a5a56e25f871c8cc7257a6e6b7a855804f6e62d48c2974a9ce3f4e6591d44f06bfa65ca

diff --git a/dev-lang/haxe/haxe-4.2.5.ebuild b/dev-lang/haxe/haxe-4.2.5.ebuild
new file mode 100644
index 000000000000..b4c6b1ae2869
--- /dev/null
+++ b/dev-lang/haxe/haxe-4.2.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Multi-target universal programming language"
+HOMEPAGE="https://haxe.org/"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/HaxeFoundation/haxe.git"
+else
+	# Haxe-debian already contains correct git modules
+	SRC_URI="https://github.com/HaxeFoundation/haxe-debian/archive/upstream/${PV}.tar.gz
+		-> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+	S="${WORKDIR}"/haxe-debian-upstream-${PV}
+fi
+
+LICENSE="GPL-2+ MIT"
+SLOT="0/${PV}"
+IUSE="+ocamlopt"
+
+# NOTICE:
+# Theoretically luv <= 0.5.8 is pinned but it is because of mingw issues
+RDEPEND="
+	>=dev-lang/ocaml-4:=[ocamlopt?]
+	dev-ml/extlib:=
+	dev-ml/luv:=
+	dev-ml/ocaml-sha:=
+	dev-ml/ptmap:=
+	dev-ml/sedlex:=
+	dev-ml/xml-light:=
+
+	dev-lang/neko:=
+	dev-libs/boehm-gc:=
+	dev-libs/libpcre:=
+	net-libs/mbedtls:=
+	sys-libs/zlib:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-ml/camlp5
+	dev-ml/dune
+	dev-ml/findlib
+"
+
+QA_FLAGS_IGNORED="usr/bin/haxelib"
+QA_PRESTRIPPED="usr/bin/haxelib"
+
+src_configure() {
+	if use ocamlopt ; then
+		export OCAMLOPT=ocamlopt.opt
+	else
+		export OCAMLOPT=ocamlopt
+	fi
+}
+
+src_compile() {
+	emake -j1 BRANCH="" COMMIT_DATE="" COMMIT_SHA="" \
+		OCAMLOPT="${OCAMLOPT}" INSTALL_DIR=/usr
+}
+
+src_install() {
+	emake DESTDIR="${D}" INSTALL_DIR=/usr install
+	dodoc *.md
+}