summaryrefslogtreecommitdiff
path: root/games-arcade/supertransball2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/supertransball2
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/supertransball2')
-rw-r--r--games-arcade/supertransball2/Manifest7
-rw-r--r--games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch11
-rw-r--r--games-arcade/supertransball2/metadata.xml16
-rw-r--r--games-arcade/supertransball2/supertransball2-1.5.ebuild68
4 files changed, 102 insertions, 0 deletions
diff --git a/games-arcade/supertransball2/Manifest b/games-arcade/supertransball2/Manifest
new file mode 100644
index 000000000000..36455c5ef328
--- /dev/null
+++ b/games-arcade/supertransball2/Manifest
@@ -0,0 +1,7 @@
+AUX supertransball2-1.5-ldflags.patch 397 SHA256 f414c154e7dcae41f2b97c950bc4d9b02e884a32de7514bc3b2225a04c12b4ff SHA512 a16655c44cd13cbcd1f9fa2b96104d42914c5a26cedff7abea65552610e95c6e71934a6f3b1d32d687993bcfe27b119b53d17c3881460bc0729d9267dd7998e4 WHIRLPOOL fcc8a1c28c1b539b00f3bdf2f2586f554bb46357636d040dfb9b405d632a6af545303f7150b79064e30c3d58c05991d65f7eaf05f6bd09127d09b571168d019e
+DIST stransball2-v15-linux.zip 302212 SHA256 2552a18b4b59c1d39d7a1312e7efbebf5ac89bddc30f5e188693e841516276bc SHA512 e87655dfca039c0c8553372b4da139f1d8fa420aad1909b422318dc049a9f7972c8d2398b83fde677b3eaf21d2d70fad73d7ec0c4b7bcbeacbf3544e6e575f6a WHIRLPOOL 69ba28ed603c4e2b6388766a1fac7913db6e265e7ae11803382b7f35d68113f852404bd61ab21dea13a6badab5d06ee6d131ff5b4e47c44f39a97f8cc50772f3
+DIST supertransball2_1.5-3.diff.gz 6592 SHA256 3c6cd528d29efee5d94d1ae8a322b086732b5348bcf01d1d6b6a84244ebc8fc8 SHA512 d8f0682633d8b20661a98d037430590c0f509205857644b28a7b56fc80011df8cd5dbbacf1142514b18dd471e6f79e515d981c025cb19a2288cd7bf46c0d1ba4 WHIRLPOOL c7ce46079528fc9ed379159a3f459c5feb109bf8bebf2bc34c1e2acedc8b6e12f9cc28051ba5c66b3c8b62f910c4646c96ee8bb87536a410ae167b03ed88e6ee
+EBUILD supertransball2-1.5.ebuild 1428 SHA256 2c817c82ef3db2574b612c3ca42d8baff81d4133effea12a0cee34ce46cb8d81 SHA512 a0c91540a859f7354a13bcd1ae2d0dc3d3c1d4c6d29a24e11c2650932300dec427e3e1a9f2bd7dce7b2ba00a0f8a0aa81aeecbdcfd4eb8108899aa92cee7ff0e WHIRLPOOL d24fe119523ca8b9285e734a12956b9d9eac698e117259bea11e51da2ebbdc0fad02c82b99bafc4cfb1a3de6911c1137d3a789c012537546fc7e880e3f773435
+MISC ChangeLog 2495 SHA256 a1960463364827c1089df8a1f5f6465104c905b81a51f98a91de89ec439d3ab0 SHA512 1dc880f4155a1ecb402f3ad6dc87caa0293a660ed50931a88d93391ea1005b9298f209bdb0d4704b17e26113146c52f3e18314e855823d8c48b2a642d8adcba5 WHIRLPOOL f80acc78400ebc33f8baf898ef40a433be5e5abccd4d9d67140c2499db2723a917138ada41508da06c9f9e62a2355e862945c3ca793fe1a69e62d192788f8db8
+MISC ChangeLog-2015 1074 SHA256 6ce07c666ad1622532fbffaaf33301076cb6ec40b498ecc0b505955d3b2af70f SHA512 e8e847365bc00cb6dcaaaada393a593e9defecfd4a4280a63255b989003deb043cd74eaed4a52a855dc16b90a114cc5333f9e2b39c43b675ed3862c14bcb1b10 WHIRLPOOL 33afd1e210626735bf610b8b1ceed9cac36e774b1b4263081883c36767fec011e0670098f749a99fdbde539004394200829cd8f53f74bb24a33820a1964ba122
+MISC metadata.xml 732 SHA256 6fe6828acdd193641f7c2a4974c3450f4d06ef6e3088f88736a469a4f06edfa0 SHA512 ff6eef56c6c80e08bac6a0d2ce6f848d22e90c1326a2a3e0927c04fdabe38cd0736b8f3555cd8f0743d1ba6cc5094946488cb0b9cf1c1db4ee4176f3bde79e8d WHIRLPOOL ce44c1b3850a9f25b04e26249e670ff5452f1334dced7c341374f83b047b1e1f8b96b5d2f7e4da42410b58566eea6cfc602bfff94cdad72db948b55768a5ea99
diff --git a/games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch b/games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch
new file mode 100644
index 000000000000..daee9f6b17fd
--- /dev/null
+++ b/games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2010-10-16 21:34:09.000000000 +0200
++++ Makefile 2010-10-16 21:34:24.000000000 +0200
+@@ -17,7 +17,7 @@
+
+ # dynamically linked binary:
+ $(TARGET): $(OBJS)
+- $(CXX) $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE
++ $(CXX) $(LDFLAGS) $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE
+ mv ./$(TARGET) ..
+
+ clean:
diff --git a/games-arcade/supertransball2/metadata.xml b/games-arcade/supertransball2/metadata.xml
new file mode 100644
index 000000000000..e1b87682aaf5
--- /dev/null
+++ b/games-arcade/supertransball2/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+<longdescription lang="en">
+"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...
+</longdescription>
+</pkgmetadata>
diff --git a/games-arcade/supertransball2/supertransball2-1.5.ebuild b/games-arcade/supertransball2/supertransball2-1.5.ebuild
new file mode 100644
index 000000000000..7db0bff2c801
--- /dev/null
+++ b/games-arcade/supertransball2/supertransball2-1.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+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 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="media-libs/libsdl[sound,video]
+ 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}
+}
+
+src_prepare() {
+ cd "${WORKDIR}"
+ sed -i \
+ -e "s:/usr/share/games:${GAMES_DATADIR}:" \
+ "${DEBIAN_PATCH}" || die
+
+ epatch "${DEBIAN_PATCH}"
+
+ local deb_dir=${P}/debian/patches
+ rm -f "${deb_dir}"/00list
+ epatch "${deb_dir}"/*
+
+ cd "${S}"
+ sed -i \
+ -e "s: -I/usr/local/include/SDL::" \
+ -e "s:-g3 -O3:\$(CXXFLAGS):" \
+ -e "s:c++:\$(CXX):" \
+ Makefile || die "sed Makefile failed"
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_install() {
+ cd ..
+ dogamesbin ${PN}
+ make_desktop_entry ${PN} "Super Transball 2"
+ dodoc readme.txt
+ doman debian/supertransball2.6
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r demos graphics maps sound
+
+ prepgamesdirs
+}