1 |
mr_bones_ 13/05/31 21:41:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: triplea-1.7.0.3.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.53 games-strategy/triplea/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/triplea/ChangeLog?rev=1.53&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/triplea/ChangeLog?rev=1.53&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/triplea/ChangeLog?r1=1.52&r2=1.53 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v |
20 |
retrieving revision 1.52 |
21 |
retrieving revision 1.53 |
22 |
diff -u -r1.52 -r1.53 |
23 |
--- ChangeLog 22 Mar 2013 19:40:44 -0000 1.52 |
24 |
+++ ChangeLog 31 May 2013 21:41:14 -0000 1.53 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for games-strategy/triplea |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.52 2013/03/22 19:40:44 hasufell Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.53 2013/05/31 21:41:14 mr_bones_ Exp $ |
30 |
+ |
31 |
+*triplea-1.7.0.3 (31 May 2013) |
32 |
+ |
33 |
+ 31 May 2013; Michael Sterrett <mr_bones_@g.o> +triplea-1.7.0.3.ebuild: |
34 |
+ version bump |
35 |
|
36 |
*triplea-1.6.1.4 (22 Mar 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 games-strategy/triplea/triplea-1.7.0.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/triplea/triplea-1.7.0.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/triplea/triplea-1.7.0.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: triplea-1.7.0.3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-1.7.0.3.ebuild,v 1.1 2013/05/31 21:41:14 mr_bones_ Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit eutils java-pkg-2 java-ant-2 versionator games |
54 |
|
55 |
MY_PV=$(replace_all_version_separators _) |
56 |
DESCRIPTION="An open source clone of the popular Axis and Allies boardgame" |
57 |
HOMEPAGE="http://triplea.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/triplea/${PN}_${MY_PV}_source_code_only.zip" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="" |
64 |
RESTRICT="test" # Needs X11 maybe use virtualx.eclass |
65 |
|
66 |
RDEPEND="dev-java/commons-httpclient:3 |
67 |
dev-java/apple-java-extensions-bin |
68 |
dev-java/commons-logging |
69 |
dev-java/commons-codec |
70 |
=dev-java/junit-3.8*" |
71 |
DEPEND="${RDEPEND} |
72 |
>=virtual/jdk-1.6 |
73 |
app-arch/unzip" |
74 |
RDEPEND="${RDEPEND} |
75 |
>=virtual/jre-1.6" |
76 |
|
77 |
S=${WORKDIR}/${PN}_${MY_PV} |
78 |
|
79 |
pkg_setup() { |
80 |
games_pkg_setup |
81 |
java-pkg-2_pkg_setup |
82 |
} |
83 |
|
84 |
src_prepare() { |
85 |
sed -i \ |
86 |
-e 's:"triplea":".triplea":g' \ |
87 |
src/games/strategy/engine/framework/GameRunner.java || die |
88 |
|
89 |
rm lib/derby_10_1_2.jar || die |
90 |
rm -r old/ || die |
91 |
java-pkg_jar-from apple-java-extensions-bin AppleJavaExtensions.jar \ |
92 |
lib/AppleJavaExtensions.jar |
93 |
java-pkg_jar-from commons-httpclient-3 commons-httpclient.jar \ |
94 |
lib/commons-httpclient-3.0.1.jar |
95 |
java-pkg_jar-from commons-logging commons-logging.jar \ |
96 |
lib/commons-logging-1.1.jar |
97 |
java-pkg_jar-from commons-codec commons-codec.jar \ |
98 |
lib/commons-codec-1.3.jar |
99 |
# installs the test files |
100 |
java-pkg_jar-from --into lib junit |
101 |
# Needs the substance package |
102 |
#java-pkg_jar-from substance substance.jar \ |
103 |
# lib/substance_5_3.jar |
104 |
|
105 |
# also these from some other java package... |
106 |
#lib/mailapi.jar |
107 |
#lib/upnp.jar |
108 |
#lib/activation.jar |
109 |
#lib/smtp.jar |
110 |
|
111 |
#java-pkg_ensure-no-bundled-jars |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
eant || die |
116 |
echo "triplea.saveGamesInHomeDir=true" > data/triplea.properties |
117 |
# The only target creating this is zip which does unjar etc |
118 |
cd classes || die |
119 |
jar cf ../bin/triplea.jar * || die |
120 |
rm -r * || die |
121 |
} |
122 |
|
123 |
src_test() { |
124 |
ANT_TASKS="ant-junit" eant test |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
insinto "${GAMES_DATADIR}"/${PN} |
129 |
doins -r assets bin data dice_servers maps |
130 |
|
131 |
java-pkg_regjar "${D}/${GAMES_DATADIR}"/${PN}/bin/*.jar |
132 |
java-pkg_dolauncher ${PN} -into "${GAMES_PREFIX}" \ |
133 |
--java_args "-Xmx256m" --main \ |
134 |
games.strategy.engine.framework.GameRunner |
135 |
java-pkg_dolauncher ${PN}-server -into "${GAMES_PREFIX}" \ |
136 |
--java_args "-server -Xmx64m -Dtriplea.lobby.port=3303 -Dtriplea.lobby.console=true" \ |
137 |
--main games.strategy.engine.lobby.server.LobbyServer |
138 |
|
139 |
newicon icons/triplea_icon.png ${PN}.png |
140 |
newicon icons/triplea_icon.png ${PN}-server.png |
141 |
make_desktop_entry ${PN} TripleA |
142 |
make_desktop_entry ${PN}-server TripleA-server |
143 |
|
144 |
dodoc changelog.txt TripleA_RuleBook.pdf |
145 |
dohtml -r doc/* readme.html |
146 |
prepgamesdirs |
147 |
} |