Version bump
authorTristan Heaven <tristan@gentoo.org>
Tue, 28 Nov 2006 02:35:28 +0000 (02:35 +0000)
committerTristan Heaven <tristan@gentoo.org>
Tue, 28 Nov 2006 02:35:28 +0000 (02:35 +0000)
Package-Manager: portage-2.1.2_rc2-r2

games-strategy/freecol/ChangeLog
games-strategy/freecol/Manifest
games-strategy/freecol/files/digest-freecol-0.5.2 [new file with mode: 0644]
games-strategy/freecol/files/freecol-0.5.2-build.patch [new file with mode: 0644]
games-strategy/freecol/freecol-0.5.2.ebuild [new file with mode: 0644]

index 2ee74ba3dcfe84f3a6a290342d2de3bca37b02d4..57a405d91185216d0128bc769d860b2ad2a851d9 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-strategy/freecol
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.7 2006/10/22 13:54:18 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.8 2006/11/28 02:35:28 nyhm Exp $
+
+*freecol-0.5.2 (28 Nov 2006)
+
+  28 Nov 2006; Tristan Heaven <nyhm@gentoo.org>
+  +files/freecol-0.5.2-build.patch, +freecol-0.5.2.ebuild:
+  Version bump
 
   22 Oct 2006; Piotr JaroszyƄski <peper@gentoo.org> freecol-0.5.1.ebuild:
   Add ~amd64 keyword. Bug #130437.
index 174a322d6092bab0175405ddded87e414c39b9ae..03b6744f1b87a5bc860b58fa1866d793a046b4ed 100644 (file)
@@ -5,8 +5,13 @@ AUX freecol-0.5.1-build.patch 568 RMD160 98ac7013b4a9196a18858c1cc6373433b8383c0
 MD5 f017b07254962d322d7d771321bfe044 files/freecol-0.5.1-build.patch 568
 RMD160 98ac7013b4a9196a18858c1cc6373433b8383c02 files/freecol-0.5.1-build.patch 568
 SHA256 fca9bbe8f16c10593ddeaf7f32398fbd976a3c76b32c12589af8c062640397d4 files/freecol-0.5.1-build.patch 568
+AUX freecol-0.5.2-build.patch 568 RMD160 98ac7013b4a9196a18858c1cc6373433b8383c02 SHA1 90e913edad128858b320bacb948584bb43d8031a SHA256 fca9bbe8f16c10593ddeaf7f32398fbd976a3c76b32c12589af8c062640397d4
+MD5 f017b07254962d322d7d771321bfe044 files/freecol-0.5.2-build.patch 568
+RMD160 98ac7013b4a9196a18858c1cc6373433b8383c02 files/freecol-0.5.2-build.patch 568
+SHA256 fca9bbe8f16c10593ddeaf7f32398fbd976a3c76b32c12589af8c062640397d4 files/freecol-0.5.2-build.patch 568
 DIST freecol-0.4.0-src.tar.gz 4190257 RMD160 862da5f71a50d3040ee486966915f0f8f8209338 SHA1 ff5a5ad1391a56d88a368d4fa6d5c43960250c95 SHA256 0714683321ab76ce3f2130f431bf35d87b42a09c080971d7a04bd26656eaa83e
 DIST freecol-0.5.1-src.tar.gz 6850508 RMD160 6c0ab28d213c19c8ea372555d44aa91507413b42 SHA1 4439ab9cfb4a4b8a8e20d8776ddce0be222dc4c7 SHA256 8787b0fa49b77072cecbac7902f4f607a64089eed547d1b7cfb1914fd7f9e836
