commit:     3c016db307edc7d0d725f74662f8d2a682f8195e
Author:     Ralph Sennhauser <ralph.sennhauser <AT> gmail <DOT> com>
AuthorDate: Thu Nov 13 16:15:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 13:15:31 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c016db3

dev-util/premake: add 5.0.0_beta7

Use system libraries.

Closes: https://bugs.gentoo.org/646924
Closes: https://bugs.gentoo.org/702082
Bug: https://bugs.gentoo.org/773475
Signed-off-by: Ralph Sennhauser <ralph.sennhauser <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44617
Closes: https://github.com/gentoo/gentoo/pull/44617
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/premake/Manifest                   |  1 +
 dev-util/premake/premake-5.0.0_beta7.ebuild | 48 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-util/premake/Manifest b/dev-util/premake/Manifest
index 2ba271bb4632..404565dab83c 100644
--- a/dev-util/premake/Manifest
+++ b/dev-util/premake/Manifest
@@ -1,2 +1,3 @@
 DIST premake-4.3-src.zip 514366 BLAKE2B 
5079f9d7c5dbe46d60149ec7c01523eaca5ab3cccce9f2f66d05905152ceb0b8bddaf181624288b722dd1534da6aef256ed5bb997db448f1499c8ab989277bc6
 SHA512 
df3a4f1e04afb6ae9acf06c063b084a4bcc7c48a98eebeb242eafef40de4097c6a6fe549369d9538b93efea35244222b9d26c15824f126a67b8f80abaecdf001
 DIST premake-5.0.0_beta2.tar.gz 6491805 BLAKE2B 
1e5245ded3c36b61afd9339351ae2250cebd488a3723c1844b98a8bcf257a3a33102483d5b830a264aff7371b40edcac7dca18dbaacb0dffeb6e43d69e5d6a4c
 SHA512 
0385e2859ed8873f78e2e8e4a57112c9ec5ff5ef6c456caa7a96b9fc372f148cec9c745e19cac7daee6c55820e86e55224737aa172e2134c169303829c1080eb
+DIST premake-5.0.0_beta7.tar.gz 8499540 BLAKE2B 
51c6da107fb0a24c62b1a8f0ab6b1f118d4103d2e4033c2d98f104918cd1d0914cbecf93a54d481c30aebf07497ac8989d0e7048617f626725dc1be48943ebfb
 SHA512 
b6ed480c85db82d749b22b1b97537da525d8eb062514766393c1ff4fc8077289c0037200b7bc260754f320fd5d9c109cb56adbaeec59d485cd95728564927499

diff --git a/dev-util/premake/premake-5.0.0_beta7.ebuild 
b/dev-util/premake/premake-5.0.0_beta7.ebuild
new file mode 100644
index 000000000000..952c36b9578c
--- /dev/null
+++ b/dev-util/premake/premake-5.0.0_beta7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-3 )
+
+inherit lua-single toolchain-funcs
+
+MY_PV=${PV/_/-}
+
+DESCRIPTION="A makefile generation tool"
+HOMEPAGE="https://premake.github.io";
+SRC_URI="https://github.com/premake/premake-core/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-core-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RDEPEND="
+       ${LUA_DEPS}
+       $(lua_gen_cond_dep '
+               dev-lua/luasocket[${LUA_USEDEP}]
+       ')
+       dev-libs/libzip
+       net-misc/curl
+       sys-apps/util-linux
+       "
+DEPEND="${RDEPEND}"
+
+src_compile() {
+       # bug #773505
+       tc-export AR CC
+
+       emake -f Bootstrap.mak PREMAKE_OPTS="--zlib-src=system 
--curl-src=system --lua-src=system" linux
+}
+
+src_test() {
+       bin/release/premake${SLOT} test || die
+}
+
+src_install() {
+       dobin bin/release/premake${SLOT}
+
+       einstalldocs
+}

Reply via email to