diff options
Diffstat (limited to 'games-action/xblast')
-rw-r--r-- | games-action/xblast/Manifest | 8 | ||||
-rw-r--r-- | games-action/xblast/metadata.xml | 11 | ||||
-rw-r--r-- | games-action/xblast/xblast-2.10.4-r1.ebuild | 70 |
3 files changed, 89 insertions, 0 deletions
diff --git a/games-action/xblast/Manifest b/games-action/xblast/Manifest new file mode 100644 index 000000000000..2a57f286f8ba --- /dev/null +++ b/games-action/xblast/Manifest @@ -0,0 +1,8 @@ +DIST images-2005-01-06.tar.gz 860830 BLAKE2B 193c748178f8e24fa5b3b00918344cfc9939ff07f537f27d0bde6dafd5720fdef9ecc7884364ca6e3fd77297689a07640f5feeb1ca4309afc3237c8db30569ea SHA512 7254acc664997af5dae8c906a7b90570103c17295e463e8c313f5531810734241fa6485625a7a48a4859f92dbbf2b94332348a1bc85c8930ad6688e5f56be588 +DIST levels-2005-01-06.tar.gz 283353 BLAKE2B fcb380f6a61b656e30b72efa3a567f1ffae6de8f819e5e7e13840ee28c904de3f435976b9f40e6baa711b05f84bdafd8aaed1e87f551570b3dd0077b8ec9c000 SHA512 ece07564fbdf6c21b3b65f3345929c65612f3bf8ed17d4d78e1fe1e2c25f83eb174a086c66fcb891c173f56a24625f8a53623beaaea7013e536f577380680031 +DIST models-2005-01-06.tar.gz 1738564 BLAKE2B 7dfd87e47bf4555d6f01c59e83d1a341513eec61c591166bb2583865c6723b44b2ebf1c9ed9267874e2bb9a2c6cc492c2ac4e870301f13668c1719bd16848fa5 SHA512 20925bf6b0a5bde43df6bab86078e6b7e550a79d1695e3d076254deb3ba556f2c09afa5847c0b3a12f09f3b4386df2da8256cad09c0ea07d9937b98e0c3438b8 +DIST musics-2005-01-06.tar.gz 5317575 BLAKE2B 583d33535c5e80f691e9be7545038ca5dee602a1522f7749ffde0cbd9691378c9bb06c783548482eb26a61f74e3ad3cfac9166382d0644bd450eca1af0f08ed3 SHA512 885591cf5f32d76bc5bae150b24592c8eccd6f33afa5d40570429371b328671c3902c565446dae24bf949ac67b681e39e46e8d4ea737f52c66d467c09a210ede +DIST sounds.tar.gz 1612625 BLAKE2B eb1ce96370dfafd254ef50334bd6e296045da6825773704d95f5778e854da4c1460fc0a24ae6c3e0c2c3784723fbce4198dfd7331ca9c18ab0324fef6ef6f3f1 SHA512 69518766ce1cc1bef543964acb077de51c361f1a880ebc11bd0d381fe082af0e013d116aad606a18c94855a08c5a2892cb5d0d5a259b081119bb8d355a94e2b2 +DIST xblast-2.10.4.tar.gz 684965 BLAKE2B e9709f539705b9e14831fa036c540877d0d55ce8c975048c8eac0abbf2e391e36b37e4c119118d73f5bf5e888f3fbef4c1dba361b3ba1874909644f948c57613 SHA512 6b3be0d41d18cf8da721030fa87c00ffed81d29706a20dd254a07b9cc8af79bd09f63ebb7f575c1665b77b9f58f29bec74b84f27fd2106d704c2fe2d5513a835 +EBUILD xblast-2.10.4-r1.ebuild 1502 BLAKE2B ac7176dc595c8ccf528d4f6f1081b3a93e8a62de501a6bfbbde057320808922457e089c3cf17bea6ceec4744f2ad17e445eb96b2f588bb5eec6b1f12de349669 SHA512 d9150e8a8f0d067cb77f9079f84b80f88f5854e48658c8381a52856f170fb0d28b9427a5ae8432b583a5646a35ea303ab811cccc6b0f4995fd08553994f42224 +MISC metadata.xml 329 BLAKE2B 66da783ba5a7a3e13a073e0de391ded501a39c26cf4e3cf47a13fec1f36fcc0305efe5a5524d8814bf23a0424d38358820fe554f5f78af50a72cdc125bb80712 SHA512 6afab2e751e3e0a5a2199915dc2ae3149af070ee43ca200c88514ad783b0801f0e22c1c7a4026079af36d3a9b3deb016f2f57e93867d8a8e989660e744f56744 diff --git a/games-action/xblast/metadata.xml b/games-action/xblast/metadata.xml new file mode 100644 index 000000000000..c02ee380b861 --- /dev/null +++ b/games-action/xblast/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">xblast</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-action/xblast/xblast-2.10.4-r1.ebuild b/games-action/xblast/xblast-2.10.4-r1.ebuild new file mode 100644 index 000000000000..72666813a3c4 --- /dev/null +++ b/games-action/xblast/xblast-2.10.4-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +# Change these as releases changes +IMAGES="images-2005-01-06" +LEVELS="levels-2005-01-06" +MODELS="models-2005-01-06" +MUSICS="musics-2005-01-06" +SOUNDS="sounds" + +DESCRIPTION="Bomberman clone w/network support for up to 6 players" +HOMEPAGE="http://xblast.sourceforge.net/" +SRC_URI="mirror://sourceforge/xblast/${P}.tar.gz + mirror://sourceforge/xblast/${IMAGES}.tar.gz + mirror://sourceforge/xblast/${LEVELS}.tar.gz + mirror://sourceforge/xblast/${MODELS}.tar.gz + mirror://sourceforge/xblast/${MUSICS}.tar.gz + mirror://sourceforge/xblast/${SOUNDS}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libpng:0 + x11-libs/libICE + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-libs/libXt" + +src_prepare() { + default + + eautoreconf #255857 +} + +src_configure() { + econf \ + --with-otherdatadir=/usr/share/${PN} \ + --enable-sound +} + +src_install() { + local IMAGE_INSTALL_DIR="/usr/share/${PN}/image" + + default + + # Images + dodir "${IMAGE_INSTALL_DIR}" + cp -pPR "${WORKDIR}/${IMAGES}"/* "${D}/${IMAGE_INSTALL_DIR}" || die + + # Levels + insinto "/usr/share/${PN}/level" + doins "${WORKDIR}/${LEVELS}"/* + + # Models + insinto "/usr/share/${PN}/image/sprite" + doins "${WORKDIR}/${MODELS}"/* + + # Music and sound + insinto "/usr/share/${PN}/sounds" + doins "${WORKDIR}/${MUSICS}"/* "${WORKDIR}/${SOUNDS}"/* + + # Cleanup + find "${D}" -name Imakefile -exec rm \{\} \; +} |