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/luau/
Date: Sun, 27 Oct 2024 08:51:59 +0000 (UTC)	[thread overview]
Message-ID: <1730019115.f0e748d9268dc45fd37f122bd59b4bc375b5a611.xgqt@gentoo> (raw)

commit:     f0e748d9268dc45fd37f122bd59b4bc375b5a611
Author:     Theo Paris <theo <AT> tinted <DOT> dev>
AuthorDate: Fri Oct  4 00:49:22 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 08:51:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0e748d9

dev-lang/luau: install headers and libraries

Signed-off-by: Theo Paris <theo <AT> tinted.dev>
Closes: https://github.com/gentoo/gentoo/pull/38867
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{luau-0.645.ebuild => luau-0.645-r1.ebuild}    | 25 +++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/dev-lang/luau/luau-0.645.ebuild b/dev-lang/luau/luau-0.645-r1.ebuild
similarity index 55%
rename from dev-lang/luau/luau-0.645.ebuild
rename to dev-lang/luau/luau-0.645-r1.ebuild
index 45d9ef4e6d32..d99c1ac2849f 100644
--- a/dev-lang/luau/luau-0.645.ebuild
+++ b/dev-lang/luau/luau-0.645-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake edo
 
 DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
 HOMEPAGE="https://luau.org/
@@ -22,17 +22,36 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
 
 DOCS=( CONTRIBUTING.md README.md SECURITY.md )
 
+src_configure() {
+	local -a mycmakeargs=(
+		-DLUAU_BUILD_TESTS="$(usex test)"
+	)
+	cmake_src_configure
+}
+
 src_test() {
-	"${BUILD_DIR}/Luau.UnitTest" || die
-	"${BUILD_DIR}/Luau.Conformance" || die
+	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
 }


             reply	other threads:[~2024-10-27  8:52 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-27  8:51 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-31  5:32 [gentoo-commits] repo/gentoo:master commit in: dev-lang/luau/ Arthur Zamarin
2025-05-30 22:13 Maciej Barć
2025-04-28  5:44 Sam James
2025-04-18 15:24 Maciej Barć
2025-04-14 17:07 Arthur Zamarin
2025-03-24 22:45 Maciej Barć
2025-02-28 13:42 Maciej Barć
2025-02-28 13:42 Maciej Barć
2025-01-05 23:22 Sam James
2024-12-06  8:31 Maciej Barć
2024-12-06  7:49 Sam James
2024-12-01 17:29 Maciej Barć
2024-11-04  0:19 Maciej Barć
2024-10-30  2:55 Sam James
2024-09-28 15:00 Maciej Barć
2024-09-28 15:00 Maciej Barć
2024-09-28 15:00 Maciej Barć
2024-09-28 15:00 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-09-03 18:32 Jakov Smolić
2024-08-24 13:12 Michał Górny
2024-08-17 15:33 Jakov Smolić
2024-08-03 23:21 Maciej Barć
2024-08-03 23:21 Maciej Barć
2024-08-01 16:47 Arthur Zamarin
2024-08-01 13:07 Maciej Barć
2024-07-23 23:12 Maciej Barć
2024-07-23 23:12 Maciej Barć
2024-07-22  1:09 Sam James
2024-07-17 15:46 Maciej Barć
2024-07-02  3:43 Maciej Barć
2024-06-15 22:23 Maciej Barć
2024-05-14 22:21 Maciej Barć
2024-05-01 23:38 Sam James
2024-03-30 23:09 Maciej Barć
2024-03-30 23:09 Maciej Barć
2024-03-30 23:09 Maciej Barć
2024-03-13 12:05 Arthur Zamarin
2024-03-05 23:07 Maciej Barć
2024-02-27 23:57 Sam James
2024-02-19 15:30 Maciej Barć
2024-02-19 15:30 Maciej Barć
2024-02-07 22:21 Maciej Barć
2024-02-07 22:21 Maciej Barć
2024-01-28  6:50 Sam James
2024-01-20 20:45 Maciej Barć
2024-01-20 20:45 Maciej Barć
2024-01-20 20:45 Maciej Barć
2024-01-18 17:25 Sam James
2024-01-08 21:10 Arthur Zamarin
2023-12-27  1:20 Maciej Barć
2023-12-27  1:20 Maciej Barć
2023-12-17  6:20 Arthur Zamarin
2023-12-11 23:29 Maciej Barć
2023-12-08  0:29 Maciej Barć
2023-12-06 22:47 Maciej Barć
2023-12-06 17:13 Arthur Zamarin
2023-11-26  0:11 Sam James
2023-11-18  1:31 Maciej Barć
2023-11-16 23:38 Maciej Barć
2023-11-16 23:38 Maciej Barć
2023-11-13 12:38 Maciej Barć
2023-11-13 12:38 Maciej Barć
2023-11-07 18:50 Maciej Barć
2023-11-07 18:50 Maciej Barć
2023-11-01 19:17 Maciej Barć
2023-11-01 19:17 Maciej Barć
2023-10-31  0:47 Sam James
2023-10-23 20:39 Maciej Barć
2023-10-17 17:02 Sam James
2023-10-17 13:39 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-07 14:57 Maciej Barć
2023-10-04 23:32 Maciej Barć
2023-10-04 23:32 Maciej Barć
2023-10-04 23:32 Maciej Barć
2023-10-03 22:06 Sam James
2023-10-01 18:07 Arthur Zamarin
2023-09-25 20:36 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-21  5:09 Sam James
2023-09-16 14:48 Maciej Barć
2023-09-16 14:48 Maciej Barć
2023-09-07 19:51 Sam James
2023-09-02 13:08 Maciej Barć
2023-08-26 15:46 Maciej Barć
2023-08-20 11:29 Maciej Barć
2023-08-13  0:38 Sam James
2023-08-12 23:23 Maciej Barć
2023-08-05 16:53 Maciej Barć
2023-08-05 16:53 Maciej Barć
2023-07-29 16:09 Maciej Barć
2023-07-15 22:17 Maciej Barć
2023-07-10 18:55 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=1730019115.f0e748d9268dc45fd37f122bd59b4bc375b5a611.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