From 421e9021dd95c26b5be33ac19b02c59f403e5560 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Sun, 11 Feb 2007 09:26:35 +0000 Subject: [PATCH] New ebuild by brebs. Bug #109199 by desowin. Package-Manager: portage-2.1.1-r2 --- games-arcade/supertransball2/ChangeLog | 10 +++ games-arcade/supertransball2/Manifest | 27 ++++++++ .../files/digest-supertransball2-1.5 | 6 ++ games-arcade/supertransball2/metadata.xml | 13 ++++ .../supertransball2-1.5.ebuild | 65 +++++++++++++++++++ 5 files changed, 121 insertions(+) create mode 100644 games-arcade/supertransball2/ChangeLog create mode 100644 games-arcade/supertransball2/Manifest create mode 100644 games-arcade/supertransball2/files/digest-supertransball2-1.5 create mode 100644 games-arcade/supertransball2/metadata.xml create mode 100644 games-arcade/supertransball2/supertransball2-1.5.ebuild diff --git a/games-arcade/supertransball2/ChangeLog b/games-arcade/supertransball2/ChangeLog new file mode 100644 index 000000000000..6fe6cc7e1347 --- /dev/null +++ b/games-arcade/supertransball2/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-arcade/supertransball2 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertransball2/ChangeLog,v 1.1 2007/02/11 09:26:34 tupone Exp $ + +*supertransball2-1.5 (11 Feb 2007) + + 11 Feb 2007; +metadata.xml, + +supertransball2-1.5.ebuild: + New ebuild by brebs. Bug #109199 by desowin. + diff --git a/games-arcade/supertransball2/Manifest b/games-arcade/supertransball2/Manifest new file mode 100644 index 000000000000..6ffcbb6cd207 --- /dev/null +++ b/games-arcade/supertransball2/Manifest @@ -0,0 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST stransball2-v15-linux.zip 302212 RMD160 6e9e3c3ce7b85e1578fb55cdbf8b0e29bf305917 SHA1 5a1f5524fbd65b21da924d88f81002aad6c3ffd8 SHA256 2552a18b4b59c1d39d7a1312e7efbebf5ac89bddc30f5e188693e841516276bc +DIST supertransball2_1.5-3.diff.gz 6592 RMD160 03e1485c58e6f3f80ff73aed8c973566634ee162 SHA1 1e75e95ae39640be8b8944ec1b9c4c6445c27061 SHA256 3c6cd528d29efee5d94d1ae8a322b086732b5348bcf01d1d6b6a84244ebc8fc8 +EBUILD supertransball2-1.5.ebuild 1601 RMD160 b4d2608db854ff52fd9c8baada9c399d2ce11e6f SHA1 9f6febc5c6cbe3acf227bb54acc843daf3b87aaa SHA256 ec5c22f6a9ea8d28622cb24be129b8123c168fdb3611e8e5e9bb0c11eac83d16 +MD5 6a8ec999c436b1040a76a0d80c38fef7 supertransball2-1.5.ebuild 1601 +RMD160 b4d2608db854ff52fd9c8baada9c399d2ce11e6f supertransball2-1.5.ebuild 1601 +SHA256 ec5c22f6a9ea8d28622cb24be129b8123c168fdb3611e8e5e9bb0c11eac83d16 supertransball2-1.5.ebuild 1601 +MISC ChangeLog 394 RMD160 aa06f755ba67a982f6182bd55fb412d309988cdc SHA1 f08784aa8e0b370091929862bb9e56057c3ed0a5 SHA256 a910cc171cb83fffa82f2b7b0a6e8bfb6dfee268bd2d610bacfbb0b40fcf5db7 +MD5 6e0b7f4418e7c25553488a44b474588a ChangeLog 394 +RMD160 aa06f755ba67a982f6182bd55fb412d309988cdc ChangeLog 394 +SHA256 a910cc171cb83fffa82f2b7b0a6e8bfb6dfee268bd2d610bacfbb0b40fcf5db7 ChangeLog 394 +MISC metadata.xml 641 RMD160 6f524c0f42dc2bcd36c37363469577ace723b1f2 SHA1 67b1906abc69394ae533ce2d005184a140a8deda SHA256 2da29cc5ccec13eae783e618ba81ab5f70f28c75adf33b208e00a0734e4af1ea +MD5 343af7fcb3cdac5f27fcc67abaadc5b3 metadata.xml 641 +RMD160 6f524c0f42dc2bcd36c37363469577ace723b1f2 metadata.xml 641 +SHA256 2da29cc5ccec13eae783e618ba81ab5f70f28c75adf33b208e00a0734e4af1ea metadata.xml 641 +MD5 c2652ee6d4ca4b81d52a069f7f645f9b files/digest-supertransball2-1.5 518 +RMD160 5b43af9a1caa19fc182cb928c79ef997479b5363 files/digest-supertransball2-1.5 518 +SHA256 c82cbb83c1133e277c816d1293b4989ffad1c80678c7059a19f7cbbb4c5774b4 files/digest-supertransball2-1.5 518 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFzuFWbfN2jvlVAhwRAtNeAKC3xfX0WyTOgXEElwlHzMuNpkA6XgCgp+/E +IMa0bSeYM1f6uX01EpjEni4= +=0XoY +-----END PGP SIGNATURE----- diff --git a/games-arcade/supertransball2/files/digest-supertransball2-1.5 b/games-arcade/supertransball2/files/digest-supertransball2-1.5 new file mode 100644 index 000000000000..2877f85854f5 --- /dev/null +++ b/games-arcade/supertransball2/files/digest-supertransball2-1.5 @@ -0,0 +1,6 @@ +MD5 317325363253fc253d62d0df76fe0789 stransball2-v15-linux.zip 302212 +RMD160 6e9e3c3ce7b85e1578fb55cdbf8b0e29bf305917 stransball2-v15-linux.zip 302212 +SHA256 2552a18b4b59c1d39d7a1312e7efbebf5ac89bddc30f5e188693e841516276bc stransball2-v15-linux.zip 302212 +MD5 13087b6df6801479b0d0ca38190a93b2 supertransball2_1.5-3.diff.gz 6592 +RMD160 03e1485c58e6f3f80ff73aed8c973566634ee162 supertransball2_1.5-3.diff.gz 6592 +SHA256 3c6cd528d29efee5d94d1ae8a322b086732b5348bcf01d1d6b6a84244ebc8fc8 supertransball2_1.5-3.diff.gz 6592 diff --git a/games-arcade/supertransball2/metadata.xml b/games-arcade/supertransball2/metadata.xml new file mode 100644 index 000000000000..5b15491578f4 --- /dev/null +++ b/games-arcade/supertransball2/metadata.xml @@ -0,0 +1,13 @@ + + + +games + +"Super Transbal 2" is the sequel of "Transball" and "Transball 2", Inspired in +THRUST type of games (and concretely in ZARA THRUSTA for the Amiga 500). In each +level of Transball, the goal is to find the SPHERE, capture it and carry it to +the upper part of the level. The main obstacle is the gravity, that impulses you +towards the ground. But many other obstacles, canons, tanks, doors, etc. will +try to make difficult your journey... + + diff --git a/games-arcade/supertransball2/supertransball2-1.5.ebuild b/games-arcade/supertransball2/supertransball2-1.5.ebuild new file mode 100644 index 000000000000..9d1f2e403c80 --- /dev/null +++ b/games-arcade/supertransball2/supertransball2-1.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertransball2/supertransball2-1.5.ebuild,v 1.1 2007/02/11 09:26:34 tupone Exp $ + +inherit eutils versionator games + +MY_PV=$(delete_all_version_separators) +MY_P=stransball2-v${MY_PV} +FILE=${MY_P}-linux +DEBIAN_PATCH="${PN}_${PV}-3.diff" + +DESCRIPTION="Thrust clone" +HOMEPAGE="http://www.braingames.getput.com/stransball2/" +SRC_URI="http://braingames.bugreport.nl/stransball2/${FILE}.zip + mirror://debian/pool/main/s/${PN}/${DEBIAN_PATCH}.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-sound + media-libs/sge" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${P}/sources + +src_unpack() { + unpack ${A} + mv -f "${FILE}" ${P} + + sed -i \ + -e "s:/usr/share/games:${GAMES_DATADIR}:" \ + "${DEBIAN_PATCH}" || die "sed patch failed" + + epatch "${DEBIAN_PATCH}" + + local deb_dir=${P}/debian/patches + rm -f "${deb_dir}"/00list + local p + for p in "${deb_dir}"/* ; do + epatch "${p}" + done + + sed -i \ + -e "s: -I/usr/local/include/SDL::" \ + -e "s:-g3 -O3:\$(CXXFLAGS):" \ + "${S}"/Makefile || die "sed Makefile failed" +} + +src_install() { + cd .. + dogamesbin ${PN} || die "dogamesbin failed" + make_desktop_entry ${PN} "Super Transball 2" + dodoc readme.txt || die "Installing doc failed" + doman debian/supertransball2.6 || die "Installing man page failed" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r demos graphics maps sound || die "doins -r failed" + + prepgamesdirs +} -- 2.26.2