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

Contents of /games-action/chromium/chromium-0.9.12-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Nov 20 01:38:44 2003 UTC (17 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.12-r4.ebuild,v 1.4 2003/11/16 01:18:38 vapier Exp $
4
5 inherit games eutils
6
7 DESCRIPTION="Chromium B.S.U. - an arcade game"
8 HOMEPAGE="http://www.reptilelabour.com/software/chromium/"
9 SRC_URI="http://www.reptilelabour.com/software/files/chromium/chromium-src-${PV}.tar.gz
10 http://www.reptilelabour.com/software/files/chromium/chromium-data-${PV}.tar.gz"
11
12 LICENSE="Artistic"
13 SLOT="0"
14 KEYWORDS="x86 ppc alpha amd64"
15 IUSE="arts esd qt sdl svga oggvorbis alsa"
16
17 DEPEND="virtual/glibc
18 sys-devel/gcc
19 virtual/glut
20 sdl? ( media-libs/libsdl )
21 qt? ( =x11-libs/qt-2* )
22 oggvorbis? ( media-libs/libogg media-libs/libvorbis )
23 media-libs/libggi
24 media-libs/libgii
25 alsa? ( media-libs/alsa-lib )
26 arts? ( kde-base/kdelibs )
27 esd? ( media-sound/esound )
28 media-libs/audiofile
29 svga? ( media-libs/svgalib )
30 >=media-libs/smpeg-0.4.4-r1" # this last isn't strictly needed but is useful
31
32 S=${WORKDIR}/Chromium-0.9
33
34 src_unpack() {
35 unpack ${A}
36 epatch ${FILESDIR}/${P}-gcc3-gentoo.patch
37 }
38
39 src_compile() {
40 local myconf
41 myconf="${myconf} --enable-smpeg"
42 myconf="${myconf} `use_enable sdl`"
43 myconf="${myconf} `use_enable oggvorbis vorbis`"
44 myconf="${myconf} `use_enable qt setup`"
45
46 ./configure ${myconf} || die
47 QTDIR=/usr/qt/2 make || die
48 }
49
50 src_install() {
51 find ${D} -name CVS -type d -exec rm -rf '{}' \;
52
53 exeinto ${GAMES_BINDIR}
54 doexe bin/chromium*
55
56 dodir ${GAMES_DATADIR}/${PN}
57 cp -a data/* ${D}/${GAMES_DATADIR}/${PN}/
58
59 dodir /etc/env.d
60 echo "CHROMIUM_DATA=${GAMES_DATADIR}/${PN}" > ${D}/etc/env.d/99chromium
61
62 prepgamesdirs
63 }
64
65 pkg_postinst() {
66 games_pkg_postinst
67 ewarn "Before you play this game you must"
68 ewarn "update your environment."
69 ewarn "Either restart your shell or just run:"
70 ewarn "source /etc/profile"
71 }

  ViewVC Help
Powered by ViewVC 1.1.20