summaryrefslogtreecommitdiff
path: root/dev-util/premake
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-19 06:33:49 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-19 06:33:49 +0000
commit78634f348a30a55cc55606ee1ecde032241ceaeb (patch)
tree528e39df571e37b31bfca1811c69bcc06c4af22f /dev-util/premake
parent434fbe89e81a1fe06d92676be72ab7f862cc3f53 (diff)
gentoo auto-resync : 19:03:2023 - 06:33:49
Diffstat (limited to 'dev-util/premake')
-rw-r--r--dev-util/premake/Manifest10
-rw-r--r--dev-util/premake/files/premake-5.0.0-remove-hardcoded-libpath.patch113
-rw-r--r--dev-util/premake/files/premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch63
-rw-r--r--dev-util/premake/premake-3.7-r1.ebuild19
-rw-r--r--dev-util/premake/premake-4.4_beta5.ebuild36
-rw-r--r--dev-util/premake/premake-5.0.0_beta2.ebuild (renamed from dev-util/premake/premake-5.0.0_alpha16.ebuild)6
6 files changed, 118 insertions, 129 deletions
diff --git a/dev-util/premake/Manifest b/dev-util/premake/Manifest
index b45ba902ac2a..bab3e2edb39d 100644
--- a/dev-util/premake/Manifest
+++ b/dev-util/premake/Manifest
@@ -1,11 +1,7 @@
AUX archless.patch 1516 BLAKE2B 6a4b335cc41f466a45170b016da0e26c7d5b955c8d0fdb118bb90370663711ea42e66308e455dbc671eee2a29c4999f2628c416e30491825d8ccac151b3bec65 SHA512 e74f895b24a7bb3da118aa694c35b2473994881ffa6e54ec5a0be450ab55374c0bb418b93fa84b5e30f46a04987c1cb75305463a1a181e458c750d38cafecd04
-AUX premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch 2814 BLAKE2B 3fd9affab496c3cfe3b49db672a3dd705c7592502d3d12ad203bf7034ce79d9de69266ba9358016656792b929a99eece12fbec41f223f0e21fb40b73ed9cec40 SHA512 0ab6979eada5a917f6cde6189ead0112c273e496662445d4b00a27a362361e57664cca1480c163cd157f87769c12f07a6bcbd5f737b38475885780bc2ae5ca53
+AUX premake-5.0.0-remove-hardcoded-libpath.patch 3334 BLAKE2B 0dcb4101af388c0ceb23e89f5f45d11042bf4dfe155106eb32ff19edcb8d562c32dee1c8a23504dd17c4520679fb7dc6ce7ad712f1f837a08d7c8b58ab89d122 SHA512 a045f5b1e0bff31a068ec5d33678d1c4b030c30b98d09cc09258b86a24516053e3e9c0267ff7a47cea05d580540c167d5bcafd1bb2dacdf7d3f42df188061d95
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_alpha16.tar.gz 6462956 BLAKE2B 27c27eeef77986f6e8244ecd1a08e19d753dafcd0292d593ac758e04c2cb2307e05aaf325d2afc6ad8936ab2bbd97af6269841b9b7489b50dd4ce56e39120f05 SHA512 7ddb5ffe48484157336c7309fb611d34ff670fb20f92da309af3a4ae6f664a4b8abd2c0575036abbed1e346b155a03bf6fbac0587b47d5c97d9a22f08dd2deea
-DIST premake-src-3.7.zip 427727 BLAKE2B 2f9cc7b045f75ceb52a8e71507cb5576f042a93be4f6c097e8bc1166e3bbb9e271a02f5fbd648f79e0d24867a09bba9ac72a268fdc47140219c5d6a36cda1a16 SHA512 351b26b9ee738e97b1828e7c26fe1538fb1509fbdc030da3d87fc28b1daa7966bc50ba8043062d35b37fa3929d909533b723241e1f98e438a039c6f9d61a46f4
-EBUILD premake-3.7-r1.ebuild 389 BLAKE2B 12a26f7da1d016d762b51e1ac7f703f4dbe72c1f22eb5259affb8244286ba4018be6e9eb7acfd07573950726401b1d74315b42bb5f5331e5cbbacc2c499591aa SHA512 dad1c9e2143d633b7becb624babb63af459cb7c9ecd5105e11854703f91e68c88dd91e43e9a5aa894d21e8c0f6eaaa1f0df01b4c0f4bf1992d14c08c270efc39
+DIST premake-5.0.0_beta2.tar.gz 6491805 BLAKE2B 1e5245ded3c36b61afd9339351ae2250cebd488a3723c1844b98a8bcf257a3a33102483d5b830a264aff7371b40edcac7dca18dbaacb0dffeb6e43d69e5d6a4c SHA512 0385e2859ed8873f78e2e8e4a57112c9ec5ff5ef6c456caa7a96b9fc372f148cec9c745e19cac7daee6c55820e86e55224737aa172e2134c169303829c1080eb
EBUILD premake-4.3-r2.ebuild 463 BLAKE2B c4783cbf2d86ec85af56000494b9dc321d25914881caf416f986002ec7e4452c70af828fdff8331be899a026f937edd0c3113fc83f93256a5dcce08fd475a677 SHA512 8a9f5e4e4690e00faf4e7815bd27940c9a310eafd45ec78b85702e98ddb0f8f7444a903125e4a4d387b7855fe08375a191eba5e124bc705bb415cea8a0c92fb1
-EBUILD premake-4.4_beta5.ebuild 610 BLAKE2B 576418d3d18c1fc2f3a020368711ae33f19cd65c7e0c9300a084fa165cb57e028ef224c9abc2044801f8c247acf80d79b418dedf69a82f867355446629d93875 SHA512 43709cba1c064040a61423808e75dc5d490807a89cffdae21068fa12855a2f1386be90a4d5c975eab370242b1aba41cfce58e1a92d8e8bb94ecf9d7cb6807d75
-EBUILD premake-5.0.0_alpha16.ebuild 699 BLAKE2B 0ae5d55430621930b00b87ec3ab11524af714e8e5f4c1e75c3984162f3e86292558261f057d07196a790ea45da252795a1b61bea82f2b88fc1ed1313f77fee37 SHA512 45217a60a4f9d4e14003fbe0452b48c2abcd11517eddeca90b20ca6182dd83e99494f6e6c659967752b3f404585ebd5af297682bb8f859a813c40254aecc1b9d
+EBUILD premake-5.0.0_beta2.ebuild 693 BLAKE2B 267d500f5566644426bea8c323e4e124238c091972cb4e553f8d152491587ec3f5b4e574fc9d8d00f3a065cf0428acf0380019b4c836fe5a2e5533cd2a0a600f SHA512 3a0b8b70e9936eb7a2628fedb2b4ff4b45a07271d6ccdd0f40ab00a078907ad8569ec08bb157d2716e99d99970811c980cfded72cce9f2b66eaaa50c5ba05a53
MISC metadata.xml 771 BLAKE2B 6a8c2ca614ad4e799efcbc4b30be952160df8ec9b6ce0a2a179a98b5cd1520515a4abef4f0815221a81e03eac86b16728a8474d3e3d0df1aaa038fe7d8a6a977 SHA512 ceb9e5f086a4ac803c1aa901b45fbc9a37a6dd75b5c573ad49772413631c897b54cd53b2873b42c91b000a087e48dc13300a9b945292b848a0f462a738f689b0
diff --git a/dev-util/premake/files/premake-5.0.0-remove-hardcoded-libpath.patch b/dev-util/premake/files/premake-5.0.0-remove-hardcoded-libpath.patch
new file mode 100644
index 000000000000..4c7a377ba6c7
--- /dev/null
+++ b/dev-util/premake/files/premake-5.0.0-remove-hardcoded-libpath.patch
@@ -0,0 +1,113 @@
+Remove the hardcoded -L/usr/lib and -L/usr/lib64
+This is not needed, and will cause issues:
+https://github.com/gentoo/gentoo/pull/25825#issuecomment-1179497476
+Index: premake-core-5.0.0-beta2/modules/d/tools/dmd.lua
+===================================================================
+--- premake-core-5.0.0-beta2.orig/modules/d/tools/dmd.lua
++++ premake-core-5.0.0-beta2/modules/d/tools/dmd.lua
+@@ -52,8 +52,8 @@
+
+ tdmd.gcc.libraryDirectories = {
+ architecture = {
+- x86 = "-L-L/usr/lib",
+- x86_64 = "-L-L/usr/lib64",
++ x86 = "",
++ x86_64 = "",
+ }
+ }
+
+Index: premake-core-5.0.0-beta2/modules/d/tools/gdc.lua
+===================================================================
+--- premake-core-5.0.0-beta2.orig/modules/d/tools/gdc.lua
++++ premake-core-5.0.0-beta2/modules/d/tools/gdc.lua
+@@ -228,8 +228,8 @@
+
+ gdc.libraryDirectories = {
+ architecture = {
+- x86 = "-L/usr/lib",
+- x86_64 = "-L/usr/lib64",
++ x86 = "",
++ x86_64 = "",
+ }
+ }
+
+Index: premake-core-5.0.0-beta2/modules/d/tools/ldc.lua
+===================================================================
+--- premake-core-5.0.0-beta2.orig/modules/d/tools/ldc.lua
++++ premake-core-5.0.0-beta2/modules/d/tools/ldc.lua
+@@ -323,8 +323,8 @@
+
+ ldc.libraryDirectories = {
+ architecture = {
+- x86 = "-L=-L/usr/lib",
+- x86_64 = "-L=-L/usr/lib64",
++ x86 = "",
++ x86_64 = "",
+ }
+ }
+
+Index: premake-core-5.0.0-beta2/modules/gmake/tests/cpp/test_ldflags.lua
+===================================================================
+--- premake-core-5.0.0-beta2.orig/modules/gmake/tests/cpp/test_ldflags.lua
++++ premake-core-5.0.0-beta2/modules/gmake/tests/cpp/test_ldflags.lua
+@@ -55,7 +55,7 @@
+ system (p.LINUX)
+ prepare()
+ test.capture [[
+- ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64
++ ALL_LDFLAGS += $(LDFLAGS) -m64
+ ]]
+ end
+
+@@ -64,7 +64,7 @@
+ system (p.LINUX)
+ prepare()
+ test.capture [[
+- ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32
++ ALL_LDFLAGS += $(LDFLAGS) -m32
+ ]]
+ end
+
+Index: premake-core-5.0.0-beta2/modules/gmake2/tests/test_gmake2_ldflags.lua
+===================================================================
+--- premake-core-5.0.0-beta2.orig/modules/gmake2/tests/test_gmake2_ldflags.lua
++++ premake-core-5.0.0-beta2/modules/gmake2/tests/test_gmake2_ldflags.lua
+@@ -56,7 +56,7 @@ ALL_LDFLAGS += $(LDFLAGS) -L../libs -Lli
+ system (p.LINUX)
+ prepare()
+ test.capture [[
+-ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64
++ALL_LDFLAGS += $(LDFLAGS) -m64
+ ]]
+ end
+
+@@ -65,7 +65,7 @@ ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -
+ system (p.LINUX)
+ prepare()
+ test.capture [[
+-ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32
++ALL_LDFLAGS += $(LDFLAGS) -m32
+ ]]
+ end
+
+Index: premake-core-5.0.0-beta2/src/tools/gcc.lua
+===================================================================
+--- premake-core-5.0.0-beta2.orig/src/tools/gcc.lua
++++ premake-core-5.0.0-beta2/src/tools/gcc.lua
+@@ -477,16 +477,10 @@
+ architecture = {
+ x86 = function (cfg)
+ local r = {}
+- if not table.contains(os.getSystemTags(cfg.system), "darwin") then
+- table.insert (r, "-L/usr/lib32")
+- end
+ return r
+ end,
+ x86_64 = function (cfg)
+ local r = {}
+- if not table.contains(os.getSystemTags(cfg.system), "darwin") then
+- table.insert (r, "-L/usr/lib64")
+- end
+ return r
+ end,
+ },
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
deleted file mode 100644
index 766d2aea71b4..000000000000
--- a/dev-util/premake/files/premake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-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-3.7-r1.ebuild b/dev-util/premake/premake-3.7-r1.ebuild
deleted file mode 100644
index ae7f896f0a9c..000000000000
--- a/dev-util/premake/premake-3.7-r1.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="A makefile generation tool"
-HOMEPAGE="http://industriousone.com/premake"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
-S="${WORKDIR}/${P/p/P}"
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 x86"
-
-BDEPEND="app-arch/unzip"
-
-src_install() {
- dobin bin/${PN}
-}
diff --git a/dev-util/premake/premake-4.4_beta5.ebuild b/dev-util/premake/premake-4.4_beta5.ebuild
deleted file mode 100644
index 68325bfb5d3b..000000000000
--- a/dev-util/premake/premake-4.4_beta5.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P=${P/_/-}
-
-inherit versionator
-
-DESCRIPTION="A makefile generation tool"
-HOMEPAGE="https://premake.github.io/"
-SRC_URI="mirror://sourceforge/premake/${MY_P}-src.zip"
-
-LICENSE="BSD"
-SLOT=$(get_major_version)
-KEYWORDS="~amd64 ~ppc ~x86"
-
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
-
- sed 's/$(ARCH) //g' -i build/gmake.unix/Premake4.make || die
-}
-
-src_compile() {
- emake -C build/gmake.unix/
-}
-
-src_install() {
- dobin bin/release/premake${SLOT}
-
- einstalldocs
-}
diff --git a/dev-util/premake/premake-5.0.0_alpha16.ebuild b/dev-util/premake/premake-5.0.0_beta2.ebuild
index eea76fb7ca0e..56b499a53419 100644
--- a/dev-util/premake/premake-5.0.0_alpha16.ebuild
+++ b/dev-util/premake/premake-5.0.0_beta2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,9 +16,7 @@ LICENSE="BSD"
SLOT="5"
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch
-)
+PATCHES=( "${FILESDIR}/${PN}-5.0.0-remove-hardcoded-libpath.patch" )
src_compile() {
# bug #773505