diff options
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/Manifest.gz | bin | 20088 -> 20096 bytes | |||
-rw-r--r-- | games-arcade/methane/Manifest | 3 | ||||
-rw-r--r-- | games-arcade/methane/files/methane-2.1.0-makefile.patch | 27 | ||||
-rw-r--r-- | games-arcade/methane/methane-2.1.0.ebuild | 45 |
4 files changed, 75 insertions, 0 deletions
diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz Binary files differindex b8f28289f5f0..bda96a515eb8 100644 --- a/games-arcade/Manifest.gz +++ b/games-arcade/Manifest.gz diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest index 6171e8c90aee..e4ad9f1b22ee 100644 --- a/games-arcade/methane/Manifest +++ b/games-arcade/methane/Manifest @@ -1,5 +1,8 @@ AUX methane-2.0.1-makefile.patch 1431 BLAKE2B 317719dff5db1c9225a34cb48768e480f57eee2af17e21d8cd90b6994b975446969659670e6e4bd59f51b6246fcc87b2fe4f2323ef0353af4aa8a5b52c75c88e SHA512 3a56e628d9d3ffc702826d0404bc1707f8d409acdd75064a8df7ce9f6d5ed6acf93f4bac6ffdfcdae06c6c0ce895a497f6c03ef58d7269f7aa0a79048c98b096 +AUX methane-2.1.0-makefile.patch 1092 BLAKE2B f9f515300020fc7f3397899dba2a340456b5393b5e8a42daa2ea46a58ffd4d727afc4f56634b7b87a0a381e0d69cd871d0819c29f9de6266196550e4a9036b88 SHA512 c0c7606517cb2e4bc199453a95ae3a28a640263a1848691ad51216cabf0d406cb825effd851aee0ce6ae440dcc6d9b684c5088d258900f321225a032ba7e31d8 DIST methane-2.0.1.tar.gz 1058487 BLAKE2B 2fc450c03dbbd57439b22e8e6ac8eebd2db18f97a3338180decdc0a437207b581a00e664e6353595c9eb50c16f7d9fead96bddf6ca50b67326ecea6dd4bb935a SHA512 96b005eb5964185adea89aa43afda375c474db8088a132b2d46a843a1eca6ba91f83bf41277a3f3cfa24c4f9b9dae7098527414284fd0521e92a34c225e06bd9 +DIST methane-2.1.0.tar.gz 1059462 BLAKE2B 9a280875e5e7d44d4be88006fe97d3bbdb277f50609ad46fcdb33fcaaf10a22d8a7d4dc541637dd3f8a6e96b391b56533861d10abee38ddcb643f143c5ba632e SHA512 0854792d52a9f66d4fd43a6428fd27e92f1a8e324b085d0ab7612a7dac59e8e51d23acd10f4ac27975485049ea99e3ebb1ebae18f479a0c4286b7709438b06bf DIST methane.png 4034 BLAKE2B b10ebd8ca4bf2f6330aa89e3adb77a14bb183bf3d0dd40e305c87d58e0a6a4249662cdee8a457fc3df93a9c0b0daecf0dd8cb307c33a6b5f6e48543062b1b18f SHA512 a56e453c9971b8819904f19af4ed3e417ef0538f87bfa121918c8fa4f93c14ba922b7d29584f0c69497a7b56585a92a7df902997cf18f6f2672c31c960ea7772 EBUILD methane-2.0.1.ebuild 913 BLAKE2B dd08878d4e5661c60cc08636f2c7d3109bb70f147a85fa8b2abfb6af4defcc112822112da270ec716ec3fd7b6681f42f5d0ef8cecf1d4117c003d964a5548938 SHA512 be4e42fe5baee5f25b045be3e96dd2268c86da8851e2e938f307732fc670b9b1c7c3c66a78bf6170573bc158e4611bd4f4581d2880d7e1b7b7919c8625b88d0a +EBUILD methane-2.1.0.ebuild 952 BLAKE2B c279850721a6687b446dc463ace663d5fe2942cd55135e8bce8f2e6f46498634c0966ed7ce73238aaafdcecb1794a1d6357436922137fe0a75ab1da87fe1a12a SHA512 bfa1eea3b3544fa93499cec47c7458498f3d2b74acfa93944d19afbbddf99db881f0342f7f01d320a2d2b418d046343e32b8d81ae141212e0b0d1bfe54437524 MISC metadata.xml 386 BLAKE2B ad398e6a96148c9ad446561ebf3db06c0d0331181422772c3d71dbb46c232dc9bd0a83367a021b4375bed1010ccdeb403f2323aae521a4f776671d97c6355b2c SHA512 a1a286b7722ef07e39177dba6f1ef79bd5f3d1b49a75b80fdba92c6c32f028d97f9e790dc6650133df4f59e43c67b2ff93801f9cddedbc105200c91ec6fbc6bc diff --git a/games-arcade/methane/files/methane-2.1.0-makefile.patch b/games-arcade/methane/files/methane-2.1.0-makefile.patch new file mode 100644 index 000000000000..3d39888b97a2 --- /dev/null +++ b/games-arcade/methane/files/methane-2.1.0-makefile.patch @@ -0,0 +1,27 @@ +--- a/Makefile~ 2024-08-20 13:13:02.000000000 +0200 ++++ b/Makefile 2024-11-08 20:13:10.069539923 +0100 +@@ -1,5 +1,6 @@ +-METHANE_FLAGS = `pkg-config --cflags clanCore-4.2 clanDisplay-4.2 clanApp-4.2 clanGL-4.2 clanSound-4.2 libmikmod` -Isources +-METHANE_LIBS = `pkg-config --libs clanCore-4.2 clanDisplay-4.2 clanApp-4.2 clanGL-4.2 clanSound-4.2 libmikmod` ++PKG_CONFIG ?= pkg-config ++METHANE_FLAGS = `$(PKG_CONFIG) --cflags clanCore-4.2 clanDisplay-4.2 clanApp-4.2 clanGL-4.2 clanSound-4.2 libmikmod` -Isources ++METHANE_LIBS = `$(PKG_CONFIG) --libs clanCore-4.2 clanDisplay-4.2 clanApp-4.2 clanGL-4.2 clanSound-4.2 libmikmod` + + OBJF = sources/precomp.o \ + sources/player.o \ +@@ -37,7 +38,7 @@ + @echo "=================================" + + methane: ${OBJF} +- g++ ${CXXFLAGS} ${OBJF} -o methane ${METHANE_LIBS} ++ $(CXX) ${CXXFLAGS} ${LDFLAGS} ${OBJF} -o methane ${METHANE_LIBS} + + clean: + @rm -f sources/*.o +@@ -49,5 +50,5 @@ + # The main source code + %.o:%.cpp + @echo " Compiling $<..." +- gcc ${CXXFLAGS} ${METHANE_FLAGS} -c $< -o $@ ++ $(CXX) ${CXXFLAGS} ${METHANE_FLAGS} -c $< -o $@ + diff --git a/games-arcade/methane/methane-2.1.0.ebuild b/games-arcade/methane/methane-2.1.0.ebuild new file mode 100644 index 000000000000..621d499a87f9 --- /dev/null +++ b/games-arcade/methane/methane-2.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="Port from an old Amiga game" +HOMEPAGE="https://methane.sourceforge.net/ https://github.com/rombust/Methane" +SRC_URI="https://github.com/rombust/Methane/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://src.fedoraproject.org/rpms/methane/raw/f41/f/methane.png +" +S="${WORKDIR}/Methane-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-games/clanlib:4.2[opengl,sound] + media-libs/libmikmod +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" +) + +src_prepare() { + default + + tc-export PKG_CONFIG CXX +} + +src_install() { + dobin methane + + insinto /usr/share/${PN} + doins resources/* + + doicon "${DISTDIR}/${PN}.png" + make_desktop_entry ${PN} "Super Methane Brothers" + HTML_DOCS="docs/*" dodoc authors.txt history.txt readme.txt +} |