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.4.ebuild |
Date: | Mon, 16 Jun 2008 20:48:30 |
Message-Id: | E1K8Lcm-0004K7-9d@stork.gentoo.org |
1 | nyhm 08/06/16 20:48:24 |
2 | |
3 | Modified: ChangeLog |
4 | Added: freecol-0.7.4.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.2_pre8/cvs/Linux 2.6.25.6 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.30 games-strategy/freecol/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/ChangeLog?rev=1.30&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/ChangeLog?rev=1.30&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/ChangeLog?r1=1.29&r2=1.30 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v |
19 | retrieving revision 1.29 |
20 | retrieving revision 1.30 |
21 | diff -u -r1.29 -r1.30 |
22 | --- ChangeLog 29 Feb 2008 19:45:56 -0000 1.29 |
23 | +++ ChangeLog 16 Jun 2008 20:48:23 -0000 1.30 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-strategy/freecol |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.29 2008/02/29 19:45:56 carlo Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.30 2008/06/16 20:48:23 nyhm Exp $ |
29 | + |
30 | +*freecol-0.7.4 (16 Jun 2008) |
31 | + |
32 | + 16 Jun 2008; Tristan Heaven <nyhm@g.o> |
33 | + +files/freecol-0.7.4-home.patch, +freecol-0.7.4.ebuild: |
34 | + Version bump |
35 | |
36 | 29 Feb 2008; Carsten Lohrke <carlo@g.o> ChangeLog: |
37 | Remove icon extension from desktop entry to match Icon Theme Specification. |
38 | |
39 | |
40 | |
41 | 1.1 games-strategy/freecol/freecol-0.7.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/freecol-0.7.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/freecol-0.7.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: freecol-0.7.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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.4.ebuild,v 1.1 2008/06/16 20:48:23 nyhm Exp $ |
51 | |
52 | WANT_ANT_TASKS="ant-nodeps" |
53 | inherit eutils java-pkg-2 java-ant-2 games |
54 | |
55 | DESCRIPTION="An open source clone of the game Colonization" |
56 | HOMEPAGE="http://www.freecol.org/" |
57 | SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="test" |
63 | |
64 | RDEPEND="dev-java/higlayout" |
65 | DEPEND="${RDEPEND} |
66 | test? ( |
67 | dev-java/ant-junit |
68 | dev-java/ant-trax |
69 | ) |
70 | >=virtual/jdk-1.6" |
71 | RDEPEND="${RDEPEND} |
72 | >=virtual/jre-1.6" |
73 | |
74 | S=${WORKDIR}/${PN} |
75 | |
76 | pkg_setup() { |
77 | games_pkg_setup |
78 | java-pkg-2_pkg_setup |
79 | } |
80 | |
81 | src_unpack() { |
82 | unpack ${A} |
83 | cd "${S}" |
84 | rm -fv $(find . -name '*.jar') |
85 | java-pkg_jar-from --into jars higlayout |
86 | epatch "${FILESDIR}"/${P}-home.patch |
87 | sed -i \ |
88 | -e "/Class-Path/s:jars/.*\":$(java-pkg_getjars higlayout)\":" \ |
89 | build.xml \ |
90 | || die "sed failed" |
91 | } |
92 | |
93 | src_compile() { |
94 | eant |
95 | } |
96 | |
97 | src_test() { |
98 | java-pkg_jar-from --into test/lib junit |
99 | ANT_TASKS="ant-junit ant-trax ant-nodeps" eant testall |
100 | } |
101 | |
102 | src_install () { |
103 | java-pkg_jarinto "${GAMES_DATADIR}"/${PN} |
104 | java-pkg_dojar FreeCol.jar |
105 | java-pkg_dolauncher ${PN} \ |
106 | -into "${GAMES_PREFIX}" \ |
107 | --pwd "${GAMES_DATADIR}"/${PN} \ |
108 | --java_args -Xmx512M |
109 | insinto "${GAMES_DATADIR}"/${PN} |
110 | doins -r data || die "doins failed" |
111 | doicon ${PN}.xpm |
112 | make_desktop_entry ${PN} FreeCol |
113 | dodoc README |
114 | prepgamesdirs |
115 | } |
116 | |
117 | |
118 | |
119 | -- |
120 | gentoo-commits@l.g.o mailing list |