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