diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/bomberclone |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/bomberclone')
-rw-r--r-- | games-action/bomberclone/Manifest | 8 | ||||
-rw-r--r-- | games-action/bomberclone/bomberclone-0.11.8-r1.ebuild | 59 | ||||
-rw-r--r-- | games-action/bomberclone/bomberclone-0.11.8.ebuild | 51 | ||||
-rw-r--r-- | games-action/bomberclone/files/bomberclone-0.11.8-gcc52.patch | 11 | ||||
-rw-r--r-- | games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch | 20 | ||||
-rw-r--r-- | games-action/bomberclone/metadata.xml | 11 |
6 files changed, 160 insertions, 0 deletions
diff --git a/games-action/bomberclone/Manifest b/games-action/bomberclone/Manifest new file mode 100644 index 000000000000..b82e153fafef --- /dev/null +++ b/games-action/bomberclone/Manifest @@ -0,0 +1,8 @@ +AUX bomberclone-0.11.8-gcc52.patch 223 SHA256 cdb8ca5f595a4127866bd5e7e9f2cb9c7d4bec5aa73c54ccd1f059c61d5bb7a9 SHA512 a536ce4130f6dca9aaaeb79a4b4501edee1f52e020f333202f592477839409f4691ad95735cffd9f178e21c8ea8e885a908684f39e3477fd0d4137b9f8c49012 WHIRLPOOL fa8bc688ad36d31c78326185350a3bce1763692e3f7a71ca373413adbab530dcf23718c46d450a18f63fe3eb39238153f5c09feb5ab981eb1ef0164bd069a8ed +AUX bomberclone-0.11.8-underlink.patch 434 SHA256 e4ea7f22a282ac5d0ccc7ffc14f266a1fd98e8b594a3d53f236122daa753514b SHA512 78738422f3a83a9dbfa03976701bb136c4326b9bb6fca310968518c77c2a6440ba9291a568162773bf0f48691a8039e0c461972c0d8f9e40d4b54525a2db9840 WHIRLPOOL 22a8f36ed6f513327d1d13c0dcc0d995a6e719ca9f344d47ba4651eb18861bd27b4995758da6bd846dcf8afa78a4eec4f516178498bda587557e2c9c47a758f0 +DIST bomberclone-0.11.8.tar.bz2 7966452 SHA256 2f6993ee4a63e8cea51f9605e35de4b4ec12a5abafd25309c313ddb0fba35230 SHA512 a5e52db43f7f508993231ec13bb2705f60e25cfc21d15c17d9b422c6fc948dc14cc8c4519acfac2e9b7b32a3072dc3a521fbf28b2150a86cfb4099ced72ab79b WHIRLPOOL 89ecc1ce9f18342ea0bf4cb099e26eed8dc2ebddf71c75356f522a0a2b5d593d1525234c104d441f4d3073efb01e78fe234b0a7aabb81baa236df6c5133084c4 +EBUILD bomberclone-0.11.8-r1.ebuild 1206 SHA256 88e3338e738841486c5669db880ef056dd9ce6210fb30bac0cb07f3ebbc365e4 SHA512 83e33b790dbf68533078bd8fadd49ddc5c45c56893d432cd389d63787576bca8c0956ebaa2726e2131949143784a125c33093f6102f7d93489e97e1587a9d07b WHIRLPOOL b03a1e31e62de67cad06dd34900271988544395ca7d492c0faa3d183c66c15f568e1a29b2fab2c4deb9bba15974070f470114d536c5febae6d9032b5e31fe41b +EBUILD bomberclone-0.11.8.ebuild 1211 SHA256 93bbc6ee1797c4d44c584da189e8f5028d6927a3b2d5d98ea1016f1effd8c514 SHA512 9221fd2ad905c38bbd1fe07b4b5fea558302b188961e14dfe0687c9a3c90b6d5cdfcc31b76a6f4ada91cd57870d341b9230b1f0f6a5bb2aebdf96ed7a6ad5be6 WHIRLPOOL 0e80a676128fa9b0f62d0119f64ed315f3cc4090fe704cdd55cb8b84f4b14af3ce592c433b28a26edb79223ef0f2d8820358246f864a9ed07300c3ea5bb96ee1 +MISC ChangeLog 3257 SHA256 ec17994a1702dc3fd90320007e70f167bb0051b0d2028b0ab068214ca64728c5 SHA512 cb54db94bcee6d3ba8d1ae0c82beed4bc670231b7d8c2520df4c1ef4594c4bda580c87d4684e109e2d5b750b283d44b3b2ba2e63fa8bd4630e80b8e063c54aa8 WHIRLPOOL 5521cd6e437b46ac23d5fb2ac65a3d1c99182631cd98a91732ad84e933e7423cf9e367acd1c32f756b9e9f74257a8be1051379062c598ea2926d5a5f253bb318 +MISC ChangeLog-2015 4573 SHA256 8e94c6369cc9ad25dba0608fce403b3fea9ad7b9e4a19651d84f6a0826106cdd SHA512 f93c070e87074a540434aec650db206680c764cc0a045cda5328594618be4a221938cb19811fbb5edf88669fa7b19eef1ec9a9d89638062d9ccd31b71c7b5dfd WHIRLPOOL 0d3bca2d7698572264afe52b88c5fdf8b4f8cf5d2468516928e0abbccb78fb3bed21cc93a8479cbac5a84b01fac5cc1dd709a6c5bbd8947d27792e29599d99dd +MISC metadata.xml 334 SHA256 210fa7c213e91dbba676aad2cf7448e33a2701e56dda4d15c817dfe652d9418c SHA512 0e309d5ada167696d234e2e2c44cb045607018801b9e03fab79bc2496c66f6e484364200320bf6124fb5fdd787d798de6052fa659862336d233cd6bd1eb8e5e9 WHIRLPOOL 8d4258b567f932164c71cb9aca08fbfea263c83c3ddf91d85491a7ccf0a54987a87b4f6d2b2cd59ccbe8519e05c3ee72d1c52c6422ed955f134968fe0c9dd2f6 diff --git a/games-action/bomberclone/bomberclone-0.11.8-r1.ebuild b/games-action/bomberclone/bomberclone-0.11.8-r1.ebuild new file mode 100644 index 000000000000..ddd05a9d7204 --- /dev/null +++ b/games-action/bomberclone/bomberclone-0.11.8-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils autotools + +DESCRIPTION="BomberMan clone with network game support" +HOMEPAGE="http://www.bomberclone.de/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc64 ~x86" +IUSE="X" + +DEPEND=">=media-libs/libsdl-1.1.0[video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod] + X? ( x11-libs/libXt )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gcc52.patch + "${FILESDIR}"/${P}-underlink.patch +) + +src_prepare() { + default + + ecvs_clean + mv configure.{in,ac} || die + sed -i -e 's/configure.in/configure.ac/' configure.ac || die + sed -i \ + -e "s:/share/games/:share/:" \ + configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + $(use_with X x) \ + --datadir=/usr/share + sed -i \ + -e "/PACKAGE_DATA_DIR/ s:/usr/games/share/games/:/usr/share:" \ + config.h || die +} + +src_install() { + default + + dobin src/${PN} + + insinto /usr/share/${PN} + doins -r data/{gfx,maps,player,tileset,music} + find "${D}" -name "Makefile*" -exec rm -f '{}' + + + doicon data/pixmaps/bomberclone.png + make_desktop_entry bomberclone Bomberclone +} diff --git a/games-action/bomberclone/bomberclone-0.11.8.ebuild b/games-action/bomberclone/bomberclone-0.11.8.ebuild new file mode 100644 index 000000000000..3752ded7ea43 --- /dev/null +++ b/games-action/bomberclone/bomberclone-0.11.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="BomberMan clone with network game support" +HOMEPAGE="http://www.bomberclone.de/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc64 x86" +IUSE="X" + +DEPEND=">=media-libs/libsdl-1.1.0[video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod] + X? ( x11-libs/libXt )" +RDEPEND="${DEPEND}" + +src_prepare() { + ecvs_clean + epatch "${FILESDIR}"/${P}-underlink.patch \ + "${FILESDIR}"/${P}-gcc52.patch + mv configure.{in,ac} || die + sed -i -e 's/configure.in/configure.ac/' configure.ac || die + eautoreconf +} + +src_configure() { + egamesconf \ + $(use_with X x) \ + --datadir="${GAMES_DATADIR_BASE}" + sed -i \ + -e "/PACKAGE_DATA_DIR/ s:/usr/games/share/games/:${GAMES_DATADIR}/:" \ + config.h || die +} + +src_install() { + dogamesbin src/${PN} + + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/{gfx,maps,player,tileset,music} + find "${D}" -name "Makefile*" -exec rm -f '{}' + + + dodoc AUTHORS ChangeLog README TODO + doicon data/pixmaps/bomberclone.png + make_desktop_entry bomberclone Bomberclone + prepgamesdirs +} 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.8-underlink.patch b/games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch new file mode 100644 index 000000000000..18c063b56db9 --- /dev/null +++ b/games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch @@ -0,0 +1,20 @@ +--- a/configure.in 2011-06-18 18:23:48.633605738 +0200 ++++ b/configure.in 2011-06-18 18:26:26.910628408 +0200 +@@ -33,7 +33,7 @@ + ) + + CFLAGS="$SDL_CFLAGS $CFLAGS" +- LIBS="$SDL_LIBS $LIBS" ++ LIBS="$SDL_LIBS $LIBS -lm" + + + dnl Checks for header files. +@@ -84,7 +84,7 @@ + CFLAGS="$CFLAGS -Wall" + AC_MSG_WARN(Disable Warning as Error Treatment) + else +- CFLAGS="$CFLAGS -Wall -Werror" ++ CFLAGS="$CFLAGS -Wall" + fi + + diff --git a/games-action/bomberclone/metadata.xml b/games-action/bomberclone/metadata.xml new file mode 100644 index 000000000000..3948f34d5eb8 --- /dev/null +++ b/games-action/bomberclone/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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> |