summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-08-13 00:07:15 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-08-13 01:23:16 +0200
commitbc936b485c807d3f7c73a7587314c2ddcf2b596b (patch)
tree67562ac4310376eb8c3900fed60f154136212e64 /dev-lang
parentdev-lang/luau: drop old 0.584 (diff)
downloadgentoo-bc936b485c807d3f7c73a7587314c2ddcf2b596b.tar.gz
gentoo-bc936b485c807d3f7c73a7587314c2ddcf2b596b.tar.bz2
gentoo-bc936b485c807d3f7c73a7587314c2ddcf2b596b.zip
dev-lang/luau: bump to 0.590
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/luau/Manifest1
-rw-r--r--dev-lang/luau/files/luau-0.590-cstdint.patch10
-rw-r--r--dev-lang/luau/luau-0.590.ebuild38
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
index 3da4f71567ac..d4c2d9ae6de1 100644
--- a/dev-lang/luau/Manifest
+++ b/dev-lang/luau/Manifest
@@ -1,2 +1,3 @@
DIST luau-0.583.tar.gz 5575214 BLAKE2B 17088d4d5026854a5aac29d80a20ab8901753a3d8b89c21491df44202d07433f801d10a8e9443bc21f3318cda059000e43ed2cc2cb5926d3464f47ac7352a3c4 SHA512 45964e485354839c42b44f1482b372d47bce95302122fbba2288a0880bc964e30e934bdd6a62d0b6b2e6d725bdbe3332f67dc136fa64b28be9b3a0b2bc55d16b
DIST luau-0.589.tar.gz 6003411 BLAKE2B d478aea8a9c2091d2b17cf48c07faeb50801d39c4295f70c81485f96af5c05b5d9b565b18e96977933e5b8a5ddd3b1570da39ae28e53bf74b32fc595d1ccbd67 SHA512 923519a59e8cf92f92c06b2e18716b1360d504098137e72757a607d8e6801c7aaac6b6285264ca74e3dd90b618433e06599511b9a49198532501c2b8f841b577
+DIST luau-0.590.tar.gz 6009230 BLAKE2B 16dd1d5f04071f993683e099c9e9b1f15b55cfc4023df5c61e3008503eef53de65dcf54efc3b087d32df765ae51836e08d0865e3008cabc3f231fb48145c872a SHA512 bc43c321ee4f9253fe672a043ef29aa10b6911c462ee93d21c5f91a37ce05b51815426242e541eac86b66f1a17fcbd426ad673b6443c9ec478ae9e1e76239726
diff --git a/dev-lang/luau/files/luau-0.590-cstdint.patch b/dev-lang/luau/files/luau-0.590-cstdint.patch
new file mode 100644
index 000000000000..50dd7254ed58
--- /dev/null
+++ b/dev-lang/luau/files/luau-0.590-cstdint.patch
@@ -0,0 +1,10 @@
+--- a/Analysis/include/Luau/LinterConfig.h
++++ b/Analysis/include/Luau/LinterConfig.h
+@@ -5,6 +5,7 @@
+
+ #include <string>
+ #include <vector>
++#include <stdint.h>
+
+ namespace Luau
+ {
diff --git a/dev-lang/luau/luau-0.590.ebuild b/dev-lang/luau/luau-0.590.ebuild
new file mode 100644
index 000000000000..70561ecec748
--- /dev/null
+++ b/dev-lang/luau/luau-0.590.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
+HOMEPAGE="https://luau-lang.org/
+ https://github.com/Roblox/luau/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Roblox/${PN}.git"
+else
+ SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.590-cstdint.patch )
+
+DOCS=( CONTRIBUTING.md README.md SECURITY.md )
+
+src_test() {
+ "${BUILD_DIR}"/Luau.UnitTest || die
+ "${BUILD_DIR}"/Luau.Conformance || die
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
+
+ einstalldocs
+}