diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /games-action/bomberclone | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'games-action/bomberclone')
| -rw-r--r-- | games-action/bomberclone/Manifest | 1 | ||||
| -rw-r--r-- | games-action/bomberclone/bomberclone-0.11.9-r1.ebuild | 55 | ||||
| -rw-r--r-- | games-action/bomberclone/files/bomberclone-0.11.8-gcc52.patch | 11 | ||||
| -rw-r--r-- | games-action/bomberclone/files/bomberclone-0.11.9-C23.patch | 15 | ||||
| -rw-r--r-- | games-action/bomberclone/metadata.xml | 11 |
5 files changed, 93 insertions, 0 deletions
diff --git a/games-action/bomberclone/Manifest b/games-action/bomberclone/Manifest new file mode 100644 index 000000000000..d20cb44dcb5a --- /dev/null +++ b/games-action/bomberclone/Manifest @@ -0,0 +1 @@ +DIST bomberclone-0.11.9.tar.gz 8109837 BLAKE2B b5ec7cc80b2fe4f7517302029e5e943dd673ce910148f5985a9063f19e67c5fbdb21634f8fead60728b900383f24b67b1fc2b27d1a36c07ab1cfae8f228a4fb7 SHA512 80b3db728d7c54bc421a783c7e3753289e1ecb8500e9c8457d92ce226ebe60f47c2b04fd684c1aae57b1c5968ea3d1fce53c9c269a1fc9e685589fdd0513a439 diff --git a/games-action/bomberclone/bomberclone-0.11.9-r1.ebuild b/games-action/bomberclone/bomberclone-0.11.9-r1.ebuild new file mode 100644 index 000000000000..555c5227edea --- /dev/null +++ b/games-action/bomberclone/bomberclone-0.11.9-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop xdg-utils + +DESCRIPTION="Bomberman clone with network game support" +HOMEPAGE="https://www.bomberclone.de/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc64 ~x86" + +DEPEND=">=media-libs/libsdl-1.1.0[video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" + +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/"${PN}"-0.11.8-gcc52.patch + "${FILESDIR}"/"${PN}"-0.11.9-C23.patch +) + +src_prepare() { + default + + mv -v configure.{in,ac} || die + sed -i 's/configure\.in/configure.ac/g' configure.ac || die + eautoreconf +} + +src_configure() { + LIBS="-lm" \ + econf \ + --disable-werror \ + --without-x +} + +src_install() { + emake \ + DESTDIR="${D}" \ + bomberclonedocdir=\${prefix}/share/doc/${PF} \ + install + + doicon -s 64 data/pixmaps/${PN}.png + make_desktop_entry ${PN} Bomberclone + + # Delete useless documentation. + rm -v "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL,*.nsi} || die +} + +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } diff --git a/games-action/bomberclone/files/bomberclone-0.11.8-gcc52.patch b/games-action/bomberclone/files/bomberclone-0.11.8-gcc52.patch new file mode 100644 index 000000000000..fd77e1b7b1d6 --- /dev/null +++ b/games-action/bomberclone/files/bomberclone-0.11.8-gcc52.patch @@ -0,0 +1,11 @@ +--- a/src/single.c 2015-09-17 09:21:57.826930680 +0200 ++++ b/src/single.c 2015-09-17 09:22:04.315824372 +0200 +@@ -476,7 +476,7 @@ + }; + + +-inline int ++static inline int + ai_checknewpos (_point pos, int d) + { + _point m; diff --git a/games-action/bomberclone/files/bomberclone-0.11.9-C23.patch b/games-action/bomberclone/files/bomberclone-0.11.9-C23.patch new file mode 100644 index 000000000000..1ff7442a0819 --- /dev/null +++ b/games-action/bomberclone/files/bomberclone-0.11.9-C23.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/966498 +Fixes compilation with C23 compilers +--- a/include/bomberclone.h ++++ b/include/bomberclone.h +@@ -123,8 +123,8 @@ + extern void game_start(); + extern void game_showresult (); + extern int game_check_endgame (); +-extern void game_showresultnormal (); +-extern void game_showresultteam (); ++extern void game_showresultnormal (int pos_x, int pos_y, int pos_w, int pos_h); ++extern void game_showresultteam (int pos_x, int pos_y, int pos_w, int pos_h); + extern void game_menu_create (); + extern void game_menu_loop (SDL_Event *event, int eventstate); + extern void game_resetdata (); diff --git a/games-action/bomberclone/metadata.xml b/games-action/bomberclone/metadata.xml new file mode 100644 index 000000000000..929bd7767343 --- /dev/null +++ b/games-action/bomberclone/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">bomberclone</remote-id> + </upstream> +</pkgmetadata> |
