diff options
author | Thomas Kahle <tomka@gentoo.org> | 2012-12-25 20:51:24 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2012-12-25 20:51:24 +0000 |
commit | 80fb8abbd5d9f9419dc57269cdc8ed19ae28ab44 (patch) | |
tree | 84a7e0133842a758e758a1defc12067588b73613 /games-strategy | |
parent | Further simplify init script. (diff) | |
download | historical-80fb8abbd5d9f9419dc57269cdc8ed19ae28ab44.tar.gz historical-80fb8abbd5d9f9419dc57269cdc8ed19ae28ab44.tar.bz2 historical-80fb8abbd5d9f9419dc57269cdc8ed19ae28ab44.zip |
bump
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Manifest-Sign-Key: 0x89DEB219565C32BC
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/freeorion/ChangeLog | 9 | ||||
-rw-r--r-- | games-strategy/freeorion/Manifest | 10 | ||||
-rw-r--r-- | games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild | 108 |
3 files changed, 121 insertions, 6 deletions
diff --git a/games-strategy/freeorion/ChangeLog b/games-strategy/freeorion/ChangeLog index 7122895a12d1..449099f65506 100644 --- a/games-strategy/freeorion/ChangeLog +++ b/games-strategy/freeorion/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/freeorion # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeorion/ChangeLog,v 1.2 2012/09/16 19:53:39 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeorion/ChangeLog,v 1.3 2012/12/25 20:51:17 tomka Exp $ + +*freeorion-0.4.2_pre20121225 (25 Dec 2012) + + 25 Dec 2012; Thomas Kahle <tomka@gentoo.org> + +freeorion-0.4.2_pre20121225.ebuild: + bump *freeorion-0.4.2_pre20120910-r1 (16 Sep 2012) @@ -26,4 +32,3 @@ 23 Apr 2012; hasufell <julian.ospald@googlemail.com> +freeorion-0.3.17_p4823.ebuild, +metadata.xml: New Ebuild for bug 402019 thanks to all - diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest index b32569130aab..4a81a868ac91 100644 --- a/games-strategy/freeorion/Manifest +++ b/games-strategy/freeorion/Manifest @@ -2,14 +2,16 @@ Hash: SHA256 DIST FreeOrion-0.4.2_pre20120910.tar.bz2 337118644 SHA256 7b66ae65075e68af8b7eb03b28be4813522ff61724b1ae52647a583eca35daa2 SHA512 2fb59f83c5219b73fbf9ebf309675789e701bca5460db4c8d4a367ebf4b5be7b4c5d50d9715794949804c272ed8be82b5caf63e61de0fbd3a0ea19c449593a67 WHIRLPOOL 3b81424e92fbc48cc8383558d885b4a59928b41aa81dcce0120d3ceec4e56a0fc20621bd141393229042fc5582544e0cd5392281bc04d486091ff3bf6babb84a +DIST FreeOrion-0.4.2_pre20121225.tar.gz 173281701 SHA256 8aa69e79275e894d30493d69ddf5b0040ca1ed6c357a0f966a87cd56bd64ee7b SHA512 57afad854a55c78ce5fb692fcc97c584ee67c49cd7f0fce3597c8a15c71c76fbd8567d96fb34a2ea3f30a236a067ac84ffe0a13020dedb98b91060ebb3cb4d8a WHIRLPOOL da9dd8e5b9bf2a583a93f2be37de29b5f947b65a5a5b68d3fa4c525d448fa67a02304fd516dd24cffe3af8669a074eb28d24e209b59ef21bff227397e3e7a992 EBUILD freeorion-0.4.2_pre20120910-r1.ebuild 2743 SHA256 828b4e39e367f4bf604b36a5fb4f08b5e6a75af957258c572c0454a9b51514e6 SHA512 829812a65def6f832b6b486d82e1bbc3a3d042d48fb7456bb6d6775c0b26d007f9a3810fa0612e71cfb32a1d4d90e1bf8e528307eb6dcab5592cadccc216e2f5 WHIRLPOOL d1643ceb354d1fe7eec7475b27286e4214381e0d53a75b4320fd4781355568fe35ea62d29bec4858d9d62eb944d48bfe9883464199bc055228bc05df24e2b26f EBUILD freeorion-0.4.2_pre20120910.ebuild 2453 SHA256 1b35cb965c4c5818d026ab609847610eba0e3c5cd0bf24378fc1da27ee935d42 SHA512 22f8bdd7f2a03a8c079daee7920aa748cf2eb554a83b505097dd0880ef014b18d65dc79cfdd26f1ce1ff6f565063281cb108d2a0a1a78eedfd16b70d0b041539 WHIRLPOOL 5c18da577cec858c29a2b1e3b389087476df1744784972b7cca5061a0a5f0869184eabba011a671f8e04ead85f9eaa4f9385a607bdb710ea15eddfb1601bbdb0 -MISC ChangeLog 995 SHA256 bb15e2914b4f09e5c9c8792b37c00122ae1b805c8db0299c65e69571c4ebe0fc SHA512 2cec89e5a3eab0f44f2d0d944c6e453c815abb7d48910ffeefb1437d079079b47c44833d6e1c022f68adb65bd8ec02e711e892f5bbc4753f5619bfeb56d010bc WHIRLPOOL a2e2e22dd3ad11037bb2d7018ea88c03708a46aade680cd010e31f3480c794b4a23d4eb0a808b08b5e452ccf41ce59ac0ff56ca34dd33ff748b2975abff828d3 +EBUILD freeorion-0.4.2_pre20121225.ebuild 2705 SHA256 4ca40797d915a7fed531e2b4877889d7ff2c25dc5df2c9f145f4953ad38c95eb SHA512 3555998b22ae002dbee2e12a8c351135fa8c9ff8eac023fa477934ec61717a6feb6a72e214ff146c24e67aaf16f453d8b6e3aa234aeafd3ebc13efcbb4c8d20b WHIRLPOOL 6d288ee00590cdbc294283b718915c8b3407144b2e013c7d1dd2c9832c5a64f2e1da82c89baa54a1cd26baccad3d4df6d796984dedefd261dc8b9b3fc2186926 +MISC ChangeLog 1132 SHA256 f34945d534f18cb0e1203ef835c6cbf3cabf78694116d21a37e46d140e02c941 SHA512 971aaf7f6e272ae3521c95f0eb153b857343778a9b1e8a1ac02ecc4de6bbc8b0577cfbb5fa5cedf2b326324a96108f0664a9fe3af0b805e80441dd7f87670c7e WHIRLPOOL 559782ceb2c8a752cc4b3aab2e3691cbaecc3336d98beade87733db3cde2d8bc4ad55df332186ae4ccf522c8498307946d0f900d3d8d886574723e046fa6bb0b MISC metadata.xml 657 SHA256 31922a4a89499c885b776d17fe427833212e76d80e78755fd202d252ee9120e4 SHA512 a00342cfa84144df06cc461da147a1211c79c6421a65dfe748e2c4ac30f4deab05eb96dc4843d2b6eb814e5df567adb3907e0e6ad0d4b2f4bf3cf387f92aff92 WHIRLPOOL aa131a7c6bcf66273a7c4d0a3a30a19bbbb135707b67359eb80a2a782b608dba169387dc479a1c72971310211ff75db0b41b9c98e50e2127251f6e088f8486ec -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlBWLkkACgkQid6yGVZcMrzlxAD+PXr1l2R+kHLks26FhSJbjQYD -hvQji02lRaWoZFgNfD4A/i+LrX/7lVWAT4p6JIB8a4lF20hjFLcAWALcl0OBv6Xg -=7Kc1 +iF4EAREIAAYFAlDaEcYACgkQid6yGVZcMrzeWgD/ciEoN/HmxEVvdPngtu5Uy1Fq +3QeDSI//BsHtmoq/5v8BAKVNEleIoaYEo1gcGLTC0wX59EQP18IHpyhFHAMsnyDr +=lA3t -----END PGP SIGNATURE----- diff --git a/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild b/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild new file mode 100644 index 000000000000..3b2f84309d2d --- /dev/null +++ b/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild,v 1.1 2012/12/25 20:51:17 tomka Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" + +inherit cmake-utils python games + +myPN="FreeOrion" + +DESCRIPTION="A free turn-based space empire and galactic conquest game" +HOMEPAGE="http://www.freeorion.org" +SRC_URI="http://dev.gentoo.org/~tomka/files/FreeOrion-${PV}.tar.gz" + +LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cg" + +# Needs a dev-games/gigi from the freeorion source directory. +# It's safest to use the same version. +RDEPEND=" + dev-games/gigi[ogre,ois] + dev-games/ogre[cg?,opengl] + >=dev-libs/boost-1.47[python] + media-libs/freealut + media-libs/libogg + media-libs/libsdl[X,opengl,video] + media-libs/libvorbis + media-libs/openal + sci-physics/bullet + sys-libs/zlib + virtual/opengl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${myPN}" +CMAKE_USE_DIR="${S}" +CMAKE_VERBOSE="1" + +pkg_setup() { + # build system is using FindPythonLibs.cmake which needs python:2 + python_set_active_version 2 + python_pkg_setup + games_pkg_setup +} + +src_prepare() { + # set OGRE plugin-dir + sed \ + -e "s:PluginFolder=.:PluginFolder=$(pkg-config --variable=plugindir OGRE):" \ + -i "${CMAKE_USE_DIR}"/ogre_plugins.cfg || die + + if use cg ; then + # add cg ogre plugin to config + echo "Plugin=Plugin_CgProgramManager" \ + >> "${CMAKE_USE_DIR}"/ogre_plugins.cfg || die + fi + + # set revision for display in game -- update on bump! + sed -i -e 's/???/5576/' CMakeLists.txt +} + +src_configure() { + local mycmakeargs=( + -DRELEASE_COMPILE_FLAGS="" + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + # data files + rm "${CMAKE_USE_DIR}"/default/COPYING || die + insinto "${GAMES_DATADIR}"/${PN} + doins -r "${CMAKE_USE_DIR}"/default || die + + # bin + dogamesbin "${CMAKE_BUILD_DIR}"/${PN}{ca,d} || die + newgamesbin "${CMAKE_BUILD_DIR}"/${PN} ${PN}.bin || die + games_make_wrapper ${PN} \ + "${GAMES_BINDIR}/${PN}.bin --resource-dir ./default" \ + "${GAMES_DATADIR}/${PN}" + + # config + insinto "${GAMES_SYSCONFDIR}"/${PN} + doins "${CMAKE_USE_DIR}"/{OISInput,ogre_plugins}.cfg || die + # game uses relative paths + dosym "${GAMES_SYSCONFDIR}"/${PN}/ogre_plugins.cfg \ + "${GAMES_DATADIR}"/${PN}/ogre_plugins.cfg || die + dosym "${GAMES_SYSCONFDIR}"/${PN}/OISInput.cfg \ + "${GAMES_DATADIR}"/${PN}/OISInput.cfg || die + + # other + dodoc "${CMAKE_USE_DIR}"/changelog.txt || die + newicon "${CMAKE_USE_DIR}"/default/data/art/icons/FO_Icon_32x32.png \ + ${PN}.png || die + make_desktop_entry ${PN} ${PN} ${PN} + + # permissions + prepgamesdirs +} |