summaryrefslogtreecommitdiff
blob: a660ce039255316113688c3821ecbf1084d2a209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/spout/spout-1.3.ebuild,v 1.3 2005/04/02 07:11:23 mr_bones_ Exp $

inherit eutils games

MY_P="spout-unix-${PV}"
DESCRIPTION="Abstract Japanese caveflier / shooter"
HOMEPAGE="http://code.mizzenblog.com/category/spout/"
SRC_URI="http://code.mizzenblog.com/spout/${MY_P}.tar.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""

DEPEND="virtual/x11
	>=media-libs/libsdl-1.2.6"

S=${WORKDIR}/${MY_P}

src_install() {
	dogamesbin spout || die "dogamesbin failed"
	doicon spout.png
	make_desktop_entry spout "Spout"
	dodoc README
	prepgamesdirs
}

pkg_postinst() {
	games_pkg_postinst
	echo
	einfo "To play in fullscreen mode, do 'spout f'."
	einfo "To play in a greater resolution, do 'spout x', where"
	einfo "x is an integer; the larger x is, the higher the resolution."
	echo
	einfo "To play:"
	einfo "Accelerate - spacebar, enter, z, x"
	einfo "Pause - escape"
	einfo "Exit - shift+escape"
	einfo "Rotate - left or right"
	echo
}