From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 DFCA215817D for ; Sun, 9 Jun 2024 03:38:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3356AE2B19; Sun, 9 Jun 2024 03:38:49 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 0E4D1E2B19 for ; Sun, 9 Jun 2024 03:38:49 +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 172F833BE00 for ; Sun, 9 Jun 2024 03:38:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A99711610 for ; Sun, 9 Jun 2024 03:38:46 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1717903930.a03052a8988b5264704b81f3d276a31c2d1aaabe.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/luajit/Manifest dev-lang/luajit/luajit-2.1.1716656478.ebuild X-VCS-Directories: dev-lang/luajit/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: a03052a8988b5264704b81f3d276a31c2d1aaabe X-VCS-Branch: master Date: Sun, 9 Jun 2024 03:38:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f4cdaca-65aa-4096-8857-e4f821848804 X-Archives-Hash: 0ba52b66a961c9a65cba8766ac68efcc commit: a03052a8988b5264704b81f3d276a31c2d1aaabe Author: Matt Turner gentoo org> AuthorDate: Sun Jun 9 03:04:30 2024 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Jun 9 03:32:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a03052a8 dev-lang/luajit: Version bump to 2.1.1716656478 Closes: https://bugs.gentoo.org/917019 Signed-off-by: Matt Turner gentoo.org> dev-lang/luajit/Manifest | 1 + dev-lang/luajit/luajit-2.1.1716656478.ebuild | 62 ++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-lang/luajit/Manifest b/dev-lang/luajit/Manifest index 9b0d30a48afc..c8ba66d29edc 100644 --- a/dev-lang/luajit/Manifest +++ b/dev-lang/luajit/Manifest @@ -1,2 +1,3 @@ DIST luajit-2.1.0_beta3_p20220127.tar.gz 1072282 BLAKE2B e1d4834683b9ec16f0567f5de486262d84af145e3e27724d343c130288e90abff089fd5c7ff1275f9dde3cb5ae4f818f710020bd708c599972a14f1671381c2a SHA512 4c6ae7173bb91dc2d4d425da4afdab2520078e15ae4471c0cb99a255dd7544d6900b333efbbfc8f26ffbc4fcd8f1d2daf65671c59b5cafd6b0d53cb07b49d4ff DIST luajit-2.1.0_beta3_p20220613.tar.gz 1074088 BLAKE2B dbcfd4efcffb9b659a85af753017da5ca9b95e89a03dfe4e594513f2ad09b08e19a862527d41bd5adf8473afd022a471176ff5412975af47bdd785b9b9cfd43b SHA512 e4fc6ebde9cd9efc5e9936416526a0f581186bf0661eca60a50bcf5048312e02f66dc905308d63abda03380c33aa2e64ceddd87527d59a4488ae7f4aeaf36dfe +DIST luajit-2.1.1716656478.tar.gz 1081717 BLAKE2B 42807910aa81e705ff39c382e98e479d46d31453fd6fc1857220c7d4cb66d0801e2ffd813ea3c55ab2bcde8e64275d0fec2044514d7b0ef5287714ec8061bf7a SHA512 6b00d37a33f0bafbd953569ef035546a97237a53cfb718d8aecca7e9c7afe5e4706e4a53e40b9afb8720adc8eee044d8d75b8ea6cdc50d2c3f8461d79bb73b26 diff --git a/dev-lang/luajit/luajit-2.1.1716656478.ebuild b/dev-lang/luajit/luajit-2.1.1716656478.ebuild new file mode 100644 index 000000000000..9d52ad0cb632 --- /dev/null +++ b/dev-lang/luajit/luajit-2.1.1716656478.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GIT_COMMIT=93e87998b24021b94de8d1c8db244444c46fb6e9 + +# Upstream doesn't make releases anymore and instead have a (broken) "rolling +# git tag" model. +# +# https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583 +# https://www.freelists.org/post/luajit/LuaJIT-uses-rolling-releases +# +# Regular snapshots should be made from the v2.1 branch. Get the version with +# `git show -s --format=%ct` + +inherit toolchain-funcs + +DESCRIPTION="Just-In-Time Compiler for the Lua programming language" +HOMEPAGE="https://luajit.org/" +SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/LuaJIT-${GIT_COMMIT}" + +LICENSE="MIT" +# this should probably be pkgmoved to 2.0 for sake of consistency. +SLOT="2/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="lua52compat static-libs" + +_emake() { + emake \ + Q= \ + PREFIX="${EPREFIX}/usr" \ + MULTILIB="$(get_libdir)" \ + DESTDIR="${D}" \ + CFLAGS="" \ + LDFLAGS="" \ + HOST_CC="$(tc-getBUILD_CC)" \ + HOST_CFLAGS="${BUILD_CPPFLAGS} ${BUILD_CFLAGS}" \ + HOST_LDFLAGS="${BUILD_LDFLAGS}" \ + STATIC_CC="$(tc-getCC)" \ + DYNAMIC_CC="$(tc-getCC) -fPIC" \ + TARGET_LD="$(tc-getCC)" \ + TARGET_CFLAGS="${CPPFLAGS} ${CFLAGS}" \ + TARGET_LDFLAGS="${LDFLAGS}" \ + TARGET_AR="$(tc-getAR) rcus" \ + BUILDMODE="$(usex static-libs mixed dynamic)" \ + TARGET_STRIP="true" \ + INSTALL_LIB="${ED}/usr/$(get_libdir)" \ + "$@" +} + +src_compile() { + tc-export_build_env + _emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")" +} + +src_install() { + _emake install + dosym luajit-"${PV}" /usr/bin/luajit + + HTML_DOCS="doc/." einstalldocs +}