diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-09-02 21:35:00 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-09-02 21:35:00 +0000 |
commit | 750285caf9105175d2a9c05ed180ff75bd89d64a (patch) | |
tree | 1bd3f538a10f741fccf7bd311654ff0250c4f7c5 /games-strategy | |
parent | bump to version 2.0.0 (diff) | |
download | historical-750285caf9105175d2a9c05ed180ff75bd89d64a.tar.gz historical-750285caf9105175d2a9c05ed180ff75bd89d64a.tar.bz2 historical-750285caf9105175d2a9c05ed180ff75bd89d64a.zip |
version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/triplea/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/triplea/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/triplea/triplea-1.8.0.3.ebuild | 92 |
3 files changed, 101 insertions, 2 deletions
diff --git a/games-strategy/triplea/ChangeLog b/games-strategy/triplea/ChangeLog index 7840e98ca404..e749172fc338 100644 --- a/games-strategy/triplea/ChangeLog +++ b/games-strategy/triplea/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/triplea # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.58 2014/01/18 18:50:27 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.59 2014/09/02 21:34:55 mr_bones_ Exp $ + +*triplea-1.8.0.3 (02 Sep 2014) + + 02 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> +triplea-1.8.0.3.ebuild: + version bump 18 Jan 2014; Michael Sterrett <mr_bones_@gentoo.org> -triplea-1.6.1.2.ebuild: old diff --git a/games-strategy/triplea/Manifest b/games-strategy/triplea/Manifest index 0120ae760f44..dd575fd59985 100644 --- a/games-strategy/triplea/Manifest +++ b/games-strategy/triplea/Manifest @@ -1,4 +1,6 @@ DIST triplea_1_7_0_3_source_code_only.zip 238479931 SHA256 4cd3a0596bfe4f81cc61e5eab02a5ccd96226a291c5afb8441df5bf9898829e5 SHA512 6d6ddff0a630e1ce357c00205636b3c7586159daf8a1c66fea371c0cd053aaa75814131267cb937d9e1dc313aa2eef99dd6c73fcd4275e82ac7a2250332a8a49 WHIRLPOOL da0b259ffaedecd425cd6ddecfef3d51bd35e0274dbd996298a4de299b1a4f8f8e0c74365af8fcaf21f49ab480b282562a6867c36b4918fcb6b4815b773308c2 +DIST triplea_1_8_0_3_source_code_only.zip 378807466 SHA256 4b9947ad2e811a6c2fb54febab3f5f3197aa76d68e02a1fc8cc6fd3a97d751f4 SHA512 52e3bb1337d2adb0db9e13ded9b0eb73f96af44b62962ce36edd3411ed74dda0f90f822297c45c739a64b5b0a76b21c36049e5a9b48930a56ca7a82d1c89dd79 WHIRLPOOL 62365cdff366edce2ae07dff102d0d6428f65e18a963cb5abd1dfc9b5954323dd0941042200aa6bf714ed309d08bc1f618e91b4dc7ceae925cd5e82db0773551 EBUILD triplea-1.7.0.3.ebuild 2861 SHA256 e77cbb26501c4395eb4a15ef8e7e375590a0b797f0bc0c945b303a041fa5707d SHA512 0f9f36a2f37ba1c35ea2b557f16f33786c4948e42cf525dbbe9da7e3220a3d057f56b9139d8012a2d39e87f573216452c7cb5f600c7593c13bf7b208a9580e29 WHIRLPOOL 5fa54359f38d1d3510c9981b54204251c2fdb35d4e72baef427e07d20d1ca61d6e4e3c75511e9f6a59699d296192d2a5d06769f6c1e174dc81779c2d991a6037 -MISC ChangeLog 7367 SHA256 773259b897aa8808017804d8eb4a21d59b2df6dbb6006f787f2a7f4b81753c67 SHA512 7623a9d61b258610592e4d10ed87821b61bbf7fb3ed682dff4348076124b4e51dddc31cdff235b8625091d902b9cc36caca93968fb37022c59ac29616b0ea037 WHIRLPOOL 3de8bda6f63f859a5956d516af617308e9ed89a40483c28ede0e0988dcd339fbce697597ef01203c1a5a34528b64c62491060d322866036d84910beced86a0c4 +EBUILD triplea-1.8.0.3.ebuild 2763 SHA256 74379e867b39115d32b631b97a9dbf432ff769c942d86fba0177f6deada5007e SHA512 f34d5eb38a62aa62eb1e5f6ac2aaaa4d6b0a4a66c822629d84fe1e11ab73236b616c317a8d2658f8d6c71237c3981b35e1ffe87303816161c7e1f9aa227c2c81 WHIRLPOOL 8e2f8e395e13e4d3ef768e3f3ea95056f9df0884f2b9e3fa7228ffff317757995b760944e75ff115549f000c0ab67853b28ca7057eba49df1780bc026c3ef3ca +MISC ChangeLog 7495 SHA256 a42a004b9e04cfff05c4b1801fb6ea2f1b9bc5be0d1abd04ed4c0be3a840ea69 SHA512 0f91e08637d67bb1edf3eae1eb6baa62ac4fc7a07e6fb0678084cf6ce1449f279382e3be86af0cdba92024172a31b1418f6bcee1828a79ae7e6838ccdc42a05b WHIRLPOOL 815c94e68f234026ce967d717972830bb8ca37118dcf26dd2b3a3356189642a0026868e0221646ce89d3915c2e837b12d4db2a1e4ff11219852b07c4db2077cb MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada diff --git a/games-strategy/triplea/triplea-1.8.0.3.ebuild b/games-strategy/triplea/triplea-1.8.0.3.ebuild new file mode 100644 index 000000000000..3671a07b679e --- /dev/null +++ b/games-strategy/triplea/triplea-1.8.0.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-1.8.0.3.ebuild,v 1.1 2014/09/02 21:34:55 mr_bones_ Exp $ + +EAPI=5 +inherit eutils java-pkg-2 java-ant-2 versionator games + +MY_PV=$(replace_all_version_separators _) +DESCRIPTION="An open source clone of the popular Axis and Allies boardgame" +HOMEPAGE="http://triplea.sourceforge.net/" +SRC_URI="mirror://sourceforge/triplea/${PN}_${MY_PV}_source_code_only.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +RESTRICT="test" # Needs X11 maybe use virtualx.eclass + +RDEPEND="dev-java/commons-httpclient:3 + dev-java/apple-java-extensions-bin + dev-java/commons-logging + dev-java/commons-codec + =dev-java/junit-3.8*" +DEPEND="${RDEPEND} + >=virtual/jdk-1.6 + app-arch/unzip" +RDEPEND="${RDEPEND} + >=virtual/jre-1.6" + +S=${WORKDIR}/${PN}_${MY_PV} + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +src_prepare() { + sed -i \ + -e '/userHome.*triplea/s:"triplea":".triplea":g' \ + src/games/strategy/engine/framework/GameRunner2.java || die + + rm -r old/ lib/derby*.jar || die + java-pkg_jar-from apple-java-extensions-bin AppleJavaExtensions.jar \ + lib/AppleJavaExtensions.jar + java-pkg_jar-from commons-httpclient-3 commons-httpclient.jar \ + lib/commons-httpclient-3.0.1.jar + java-pkg_jar-from commons-logging commons-logging.jar \ + lib/commons-logging-1.1.jar + java-pkg_jar-from commons-codec commons-codec.jar \ + lib/commons-codec-1.3.jar + # installs the test files + java-pkg_jar-from --into lib junit + + # lots of other jars from some other java packages... + # either missing from portage or none stable is ages. + #java-pkg_ensure-no-bundled-jars +} + +src_compile() { + eant || die + echo "triplea.saveGamesInHomeDir=true" > data/triplea.properties + # The only target creating this is zip which does unjar etc + cd classes || die + jar cf ../bin/triplea.jar * || die + rm -r * || die +} + +src_test() { + ANT_TASKS="ant-junit" eant test +} + +src_install() { + insinto "${GAMES_DATADIR}"/${PN} + doins -r assets bin data dice_servers maps + + java-pkg_regjar "${D}/${GAMES_DATADIR}"/${PN}/bin/*.jar + java-pkg_dolauncher ${PN} -into "${GAMES_PREFIX}" \ + --java_args "-Xmx256m" --main \ + games.strategy.engine.framework.GameRunner + java-pkg_dolauncher ${PN}-server -into "${GAMES_PREFIX}" \ + --java_args "-server -Xmx64m -Dtriplea.lobby.port=3303 -Dtriplea.lobby.console=true" \ + --main games.strategy.engine.lobby.server.LobbyServer + + newicon icons/triplea_icon.png ${PN}.png + newicon icons/triplea_icon.png ${PN}-server.png + make_desktop_entry ${PN} TripleA + make_desktop_entry ${PN}-server TripleA-server + + dodoc changelog.txt TripleA_RuleBook.pdf + dohtml -r doc/* readme.html + prepgamesdirs +} |