summaryrefslogtreecommitdiff
path: root/games-strategy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 02:37:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 02:37:55 +0100
commitb5c8e7977a8950fe976559fbed28db9c0bcd3d6f (patch)
treef3685b9d72ea7daa9be01003ad1168de69152385 /games-strategy
parente26a7b5ef1fe42a66a3c91fe878da93c7cf83737 (diff)
gentoo auto-resync : 19:07:2022 - 02:37:54
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/Manifest.gzbin8245 -> 8252 bytes
-rw-r--r--games-strategy/augustus/Manifest3
-rw-r--r--games-strategy/augustus/augustus-3.1.0.ebuild52
-rw-r--r--games-strategy/augustus/files/augustus-3.1.0-musl-fix-execinfo.patch12
4 files changed, 67 insertions, 0 deletions
diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz
index bbbb8dc22e7d..b880b84dd543 100644
--- a/games-strategy/Manifest.gz
+++ b/games-strategy/Manifest.gz
Binary files differ
diff --git a/games-strategy/augustus/Manifest b/games-strategy/augustus/Manifest
index 7f1b16f5f2b8..25ede6027240 100644
--- a/games-strategy/augustus/Manifest
+++ b/games-strategy/augustus/Manifest
@@ -2,6 +2,9 @@ AUX README.gentoo 426 BLAKE2B 803713ea8fe3bd1f20b3a5951cb23135ddb511b916d75ac30c
AUX augustus-3.0.1-desktop_rename.patch 241 BLAKE2B 8adea277b37e544442cbf38f18387f90d0bf9a3366c5323e2e9bbefda49f517871c173a22dbe937fbf4a1244275c3195f2d008b542c54a778550967726025e7c SHA512 e283524f8e5dafea3bfb890c19be221f586ec6fc70943914eed3d542208c33a4cccf53f06a14fbc8db21be2fdeba6f97b38cea8592a343d11574e094f82cde2e
AUX augustus-3.0.1-musl-fix-execinfo.patch 567 BLAKE2B 1cd8b9875fc6a0d94411f8838a1a26cfd54efaee1c677e84a549bd1f0add349f62a55815aef6ea79f726ee097f07cff249841d2140ac4dcdfed9c5e95e9327d3 SHA512 ee9e9d6c0bab40f5a934ee9de0c8591ed76a0f3654fb5a52987d8591395b5f69d96486327aa2d8cebce73e41a3c44252a7a8eb36529ebdd90fb05bb92142f7a7
AUX augustus-3.0.1-uncapped.patch 464 BLAKE2B 074faedf03b64b3e34c15a9412f3d22f3ec93fa638f9d90e910e2b5c203fe3e608ba29de499cedc22fdad6b19194befa5617bb6aa0e1db230873af554f5082f5 SHA512 725df61a3a21433617a672d62a97ab3f64e3bafbc6e619af8a8959de00b3144ec42c8dff747e846affe3ce74eec4dfdf6cd3613c5c07459df51945598585cf76
+AUX augustus-3.1.0-musl-fix-execinfo.patch 457 BLAKE2B f21aeb73e345dfc8e1bac9e9aab3416d9e79a14809f77745ff078461ac279651e94cea94e616c7bf1792a8439175f8722bb7c8a726456ce6f619b30f34bf1575 SHA512 ae070af822663f3e407894ac5ab2d29868733bf53031c2470eeac1abeed17cab1bbad31b9bf2c515f1d05ed47b7f76d7f512522beb3791c24f4fc2a68bd1140d
DIST augustus-3.0.1.tar.gz 47539500 BLAKE2B 43e808959f176e4024866074c227814e2be75175cbbca60fbc430a7617941766b8a00ae6f56c08239c5ed8cd60d637109e963eba859c78d60f7b37d54079e7c4 SHA512 4929763a4436863525c4d3f93570090ce066ea2abfe56766d991b7ebc03b34fc53fc8c6dcbb7f5c96e2e10d233bb5966581d148db7d7ea2eac5c1435cc4327bd
+DIST augustus-3.1.0.tar.gz 97754907 BLAKE2B 2f30458538a3395b15da1ff1da68e6be4618e51e5e6b0ab89d5215292ff8d67beb5467152caa698bd408bd4c890183ac7109c02a4bbb1e72dc0e94d3c33f6cc3 SHA512 b1831cbaa4d3bac5991aca8fdc1299a4536147d780e328d0e09bb68f71c155eccfd0b087aa9a412868aee6853fd327922481251b8c510a131148d9b31c424536
EBUILD augustus-3.0.1.ebuild 1231 BLAKE2B e5ff737136dea2ea47d00031d599814de9c1d7dbb63eeef8867e39007691e726e8e8014ae4950268940a4a95b7adf52c2b1bcbce32e7d7996e4b0c13cb63ac48 SHA512 a86f47872d3c8d978416a877f98d6bd76ae226263b34018e615aeb5b8cbdf4e5d4425edfdeb3b979a8240752288b083db2ae506070ed03a3259242a9c0e97097
+EBUILD augustus-3.1.0.ebuild 1230 BLAKE2B 787ebb20f79adc48f28e5cd5e5570e6fc8db4144684e0c6e527b765e924d077a4f612cd1a844ce863f6e52c7ebf7efcbc2cb0969d0fd3faee6fa09da17ae600f SHA512 04b7698dd8af54935cb6ed22fa068d15e5dcb0d403b29e0e9dc6a6a7b15a915de181125701e451095da0ecaf47927f7909d2e8c000fe079ea42ccbedbfd50dcf
MISC metadata.xml 808 BLAKE2B f1092bef61291ecde82d897b232b8a80448aa6a69ff3f43b9e2346252075a81d1b14c3d1815640434dc0357f71a7f314a81ded5fbe33b00f7f2ffb3b7130af00 SHA512 e50e01c64d03e0df6004892b049d8e3c30069f53742ecde6cb46bc8d76cba53a1d45ce4982d48499ba45e7557075d9db62685b5de05240409c723ea9b6f2fdcd
diff --git a/games-strategy/augustus/augustus-3.1.0.ebuild b/games-strategy/augustus/augustus-3.1.0.ebuild
new file mode 100644
index 000000000000..f960223417a5
--- /dev/null
+++ b/games-strategy/augustus/augustus-3.1.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake readme.gentoo-r1 xdg
+
+DESCRIPTION="Feature-enhanced open source re-implementation of Caesar III"
+HOMEPAGE="https://github.com/Keriew/augustus"
+SRC_URI="https://github.com/Keriew/augustus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+IUSE="uncapped"
+
+DEPEND="
+ dev-libs/expat
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick,video,sound]
+ media-libs/sdl2-mixer
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.0.1-desktop_rename.patch"
+ "${FILESDIR}/${PN}-3.1.0-musl-fix-execinfo.patch"
+)
+
+src_prepare() {
+ use uncapped && eapply "${FILESDIR}"/${PN}-3.0.1-uncapped.patch
+ cmake_src_prepare
+}
+
+src_install() {
+ cmake_src_install
+ dodir /usr/libexec
+ mv "${ED}/usr/bin/augustus" "${ED}/usr/libexec/augustus-game" ||
+ die "Failed to rename executable (required to set default resources location)."
+ newbin - augustus-game <<-EOF
+ #!/usr/bin/env sh
+ exec "${EPREFIX}/usr/libexec/augustus-game" "\${1:-\${HOME}/.local/share/julius/app}"
+ EOF
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ readme.gentoo_print_elog
+}
diff --git a/games-strategy/augustus/files/augustus-3.1.0-musl-fix-execinfo.patch b/games-strategy/augustus/files/augustus-3.1.0-musl-fix-execinfo.patch
new file mode 100644
index 000000000000..97b96cf61e59
--- /dev/null
+++ b/games-strategy/augustus/files/augustus-3.1.0-musl-fix-execinfo.patch
@@ -0,0 +1,12 @@
+# Closes: https://bugs.gentoo.org/829345
+--- a/src/platform/crash_handler.c
++++ b/src/platform/crash_handler.c
+@@ -7,7 +7,7 @@
+
+ #if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && \
+ !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && \
+- !defined(__HAIKU__) && !defined(__EMSCRIPTEN__)
++ !defined(__HAIKU__) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)
+
+ #include <execinfo.h>
+ #include <signal.h>