+DIST freecol-0.5.2-src.tar.gz 8204490 RMD160 00f137f23f63a3fcb3fb842ecc96006ca197f4ea SHA1 1cd4ddde8cab92a6887a72cbda355088bea77ca3 SHA256 7c956419d818ffa02c86810d23bbaeef3ed1cad172ecaa12f64a86c2280ec99f
 EBUILD freecol-0.4.0.ebuild 1293 RMD160 2c6d541519229b2980c750ed791067005b671192 SHA1 b9d35ae09fdeb943cc8bfb39f06f3798e675bd94 SHA256 ebff3fa357b81ddfd61a671c9fdf519c1bcc97728f2f49b00e959ac4866683ef
 MD5 4f281e8beb6382fc7010603decabb01f freecol-0.4.0.ebuild 1293
 RMD160 2c6d541519229b2980c750ed791067005b671192 freecol-0.4.0.ebuild 1293
@@ -15,10 +20,14 @@ EBUILD freecol-0.5.1.ebuild 1111 RMD160 4ab180bfaa9ea5c33d6c770865332fe24474a44e
 MD5 f8716016a1ef58204504a04c9cbf742a freecol-0.5.1.ebuild 1111
 RMD160 4ab180bfaa9ea5c33d6c770865332fe24474a44e freecol-0.5.1.ebuild 1111
 SHA256 fd763abb7baea11d23f9680a5a096b1e2534aaf000026b9d490307ac5d152b4a freecol-0.5.1.ebuild 1111
-MISC ChangeLog 1163 RMD160 b101b7d26650fc5656d54aaee6465a2c61773b92 SHA1 6c9cf1215b06466c0d474353bcc2e3bf52d136b7 SHA256 7dad7913699a5278bd82d44a9594f8beb9bb006fc1365832855db66ed2ad711d
-MD5 734b285957d46e40ebbebb8b40c83ed9 ChangeLog 1163
-RMD160 b101b7d26650fc5656d54aaee6465a2c61773b92 ChangeLog 1163
-SHA256 7dad7913699a5278bd82d44a9594f8beb9bb006fc1365832855db66ed2ad711d ChangeLog 1163
+EBUILD freecol-0.5.2.ebuild 1106 RMD160 a25e64c0299cec6151244190371c2a19781e9cc4 SHA1 747dac7762ee3bdfbdb096ff9cba93fcac3cf00a SHA256 633bcd8c9998e744cb1336da3df17ea9825cdefa9cbbe2017be9f8250d393b01
+MD5 bef13558a741cc9c161518532b67f2f8 freecol-0.5.2.ebuild 1106
+RMD160 a25e64c0299cec6151244190371c2a19781e9cc4 freecol-0.5.2.ebuild 1106
+SHA256 633bcd8c9998e744cb1336da3df17ea9825cdefa9cbbe2017be9f8250d393b01 freecol-0.5.2.ebuild 1106
+MISC ChangeLog 1315 RMD160 e761fc11c1dfb768c7f7121b9d33aad77c759c4f SHA1 c804a706d3c6400aaa2d044eb26b5f0efe54d3f3 SHA256 5182c41b5d85a6a94d4c2f9719414c6fe376f5890ca63775082230d129b6ed6f
+MD5 ec2fa435c481add2e3dfe4757a9b6c28 ChangeLog 1315
+RMD160 e761fc11c1dfb768c7f7121b9d33aad77c759c4f ChangeLog 1315
+SHA256 5182c41b5d85a6a94d4c2f9719414c6fe376f5890ca63775082230d129b6ed6f ChangeLog 1315
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -29,10 +38,13 @@ SHA256 0d31b65199f2b8040c0eeef56e6d070fc0ed4e6dd0c60e42c4cdcff650d94109 files/di
 MD5 bb8e9fb5959e629fa279fcaac4bf1da0 files/digest-freecol-0.5.1 256
 RMD160 bd876934b460901f7408095769eb83871d3938a2 files/digest-freecol-0.5.1 256
 SHA256 bc45c7bdb76ae045a3e442332441192e3dc2a629991e2296007c95789c933ec5 files/digest-freecol-0.5.1 256
