commit:     b3a291b942cc02ff4b1abe87d31675e7b18b6951
Author:     Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Thu Mar 13 13:14:37 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 13:33:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a291b9

games-action/astromenace: add 1.4.3

Simple bump to 1.4.3, has commits [1] and [2] that include <stdint.h>
and <cstdint> which need to be explicitly included with gcc 15 and 13
respectively. The ODR violations from bug 858515 are also fixed [3].

[1] https://github.com/viewizard/astromenace/commit/ddc7de6
[2] https://github.com/viewizard/astromenace/commit/d5e007c
[3] https://github.com/viewizard/astromenace/commit/710b35e

Bug: https://bugs.gentoo.org/858515
Bug: https://bugs.gentoo.org/895760
Closes: https://bugs.gentoo.org/938114
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41059
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-action/astromenace/Manifest                 |  1 +
 games-action/astromenace/astromenace-1.4.3.ebuild | 56 +++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/games-action/astromenace/Manifest 
b/games-action/astromenace/Manifest
index 7259423577ea..10b0992d41f9 100644
--- a/games-action/astromenace/Manifest
+++ b/games-action/astromenace/Manifest
@@ -1 +1,2 @@
 DIST astromenace-1.4.2.tar.gz 68061933 BLAKE2B 
79511ee920eb182a428688a22b5adaa7719d574ffbd9807ebea46a036ea7de85f87aee8f927cfb8458178ed8b9c4ad61dad281196469cf6f648aa6580303fff6
 SHA512 
6a41c987295ff7201b2a9fa748b2b246c5d61bf4ae39668e614fbec377abfe08387a66182059c0e87d1c8395aa224ae396535b0f41a0be720fc57d319249e8b0
+DIST astromenace-1.4.3.tar.gz 67248904 BLAKE2B 
e8bf7a761f153f5bec267ddeac7a09d4e290eb4e558ae9131bb0bf1f16276b58751b79d95785b794d86bcd609ab3ecab94108a916a086f79d7653aaa39a67415
 SHA512 
10c1bbd330ee76dfa3c340582b5462bcb03b4c73732ae73af9b2126ddff7de85bfe9320d7fdd1cd9ec2e27f27d2664a63ed3db5424a9841c5d954b4a50a4be9a

diff --git a/games-action/astromenace/astromenace-1.4.3.ebuild 
b/games-action/astromenace/astromenace-1.4.3.ebuild
new file mode 100644
index 000000000000..dbb082f637a8
--- /dev/null
+++ b/games-action/astromenace/astromenace-1.4.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg
+
+DESCRIPTION="Hardcore 3D space scroll-shooter with spaceship upgrade 
possibilities"
+HOMEPAGE="https://viewizard.com";
+SRC_URI="https://github.com/viewizard/astromenace/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3 GPL-3+ CC-BY-SA-4.0 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       media-libs/freealut
+       media-libs/freetype:2
+       media-libs/libogg
+       media-libs/libsdl2[joystick,video]
+       media-libs/libvorbis
+       media-libs/openal
+       virtual/glu
+       virtual/opengl
+       x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       cmake_src_prepare
+
+       # no messing with CXXFLAGS please.
+       sed -i -e '/-Os/d' CMakeLists.txt || die
+}
+
+src_configure() {
+       local mycmakeargs=( -DDATADIR="${EPREFIX}/usr/share/${PN}" )
+
+       cmake_src_configure
+}
+
+src_install() {
+       # As of 1.4.2, the CMake install target is better, but still needs 
porting
+       # to GNUInstallDirs.
+       dobin "${BUILD_DIR}"/astromenace
+
+       insinto /usr/share/${PN}
+       doins "${BUILD_DIR}"/gamedata.vfs
+
+       newicon -s 128 share/astromenace_128.png ${PN}.png
+       newicon -s 64 share/astromenace_64.png ${PN}.png
+
+       einstalldocs
+
+       make_desktop_entry "${PN}" AstroMenace
+}

Reply via email to