diff options
Diffstat (limited to 'dev-util/premake')
-rw-r--r-- | dev-util/premake/Manifest | 3 | ||||
-rw-r--r-- | dev-util/premake/files/premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch | 63 | ||||
-rw-r--r-- | dev-util/premake/premake-5.0.0_alpha16.ebuild | 38 |
3 files changed, 104 insertions, 0 deletions
diff --git a/dev-util/premake/Manifest b/dev-util/premake/Manifest index 63942b874bee..b031a2eabde8 100644 --- a/dev-util/premake/Manifest +++ b/dev-util/premake/Manifest @@ -1,10 +1,13 @@ AUX archless.patch 1516 BLAKE2B 6a4b335cc41f466a45170b016da0e26c7d5b955c8d0fdb118bb90370663711ea42e66308e455dbc671eee2a29c4999f2628c416e30491825d8ccac151b3bec65 SHA512 e74f895b24a7bb3da118aa694c35b2473994881ffa6e54ec5a0be450ab55374c0bb418b93fa84b5e30f46a04987c1cb75305463a1a181e458c750d38cafecd04 +AUX premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch 2814 BLAKE2B 3fd9affab496c3cfe3b49db672a3dd705c7592502d3d12ad203bf7034ce79d9de69266ba9358016656792b929a99eece12fbec41f223f0e21fb40b73ed9cec40 SHA512 0ab6979eada5a917f6cde6189ead0112c273e496662445d4b00a27a362361e57664cca1480c163cd157f87769c12f07a6bcbd5f737b38475885780bc2ae5ca53 DIST premake-4.3-src.zip 514366 BLAKE2B 5079f9d7c5dbe46d60149ec7c01523eaca5ab3cccce9f2f66d05905152ceb0b8bddaf181624288b722dd1534da6aef256ed5bb997db448f1499c8ab989277bc6 SHA512 df3a4f1e04afb6ae9acf06c063b084a4bcc7c48a98eebeb242eafef40de4097c6a6fe549369d9538b93efea35244222b9d26c15824f126a67b8f80abaecdf001 DIST premake-4.4-beta5-src.zip 596883 BLAKE2B f4bf2b75946b6a442aced79f1f29b08e61bfa34c1e30c64aa59a6fed9c4c35aaca996fd0e8b728e839c24e74eae9f23ac3c99406361a061f0fa5dc04ce3ce9aa SHA512 47a2c26d3c45578cb2cbae96ec1b647298824d08584e2610aacd038e21069297a1f5b3366340cf781d29827555ff4d955651f70cdc2d36b99808fddf52e7a242 DIST premake-5.0.0_alpha12.tar.gz 3548788 BLAKE2B 30f7b0e139ac8b7639c78b06ae139137d4f62b4a7690b180d6c292f57205e7ab352042241735f472d20163c24277b835e9b14e307d66602d5c1bc1a7c65da036 SHA512 6f458fada8af9d93e99f9511b0cf1a2cad87eacf155c8330cab9f830c89aac0ba137ea466b8b2ecfd4a104132c7cd79eefbd06b9780066d27760bc695a4b94a2 +DIST premake-5.0.0_alpha16.tar.gz 6462956 BLAKE2B 27c27eeef77986f6e8244ecd1a08e19d753dafcd0292d593ac758e04c2cb2307e05aaf325d2afc6ad8936ab2bbd97af6269841b9b7489b50dd4ce56e39120f05 SHA512 7ddb5ffe48484157336c7309fb611d34ff670fb20f92da309af3a4ae6f664a4b8abd2c0575036abbed1e346b155a03bf6fbac0587b47d5c97d9a22f08dd2deea DIST premake-src-3.7.zip 427727 BLAKE2B 2f9cc7b045f75ceb52a8e71507cb5576f042a93be4f6c097e8bc1166e3bbb9e271a02f5fbd648f79e0d24867a09bba9ac72a268fdc47140219c5d6a36cda1a16 SHA512 351b26b9ee738e97b1828e7c26fe1538fb1509fbdc030da3d87fc28b1daa7966bc50ba8043062d35b37fa3929d909533b723241e1f98e438a039c6f9d61a46f4 EBUILD premake-3.7.ebuild 447 BLAKE2B 9a52bc3e693e3500fe706db1e400ef552961952d06106e43c38fb4ef62c172600469fe266b26a9bd3ef7504164cdebb9db2abbb9f9c96d893b85bb0a9d7fbd93 SHA512 8e77f419f850b861e66e77ac0140fc0de4ead84b23d0abd82ab568d6e9dc06c6537eed6ea2b5db8b3a0b88f44f3b915009ae173f6165c53b56bbc5a0b384d1c8 EBUILD premake-4.3-r1.ebuild 539 BLAKE2B 831f585242a1722e38e1fbe8a6757bae8f7aa7d82bf9dc26667de0a1b4f02d410a2154a8779b6eb0ee40542003e433fa613e3cfec1a11231ff0472855c60249e SHA512 6a238c75005f7bc0c9e598543274ba4ddf4acf32806ee5fa9fe7e7188e7cce4f1de0bb6a242e6994d1a20d2d1786c95578e91867f46e7f9cfa2a7dd2ea56f104 EBUILD premake-4.4_beta5.ebuild 610 BLAKE2B 576418d3d18c1fc2f3a020368711ae33f19cd65c7e0c9300a084fa165cb57e028ef224c9abc2044801f8c247acf80d79b418dedf69a82f867355446629d93875 SHA512 43709cba1c064040a61423808e75dc5d490807a89cffdae21068fa12855a2f1386be90a4d5c975eab370242b1aba41cfce58e1a92d8e8bb94ecf9d7cb6807d75 EBUILD premake-5.0.0_alpha12.ebuild 611 BLAKE2B a7d0c3cb4eea07b3831665b6cf33faa5a93b7488759f44aab91babbacf9da6d027877c9a92d6388ad1e20192cda8a94f33830f88942a82e70aec0fcc8095c796 SHA512 5515fee0f01f446f180feadb3a3c045b135f50ae3cf10c7b4cefa252a9703e8ccdb50a0f0e635152be188a79fbfc0c5c8758fe95bca119d946cf8b818a5494be +EBUILD premake-5.0.0_alpha16.ebuild 692 BLAKE2B e10d83075697bd2e159475ed2d687b6432468359ca82e386b3055d24753644c3764607bd56732d253c90ccdbd332228e47b211b58200e23020304f40aa3e4ff4 SHA512 a48980d187866b229321069f2469033d845b5eedfa6edb8fc11c00144ac9736f5e2720b977690d33c3d909ddd2e4ff41c9d671565d80469c161774a9c061e7be MISC metadata.xml 770 BLAKE2B 7de7d14b1e548a5de3be5a0ac41bd5cc5294597e73137378d5dce203ebc79b7ef284262a94925122162300e2f0bf0481d5a2ef76c24dbb9776f083f1e8b78572 SHA512 95b1babfff92abf52682ec58382d6a4fd416297038868f7c3b079eb662e24eaffdfcf25e8ba407adf957c0cefa512122dcd037abc288259d5622bf86ae6621ff diff --git a/dev-util/premake/files/premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch b/dev-util/premake/files/premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch new file mode 100644 index 000000000000..766d2aea71b4 --- /dev/null +++ b/dev-util/premake/files/premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch @@ -0,0 +1,63 @@ +https://bugs.gentoo.org/773505 + +From 89d8c74f0c9ba77aaa12799a9d2dc397eac4ece6 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 15 Aug 2021 21:47:20 +0100 +Subject: [PATCH] Respect MAKEOPTS jobs + +--- + Bootstrap.mak | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/Bootstrap.mak b/Bootstrap.mak +index 06e0f20..2d59068 100644 +--- a/Bootstrap.mak ++++ b/Bootstrap.mak +@@ -101,7 +101,7 @@ osx: osx-clean + $(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_MACOSX -I"$(LUA_DIR)" -I"$(LUASHIM_DIR)" -framework CoreServices -framework Foundation -framework Security -lreadline $(SRC) + ./build/bootstrap/premake_bootstrap embed + ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 +- $(MAKE) -C build/bootstrap -j`getconf _NPROCESSORS_ONLN` config=$(CONFIG) ++ $(MAKE) -C build/bootstrap config=$(CONFIG) + + linux-clean: nix-clean + +@@ -110,7 +110,7 @@ linux: linux-clean + $(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"$(LUA_DIR)" -I"$(LUASHIM_DIR)" $(SRC) -lm -ldl -lrt + ./build/bootstrap/premake_bootstrap embed + ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 +- $(MAKE) -C build/bootstrap -j`getconf _NPROCESSORS_ONLN` config=$(CONFIG) ++ $(MAKE) -C build/bootstrap config=$(CONFIG) + + bsd-clean: nix-clean + +@@ -119,7 +119,7 @@ bsd: bsd-clean + $(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"$(LUA_DIR)" -I"$(LUASHIM_DIR)" $(SRC) -lm + ./build/bootstrap/premake_bootstrap embed + ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 +- $(MAKE) -C build/bootstrap -j`getconf NPROCESSORS_ONLN` config=$(CONFIG) ++ $(MAKE) -C build/bootstrap config=$(CONFIG) + + solaris-clean: nix-clean + +@@ -128,7 +128,7 @@ solaris: solaris-clean + $(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"$(LUA_DIR)" -I"$(LUASHIM_DIR)" $(SRC) -lm + ./build/bootstrap/premake_bootstrap embed + ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 +- $(MAKE) -C build/bootstrap -j`getconf NPROCESSORS_ONLN` config=$(CONFIG) ++ $(MAKE) -C build/bootstrap config=$(CONFIG) + + haiku-clean: nix-clean + +@@ -137,7 +137,7 @@ haiku: haiku-clean + $(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_BSD_SOURCE -I"$(LUA_DIR)" -I"$(LUASHIM_DIR)" $(SRC) -lbsd + ./build/bootstrap/premake_bootstrap embed + ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 +- $(MAKE) -C build/bootstrap -j`getconf _NPROCESSORS_ONLN` config=$(CONFIG) ++ $(MAKE) -C build/bootstrap config=$(CONFIG) + + windows-base: windows-clean + if not exist build\bootstrap (mkdir build\bootstrap) +-- +2.32.0 + diff --git a/dev-util/premake/premake-5.0.0_alpha16.ebuild b/dev-util/premake/premake-5.0.0_alpha16.ebuild new file mode 100644 index 000000000000..af3a8cbff0f0 --- /dev/null +++ b/dev-util/premake/premake-5.0.0_alpha16.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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 ~ppc ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch +) + +src_compile() { + # bug #773505 + tc-export AR CC + + emake -f Bootstrap.mak linux +} + +src_test() { + bin/release/premake${SLOT} test || die +} + +src_install() { + dobin bin/release/premake${SLOT} + + einstalldocs +} |