From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-strategy/freecol: ChangeLog freecol-0.7.2.ebuild |
Date: | Wed, 19 Sep 2007 22:49:34 |
Message-Id: | E1IY8En-0001tB-Jd@stork.gentoo.org |
1 | nyhm 07/09/19 22:41:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: freecol-0.7.2.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.3.9) |
8 | |
9 | Revision Changes Path |
10 | 1.24 games-strategy/freecol/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/ChangeLog?rev=1.24&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/ChangeLog?rev=1.24&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/ChangeLog?r1=1.23&r2=1.24 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v |
19 | retrieving revision 1.23 |
20 | retrieving revision 1.24 |
21 | diff -u -r1.23 -r1.24 |
22 | --- ChangeLog 6 Sep 2007 06:18:00 -0000 1.23 |
23 | +++ ChangeLog 19 Sep 2007 22:41:41 -0000 1.24 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-strategy/freecol |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.23 2007/09/06 06:18:00 opfer Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.24 2007/09/19 22:41:41 nyhm Exp $ |
29 | + |
30 | +*freecol-0.7.2 (19 Sep 2007) |
31 | + |
32 | + 19 Sep 2007; Tristan Heaven <nyhm@g.o> |
33 | + +files/freecol-0.7.2-home.patch, +freecol-0.7.2.ebuild: |
34 | + Version bump |
35 | |
36 | 06 Sep 2007; Christian Faulhammer <opfer@g.o> freecol-0.7.1.ebuild: |
37 | stable x86, bug 190643 |
38 | |
39 | |
40 | |
41 | 1.1 games-strategy/freecol/freecol-0.7.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/freecol-0.7.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/freecol-0.7.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: freecol-0.7.2.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/freecol/freecol-0.7.2.ebuild,v 1.1 2007/09/19 22:41:41 nyhm Exp $ |
51 | |
52 | WANT_ANT_TASKS="ant-nodeps" |
53 | |
54 | inherit eutils java-pkg-2 java-ant-2 games |
55 | |
56 | DESCRIPTION="An open source clone of the game Colonization" |
57 | HOMEPAGE="http://www.freecol.org/" |
58 | SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="test" |
64 | |
65 | RDEPEND="dev-java/higlayout" |
66 | DEPEND="${RDEPEND} |
67 | test? ( |
68 | dev-java/ant-junit |
69 | dev-java/ant-trax |
70 | ) |
71 | >=virtual/jdk-1.6" |
72 | RDEPEND="${RDEPEND} |
73 | >=virtual/jre-1.6" |
74 | |
75 | S=${WORKDIR}/${PN} |
76 | |
77 | pkg_setup() { |
78 | games_pkg_setup |
79 | java-pkg-2_pkg_setup |
80 | } |
81 | |
82 | src_unpack() { |
83 | unpack ${A} |
84 | cd "${S}" |
85 | rm -v FreeCol.jar jars/* */*/*.jar || die |
86 | |
87 | epatch "${FILESDIR}"/${P}-home.patch |
88 | |
89 | sed -i "/Class-Path/s:jars/.*$:$(java-pkg_getjars higlayout):" \ |
90 | src/MANIFEST.MF \ |
91 | || die "sed failed" |
92 | |
93 | cd jars |
94 | java-pkg_jar-from higlayout |
95 | } |
96 | |
97 | # Default would be from games |
98 | src_compile() { |
99 | eant |
100 | } |
101 | |
102 | src_test() { |
103 | java-pkg_jar-from --into test/lib junit |
104 | ANT_TASKS="ant-junit ant-trax ant-nodeps" eant testall |
105 | } |
106 | |
107 | src_install () { |
108 | insinto "${GAMES_DATADIR}"/${PN} |
109 | doins -r data || die "doins failed" |
110 | |
111 | java-pkg_jarinto "${GAMES_DATADIR}"/${PN} |
112 | java-pkg_dojar FreeCol.jar |
113 | |
114 | java-pkg_dolauncher ${PN} \ |
115 | -into "${GAMES_PREFIX}" \ |
116 | --pwd "${GAMES_DATADIR}"/${PN} \ |
117 | --java_args -Xmx512M |
118 | |
119 | dodoc README |
120 | doicon ${PN}.xpm |
121 | make_desktop_entry ${PN} FreeCol ${PN}.xpm |
122 | prepgamesdirs |
123 | } |
124 | |
125 | |
126 | |
127 | -- |
128 | gentoo-commits@g.o mailing list |