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-strategy/asc: asc-2.4.0.0.ebuild ChangeLog
Date: Tue, 22 Dec 2009 03:38:14
Message-Id: E1NMvZa-0005EI-Es@stork.gentoo.org
1 mr_bones_ 09/12/22 03:38:10
2
3 Modified: ChangeLog
4 Added: asc-2.4.0.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.32 games-strategy/asc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/asc/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/asc/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/asc/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/asc/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 22 Feb 2009 15:52:00 -0000 1.31
23 +++ ChangeLog 22 Dec 2009 03:38:10 -0000 1.32
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-strategy/asc
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/ChangeLog,v 1.31 2009/02/22 15:52:00 armin76 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/ChangeLog,v 1.32 2009/12/22 03:38:10 mr_bones_ Exp $
30 +
31 +*asc-2.4.0.0 (22 Dec 2009)
32 +
33 + 22 Dec 2009; Michael Sterrett <mr_bones_@g.o> +asc-2.4.0.0.ebuild:
34 + version bump
35
36 22 Feb 2009; Raúl Porcel <armin76@g.o> asc-2.2.0.0.ebuild:
37 x86 stable wrt #257719
38
39
40
41 1.1 games-strategy/asc/asc-2.4.0.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/asc/asc-2.4.0.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/asc/asc-2.4.0.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: asc-2.4.0.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/asc-2.4.0.0.ebuild,v 1.1 2009/12/22 03:38:10 mr_bones_ Exp $
51
52 EAPI=2
53 inherit toolchain-funcs flag-o-matic games
54
55 DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
56 HOMEPAGE="http://www.asc-hq.org/"
57 SRC_URI="mirror://sourceforge/asc-hq/${P}.tar.bz2
58 http://www.asc-hq.org/music/frontiers.ogg
59 http://www.asc-hq.org/music/time_to_strike.ogg
60 http://www.asc-hq.org/music/machine_wars.ogg"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND="app-arch/bzip2
68 media-libs/jpeg
69 media-libs/libsdl
70 media-libs/libpng
71 media-libs/sdl-image[gif,jpeg,png]
72 media-libs/sdl-mixer[vorbis]
73 media-libs/sdl-sound
74 dev-libs/boost
75 dev-games/physfs
76 media-libs/libvorbis
77 media-libs/xvid
78 dev-libs/expat
79 media-libs/freetype
80 dev-lang/lua
81 x11-libs/wxGTK
82 dev-libs/libsigc++:1.2"
83 DEPEND="${RDEPEND}
84 dev-lang/perl
85 dev-util/pkgconfig"
86
87 src_unpack() {
88 local f
89
90 unpack ${P}.tar.bz2
91 for f in ${A}
92 do
93 case ${f} in
94 *ogg)
95 cp "${DISTDIR}/${f}" "${S}/data/music" || die "cp music failed"
96 ;;
97 esac
98 done
99 }
100
101 src_configure() {
102 # Added --disable-paraguitest for bugs 26402 and 4488
103 # Added --disable-paragui for bug 61154 since it's not really used much
104 # and the case is well documented at http://www.asc-hq.org/
105 if [[ $(gcc-major-version) -eq 4 ]] ; then
106 replace-flags -O3 -O2
107 fi
108 egamesconf \
109 --disable-dependency-tracking \
110 --disable-paraguitest \
111 --disable-paragui \
112 --datadir="${GAMES_DATADIR_BASE}"
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install || die "emake install failed"
117 dodoc AUTHORS ChangeLog README TODO
118 dohtml -r doc/*
119 prepgamesdirs
120 }