From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1731056-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 finch.gentoo.org (Postfix) with ESMTPS id 9BC591581EE
	for <garchives@archives.gentoo.org>; Mon, 24 Mar 2025 22:45:48 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 86D343433E9
	for <garchives@archives.gentoo.org>; Mon, 24 Mar 2025 22:45:48 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 1BC3D1104B0;
	Mon, 24 Mar 2025 22:45:42 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 bobolink.gentoo.org (Postfix) with ESMTPS id 15A5C1104AF
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 Mar 2025 22:45:42 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9E2EE3432AB
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 Mar 2025 22:45:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 77782157C
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 Mar 2025 22:45:39 +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: <1742856334.258f9ea9a54557f697029376571d87c3396bb412.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luau/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/luau/Manifest dev-lang/luau/luau-0.666.ebuild
X-VCS-Directories: dev-lang/luau/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: 258f9ea9a54557f697029376571d87c3396bb412
X-VCS-Branch: master
Date: Mon, 24 Mar 2025 22:45:39 +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: 3d215bbb-afc9-49a1-b1a5-93a3daba0a34
X-Archives-Hash: ca0a4e4f68d929740bb184fb0dbdee52

commit:     258f9ea9a54557f697029376571d87c3396bb412
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 21:10:36 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 22:45:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258f9ea9

dev-lang/luau: bump to 0.666

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

 dev-lang/luau/Manifest          |  1 +
 dev-lang/luau/luau-0.666.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
index 9bb7ae6d989f..d48fdb58cea6 100644
--- a/dev-lang/luau/Manifest
+++ b/dev-lang/luau/Manifest
@@ -1,2 +1,3 @@
 DIST luau-0.653.tar.gz 1858007 BLAKE2B 5e919c2d558f3d9fb44b50c43c063779ef9400bcec7f1881884eccad1f972424ec8c662de3a19c958a00dad0b38dbb295c9ff89b286b39e8d842d102c17346fc SHA512 470cf58a923f0ab3baa36805500100fca16972bea2f87b45fa17ed4d058f3fbc162d4a7802a75a46ad7a46b25630379ac063462751a4d31f65c6df6d0a527c15
 DIST luau-0.662.gh.tar.gz 1918568 BLAKE2B 982c4f9878a95a83254d97ec6eb4ab16cb11f8fc7edc868a5377a37298466761a44c6adb5dbb478b44969a73324031409b83c380aeccdf23c0446b4648cda7ca SHA512 ee3657b711e62e8c8003fe1a418b5ca3362b171822426892933c8ea0c80341e5b6bf23e493ce76184577af05944fdd2841412e81c2a217c9a1dc6d9e1a4f5c14
+DIST luau-0.666.gh.tar.gz 1942716 BLAKE2B 018c395352ebd695782622c53408a5ee4b91d4af1ba0be89eca21a16aab681f88f4adc61b75d5b449ff34128bc73302398f6a27b502b330a6540e5e72c0442a2 SHA512 2d529cc17188f8fdcb881d1004f1f3c9ac4142aaada5d1847863d377ca63d98ec49a3bf8dadd00b954909c4eaaaad3eeff5009020d58105eada0bf02b443d3c8

diff --git a/dev-lang/luau/luau-0.666.ebuild b/dev-lang/luau/luau-0.666.ebuild
new file mode 100644
index 000000000000..bd0c07fd144e
--- /dev/null
+++ b/dev-lang/luau/luau-0.666.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo
+
+DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
+HOMEPAGE="https://luau.org/
+	https://github.com/luau-lang/luau/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/luau-lang/${PN}"
+else
+	SRC_URI="https://github.com/luau-lang/${PN}/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+	"${FILESDIR}/luau-0.653-TypedAllocator-cpp.patch"
+	"${FILESDIR}/luau-0.653-cmake_minimum.patch"
+)
+
+DOCS=( CONTRIBUTING.md README.md SECURITY.md )
+
+src_configure() {
+	local -a mycmakeargs=(
+		-DLUAU_BUILD_TESTS="$(usex test)"
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	edo "${BUILD_DIR}/Luau.UnitTest" --verbose
+	edo "${BUILD_DIR}/Luau.Conformance" --verbose
+}
+
+src_install() {
+	exeinto /usr/bin
+	doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
+
+	insinto /usr/include/Luau
+	doins ./CodeGen/include/luacodegen.h
+	doins ./Compiler/include/luacode.h
+	doins ./VM/include/*.h
+	doins ./{Config,Common,Compiler,CodeGen,Ast,Analysis,EqSat}/include/Luau/*.h
+
+	if use static-libs ; then
+		dolib.a "${BUILD_DIR}"/libLuau.*.a
+	fi
+
+	einstalldocs
+}