summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-06-26 18:49:19 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-06-26 18:49:19 +0000
commit9361a9eb38b38acb87e24d414c6ab0c1d2d76a9b (patch)
treec71527f347616e2e7938900c3c3ec91190e60967 /games-arcade
parentMask net-analyzer/mausezahn (bug #515210). (diff)
downloadgentoo-2-9361a9eb38b38acb87e24d414c6ab0c1d2d76a9b.tar.gz
gentoo-2-9361a9eb38b38acb87e24d414c6ab0c1d2d76a9b.tar.bz2
gentoo-2-9361a9eb38b38acb87e24d414c6ab0c1d2d76a9b.zip
bumped EAPI to 5; converted deps to gx86-multilib, added missing dep for libstdc++.so.5
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/barbarian-bin/ChangeLog12
-rw-r--r--games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild52
2 files changed, 61 insertions, 3 deletions
diff --git a/games-arcade/barbarian-bin/ChangeLog b/games-arcade/barbarian-bin/ChangeLog
index 58e7f641bd6a..ed1fc6513acd 100644
--- a/games-arcade/barbarian-bin/ChangeLog
+++ b/games-arcade/barbarian-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-arcade/barbarian-bin
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/barbarian-bin/ChangeLog,v 1.8 2013/02/07 22:02:19 ulm Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/barbarian-bin/ChangeLog,v 1.9 2014/06/26 18:49:19 axs Exp $
+
+*barbarian-bin-1.01-r1 (26 Jun 2014)
+
+ 26 Jun 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+ +barbarian-bin-1.01-r1.ebuild:
+ bumped EAPI to 5; converted deps to gx86-multilib, added missing dep for
+ libstdc++.so.5
07 Feb 2013; Ulrich Müller <ulm@gentoo.org> barbarian-bin-1.01.ebuild:
Move Creative Commons licenses to shorter names.
@@ -31,4 +38,3 @@
13 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+barbarian-bin-1.01.ebuild:
initial commit - ebuild by Alexandru Toma via bug #60524
-
diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
new file mode 100644
index 000000000000..53d433ee8bd7
--- /dev/null
+++ b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild,v 1.1 2014/06/26 18:49:19 axs Exp $
+
+EAPI=5
+
+inherit eutils games
+
+MY_PN=${PN/-bin/}
+DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians."
+HOMEPAGE="http://www.tdbsoft.com/"
+SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip"
+
+LICENSE="CC-BY-NC-ND-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="strip"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="sys-libs/libstdc++-v3:5
+ amd64? ( sys-libs/libstdc++-v3:5[multilib] )
+ || (
+ >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]
+ amd64? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
+ )"
+
+game_dest="${GAMES_PREFIX_OPT}/${MY_PN}"
+QA_PREBUILT="${game_dest:1}/Barbarian"
+
+S=${WORKDIR}
+
+src_install() {
+ dodir "${game_dest}"
+ cp -r gfx sounds "${D}${game_dest}/" || die "cp gfx sounds failed"
+
+ exeinto "${game_dest}"
+ doexe Barbarian
+
+ dohtml Barbarian.html
+
+ games_make_wrapper barbarian ./Barbarian "${game_dest}"
+
+ # High-score file
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}${GAMES_STATEDIR}/heroes.hoh"
+ fperms 660 "${GAMES_STATEDIR}/heroes.hoh"
+ dosym "${GAMES_STATEDIR}/heroes.hoh" "${game_dest}/heroes.hoh"
+ newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp
+ make_desktop_entry barbarian "Barbarian" /usr/share/pixmaps/barbarian.bmp
+ prepgamesdirs
+}