/[gentoo-x86]/games-action/chromium/chromium-0.9.14.1.ebuild
Gentoo

Contents of /games-action/chromium/chromium-0.9.14.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Mar 31 20:24:38 2011 UTC (9 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.1.9.42/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.14.1.ebuild,v 1.5 2010/10/22 14:37:45 fauli Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 MY_P="${PN}-bsu-${PV}"
9 DESCRIPTION="Chromium B.S.U. - an arcade game"
10 HOMEPAGE="http://chromium-bsu.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/chromium-bsu/${MY_P}.tar.gz"
12
13 LICENSE="Clarified-Artistic"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc x86"
16 IUSE="mixer nls +sdl"
17
18 RDEPEND="media-fonts/dejavu
19 media-libs/quesoglc
20 media-libs/glpng
21 virtual/opengl
22 virtual/glu
23 x11-libs/libXmu
24 mixer? ( media-libs/sdl-mixer )
25 !mixer? (
26 media-libs/freealut
27 media-libs/openal
28 )
29 nls? ( virtual/libintl )
30 sdl? (
31 media-libs/libsdl[X]
32 media-libs/sdl-image[png]
33 )
34 !sdl? ( media-libs/freeglut )"
35 DEPEND="${RDEPEND}
36 nls? ( sys-devel/gettext )"
37
38 S=${WORKDIR}/${MY_P}
39
40 src_configure() {
41 egamesconf \
42 --disable-dependency-tracking \
43 --disable-ftgl \
44 --enable-glc \
45 $(use_enable mixer sdlmixer) \
46 $(use_enable !mixer openal) \
47 $(use_enable nls) \
48 $(use_enable sdl) \
49 $(use_enable sdl sdlimage) \
50 $(use_enable !sdl glut)
51 }
52
53 src_install() {
54 emake DESTDIR="${D}" install || die "emake install failed"
55
56 # remove installed /usr/games/share stuff
57 rm -rf "${D}"/"${GAMES_PREFIX}"/share/
58 newicon misc/${PN}-bsu.png ${PN}.png || die "doicon failed"
59 make_desktop_entry ${PN}-bsu "Chromium B.S.U"
60
61 # install documentation
62 dodoc AUTHORS README NEWS || die "dodoc failed"
63 dohtml "${S}"/data/doc/*.htm || die "dohtml failed"
64 cd "${S}"/data/doc/images
65 insinto /usr/share/doc/${PF}/html/images
66 doins *.jpg || die "doins failed"
67
68 prepgamesdirs
69 }

  ViewVC Help
Powered by ViewVC 1.1.20