dev-lang/luau: drop old 0.666

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-10-23 22:10:03 +02:00
parent 2f525b4a69
commit f29ee82f6f
2 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST luau-0.666.gh.tar.gz 1942716 BLAKE2B 018c395352ebd695782622c53408a5ee4b91d4af1ba0be89eca21a16aab681f88f4adc61b75d5b449ff34128bc73302398f6a27b502b330a6540e5e72c0442a2 SHA512 2d529cc17188f8fdcb881d1004f1f3c9ac4142aaada5d1847863d377ca63d98ec49a3bf8dadd00b954909c4eaaaad3eeff5009020d58105eada0bf02b443d3c8
DIST luau-0.669.gh.tar.gz 1962832 BLAKE2B b265db9330c9a28ba77d3a882c0fce60f4b3528145603e26a8b29f6939e4fae9b4d3e73dbce14ded20811ba317d5947c5c3cb8b74a0788fccd63606d21f50b32 SHA512 eec53ad49d632d9c73eb8df497018c935c5e8b0a75be3c54608c4b0d11c59b47cb546db71c62eab1941974e97af3f8d009a0ac2b2cde933988fa27c1d6a28939

View File

@@ -1,62 +0,0 @@
# 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
}