Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/wordwarvi: wordwarvi-0.25.ebuild ChangeLog
Date: Mon, 19 Jan 2009 16:22:50
Message-Id: E1LOwtj-0005Yg-7x@stork.gentoo.org
1 mr_bones_ 09/01/19 16:22:47
2
3 Modified: ChangeLog
4 Added: wordwarvi-0.25.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
8
9 Revision Changes Path
10 1.4 games-action/wordwarvi/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/wordwarvi/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/wordwarvi/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/wordwarvi/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/wordwarvi/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 14 Dec 2008 10:57:31 -0000 1.3
23 +++ ChangeLog 19 Jan 2009 16:22:47 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-action/wordwarvi
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/wordwarvi/ChangeLog,v 1.3 2008/12/14 10:57:31 mr_bones_ Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-action/wordwarvi/ChangeLog,v 1.4 2009/01/19 16:22:47 mr_bones_ Exp $
30 +
31 +*wordwarvi-0.25 (19 Jan 2009)
32 +
33 + 19 Jan 2009; Michael Sterrett <mr_bones_@g.o>
34 + +wordwarvi-0.25.ebuild:
35 + version bump
36
37 *wordwarvi-0.24 (14 Dec 2008)
38
39
40
41
42 1.1 games-action/wordwarvi/wordwarvi-0.25.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/wordwarvi/wordwarvi-0.25.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/wordwarvi/wordwarvi-0.25.ebuild?rev=1.1&content-type=text/plain
46
47 Index: wordwarvi-0.25.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-action/wordwarvi/wordwarvi-0.25.ebuild,v 1.1 2009/01/19 16:22:47 mr_bones_ Exp $
52
53 EAPI=1
54 inherit eutils games
55
56 DESCRIPTION="A retro side-scrolling shoot'em up based on the editor war story"
57 HOMEPAGE="http://wordwarvi.sourceforge.net"
58 SRC_URI="mirror://sourceforge/wordwarvi/${P}.tar.gz"
59
60 LICENSE="GPL-2 CCPL-Attribution-2.0 CCPL-Attribution-ShareAlike-3.0"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="vorbis"
64
65 RDEPEND="x11-libs/gtk+:2
66 vorbis? ( media-libs/libvorbis
67 >=media-libs/portaudio-19_pre1 )"
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 sed -i \
75 -e '/^DATADIR/s/=/?=/' \
76 -e '/^OPTIMIZE_FLAG/s/=.*/=$(CFLAGS)/' \
77 Makefile \
78 || die "sed failed"
79 }
80
81 src_compile() {
82 emake \
83 PREFIX="${GAMES_PREFIX}" \
84 DATADIR="${GAMES_DATADIR}/${PN}" \
85 MANDIR="/usr/share/man" \
86 WITHAUDIO=$(use vorbis && echo yes || echo no) all \
87 || die "emake failed"
88 }
89
90 src_install() {
91 emake \
92 DESTDIR="${D}" \
93 PREFIX="${GAMES_PREFIX}" \
94 DATADIR="${GAMES_DATADIR}/${PN}" \
95 MANDIR="/usr/share/man" \
96 WITHAUDIO=$(use vorbis && echo yes || echo no) all \
97 install || die "emake install failed"
98 use vorbis || rm -rf "${D}${GAMES_DATADIR}/${PN}"
99 dodoc README AUTHORS changelog.txt AAA_HOW_TO_MAKE_NEW_LEVELS.txt
100 newicon icons/wordwarvi_icon_128x128.png ${PN}.png
101 make_desktop_entry ${PN} "Word War vi"
102 prepgamesdirs
103 }