+MD5 d4818c02ea9a804a79749b35c36f0950 files/digest-freecol-0.5.2 256
+RMD160 07fa3d5236aa56710bd71f3d5452eda0a28e0ba3 files/digest-freecol-0.5.2 256
+SHA256 b211735af0d1ae67e9fda553de22826dc3f208655239fd60d3b0bbd3c0456b21 files/digest-freecol-0.5.2 256
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFZzgCdz7hIScOURERAhsCAKDZ5/O9I9+0uPEAyb/MA9G5fjGtOACgscdE
-XFUkYmh6Dt/lZjwXLlIph3o=
-=/va0
+iD8DBQFFa6B3dz7hIScOURERAuIAAJ9Ifh/7nhm7QD5v/CPV8fAZRuhfqQCgyxgC
+Ewq1EZkALbAxJCnpo32qkns=
+=wPO/
 -----END PGP SIGNATURE-----
diff --git a/games-strategy/freecol/files/digest-freecol-0.5.2 b/games-strategy/freecol/files/digest-freecol-0.5.2
new file mode 100644 (file)
index 0000000..940d0ed
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 495130ede2de063a09c0de0b8f7e6922 freecol-0.5.2-src.tar.gz 8204490
+RMD160 00f137f23f63a3fcb3fb842ecc96006ca197f4ea freecol-0.5.2-src.tar.gz 8204490
+SHA256 7c956419d818ffa02c86810d23bbaeef3ed1cad172ecaa12f64a86c2280ec99f freecol-0.5.2-src.tar.gz 8204490
diff --git a/games-strategy/freecol/files/freecol-0.5.2-build.patch b/games-strategy/freecol/files/freecol-0.5.2-build.patch
new file mode 100644 (file)
index 0000000..e489b53
--- /dev/null
@@ -0,0 +1,18 @@
+--- build.xml.old      2006-10-07 12:09:28.000000000 +0200
++++ build.xml  2006-10-07 12:10:53.000000000 +0200
+@@ -21,6 +21,7 @@
+   </path>\r
\r
+   <!-- TASK DEFINITIONS -->\r
++  <!--\r
+   <taskdef name="jsmoothgen"\r
+            classname="net.charabia.jsmoothgen.ant.JSmoothGen"\r
+            classpath="${freecol.build.dir}/jars/jsmoothgen-ant.jar"\r
+@@ -29,6 +30,7 @@
+            classname="com.izforge.izpack.ant.IzPackTask"\r
+            classpath="${freecol.build.dir}/jars/standalone-compiler.jar"\r
+   />\r
++  -->\r
\r
+   <target name="init" unless="TSTAMP">\r
+     <tstamp/>\r
diff --git a/games-strategy/freecol/freecol-0.5.2.ebuild b/games-strategy/freecol/freecol-0.5.2.ebuild
new file mode 100644 (file)
index 0000000..e8b8922
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.5.2.ebuild,v 1.1 2006/11/28 02:35:28 nyhm Exp $
+
+inherit eutils java-ant-2 java-pkg-2 games
+
+DESCRIPTION="An open source clone of the game Colonization"
+HOMEPAGE="http://www.freecol.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+       dev-java/ant"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       rm -f FreeCol.jar
+
+       sed -i \
+               -e '/saveDirectory/s/freecol/.freecol/' \
+               src/net/sf/freecol/FreeCol.java \
+               || die "sed failed"
+
+       epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+       eant || die
+}
+
+src_install () {
+       insinto "${GAMES_DATADIR}/${PN}"
+       doins -r FreeCol.jar data/ jars/ || die "doins failed"
+
+       games_make_wrapper ${PN} "java -Xmx512M -jar FreeCol.jar" \
+               "${GAMES_DATADIR}"/${PN}
+
+       dodoc README
+       doicon ${PN}.xpm
+       make_desktop_entry ${PN} FreeCol ${PN}.xpm
+       prepgamesdirs
+}