diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-04-14 22:05:06 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-04-14 22:05:06 +0000 |
commit | 18e6f2394d02fd01cc8aa2e2749b784f39623dd8 (patch) | |
tree | fa18e5d7629830e1cdc474618d590c5ef8da05fb /games-strategy | |
parent | Fix init script according to bug #76010 (diff) | |
download | historical-18e6f2394d02fd01cc8aa2e2749b784f39623dd8.tar.gz historical-18e6f2394d02fd01cc8aa2e2749b784f39623dd8.tar.bz2 historical-18e6f2394d02fd01cc8aa2e2749b784f39623dd8.zip |
Version bump, bug #129551
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/glest/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/glest/Manifest | 25 | ||||
-rw-r--r-- | games-strategy/glest/files/digest-glest-2.0.0 | 15 | ||||
-rw-r--r-- | games-strategy/glest/files/glest-2.0.0-gcc41.patch | 11 | ||||
-rw-r--r-- | games-strategy/glest/glest-2.0.0.ebuild | 105 |
5 files changed, 160 insertions, 4 deletions
diff --git a/games-strategy/glest/ChangeLog b/games-strategy/glest/ChangeLog index da0adb56da7c..b68f6dde9769 100644 --- a/games-strategy/glest/ChangeLog +++ b/games-strategy/glest/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/glest # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.9 2006/03/16 23:25:01 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.10 2006/04/14 22:05:06 tupone Exp $ + +*glest-2.0.0 (14 Apr 2006) + + 14 Apr 2006; <Tupone@gentoo.org> +files/glest-2.0.0-gcc41.patch, + +glest-2.0.0.ebuild: + Version bump, bug #129551 requested by Paul Bredbury 16 Mar 2006; <Tupone@gentoo.org> glest-1.2.1.2.ebuild: Fixing bug #119474 (does not build with LINGUAS). Thanks Pinky. diff --git a/games-strategy/glest/Manifest b/games-strategy/glest/Manifest index c15f2a6b2bf9..92a69192dd5f 100644 --- a/games-strategy/glest/Manifest +++ b/games-strategy/glest/Manifest @@ -1,15 +1,34 @@ -MD5 6cf9f541ca9214b7844c48be3179800b ChangeLog 1609 -RMD160 b6c7aff1c513cee7e610029c853383511be8944e ChangeLog 1609 -SHA256 6a96bf6cef52194f7153472843f738020268c8bea8c534b2007cb6569cb02f5f ChangeLog 1609 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 4c4073f11076ce24a1a748d8bc4f3f43 ChangeLog 1784 +RMD160 8a9d20dcc115bf457588c9d217e3bb343b9a7f21 ChangeLog 1784 +SHA256 9d13360d245a31d9d36263f94c8b101084485da0ce96d35303b253b2f4d27e89 ChangeLog 1784 MD5 a90d37d537ff1698ca05a8a87558fea1 files/digest-glest-1.2.1.2 1166 RMD160 1e3b045af5753dc6d9e746385f9a0307aba29527 files/digest-glest-1.2.1.2 1166 SHA256 7b437fa6d51ed9d17e12e78c0051f2084fdda347f7a76fbbc651e88abed29ef2 files/digest-glest-1.2.1.2 1166 +MD5 82ff505c3ef8a1ceec2137a388181282 files/digest-glest-2.0.0 1163 +RMD160 979fb3901c974e28b00f6071db90008aebafe39a files/digest-glest-2.0.0 1163 +SHA256 94fe04a07ee172d447cfd6cbe8d06138cc320407690600130f96c5e7d26e1989 files/digest-glest-2.0.0 1163 MD5 34b0cb001c745a9991f7168d297c0e45 files/glest 488 RMD160 de9a33270c461bbefc46c88a4541dc06ece04790 files/glest 488 SHA256 ff98e0cc1f7a8975d46dca982cfb67d1057f491c8268bf78545b9a278c659420 files/glest 488 +MD5 84a7b015e8a18d56af3369e52c8df732 files/glest-2.0.0-gcc41.patch 591 +RMD160 b79a8de4a2c909395e1ace156b15decea0472153 files/glest-2.0.0-gcc41.patch 591 +SHA256 c4965a02865b3b1a3ced82620a7c311e45157bd620cbf4f96b0a0f17e95e3240 files/glest-2.0.0-gcc41.patch 591 MD5 c95fde4f51e5326328cf17620e33ed4d glest-1.2.1.2.ebuild 2605 RMD160 6cc08d0627c5b48b3448ffd494d673e57e8d4147 glest-1.2.1.2.ebuild 2605 SHA256 d89f581a52e2277618844694fbca713da6d8f4dcdbd49c5b8cd1fd1cd097b1c5 glest-1.2.1.2.ebuild 2605 +MD5 db6f65075e67dcf6f17f92e846e15076 glest-2.0.0.ebuild 2577 +RMD160 672746e1fff20ac920f1e6c9600fbcb09a50d8dc glest-2.0.0.ebuild 2577 +SHA256 c953f684cdfa0fca0202a0d8c96b4cd7b435c8719079da72094c04ec6bae0099 glest-2.0.0.ebuild 2577 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEQByk2CTtIKiFlQIRAhfoAKC/hsR7Iui4evZwXUO5a7OWLLvrpgCghJ3t +FjSGYXQTPO7AmP44vyTezVw= +=2dWt +-----END PGP SIGNATURE----- diff --git a/games-strategy/glest/files/digest-glest-2.0.0 b/games-strategy/glest/files/digest-glest-2.0.0 new file mode 100644 index 000000000000..1da38dd2c5de --- /dev/null +++ b/games-strategy/glest/files/digest-glest-2.0.0 @@ -0,0 +1,15 @@ +MD5 a1b0063b7ecc7ed14689c63c31b34cf3 cesky_1.2.1.zip 1843 +RMD160 845fb0feee86330aaa4db7025936d3b4c158ccec cesky_1.2.1.zip 1843 +SHA256 ca95140d89b613111628d1b1ff435b0baae5d2a22f0187c601f093fb98a1acdc cesky_1.2.1.zip 1843 +MD5 bb99037078183a9da710ccff21453723 glest_data_2.0rc5.zip 64693060 +RMD160 e00e11f9635ea6418f349307685f42d2fd8b4f0c glest_data_2.0rc5.zip 64693060 +SHA256 3c667ea28c640ad770d45d212d68a03c7b18412fe1d81d4da9bc2cfdfe0a9e3f glest_data_2.0rc5.zip 64693060 +MD5 f7716da7a044dbe108c619b0f52621bb glest_source_2.0.0.zip 503892 +RMD160 face82a3e35c788eb11629f4dcc9556836992b65 glest_source_2.0.0.zip 503892 +SHA256 4dea296c6b3ee0757551eb1a71f00674f5cf2df6095dec6922afb39b42df30d8 glest_source_2.0.0.zip 503892 +MD5 01cc8f8b53cb77e37de4abbb056a47f1 hebrew_1.2.1.zip 1742 +RMD160 cd11f5ec27d35ccbf212bc4cd04d69f933bbcacf hebrew_1.2.1.zip 1742 +SHA256 1f8a9dfb52d2c36b2b7c02387e0f4e8945f2f9677211c278daf600b6c48bdd95 hebrew_1.2.1.zip 1742 +MD5 66453e0227aaab6e73a526688481363e slovak_1.2.1.zip 1688 +RMD160 be75f0bcd7931a93d17aa066442b5d7b33083467 slovak_1.2.1.zip 1688 +SHA256 eac9d779340cc0ac9b483c124fa00f4c8862fe2c48bf556f53db7f4eb607f401 slovak_1.2.1.zip 1688 diff --git a/games-strategy/glest/files/glest-2.0.0-gcc41.patch b/games-strategy/glest/files/glest-2.0.0-gcc41.patch new file mode 100644 index 000000000000..57d4f789c5e0 --- /dev/null +++ b/games-strategy/glest/files/glest-2.0.0-gcc41.patch @@ -0,0 +1,11 @@ +--- glest_source_2.0.0/source/shared_lib/include/graphics/particle.h.old 2006-04-14 23:10:39.000000000 +0200 ++++ glest_source_2.0.0/source/shared_lib/include/graphics/particle.h 2006-04-14 23:10:51.000000000 +0200 +@@ -310,7 +310,7 @@ + void setTrajectoryFrequency(float trajectoryFrequency) {this->trajectoryFrequency= trajectoryFrequency;} + void setPath(Vec3f startPos, Vec3f endPos); + +- static Trajectory ProjectileParticleSystem::strToTrajectory(const string &str); ++ static Trajectory strToTrajectory(const string &str); + }; + + // ===================================================== diff --git a/games-strategy/glest/glest-2.0.0.ebuild b/games-strategy/glest/glest-2.0.0.ebuild new file mode 100644 index 000000000000..68650d41af4a --- /dev/null +++ b/games-strategy/glest/glest-2.0.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-2.0.0.ebuild,v 1.1 2006/04/14 22:05:06 tupone Exp $ + +inherit eutils games + +DV="2.0rc5" +LV="1.2.1" +L_SRC="http://www.glest.org/files/contrib/translations" + +DESCRIPTION="Cross-platform 3D realtime strategy game" +HOMEPAGE="http://www.glest.org/" +SRC_URI="mirror://sourceforge/${PN}/${PN}_source_${PV}.zip + mirror://sourceforge/${PN}/${PN}_data_${DV}.zip + linguas_cs? ( ${L_SRC}/cesky_${LV}.zip ) + linguas_he? ( ${L_SRC}/hebrew_${LV}.zip ) + linguas_sk? ( ${L_SRC}/slovak_${LV}.zip )" + +LICENSE="GPL-2 glest-data" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=media-libs/libsdl-1.2.5 + media-libs/libogg + media-libs/libvorbis + >=media-libs/openal-20040303 + dev-libs/xerces-c + virtual/opengl + virtual/glu + || ( x11-libs/libX11 virtual/x11 )" +DEPEND="${RDEPEND} + app-arch/unzip + || ( x11-libs/libXt virtual/x11 ) + >=sys-devel/gcc-3.2 + >=dev-util/jam-2.5" + +S=${WORKDIR}/${PN}_source_${PV}/mk/linux + +src_unpack() { + unpack ${A} + + local file + for file in $(find ${WORKDIR}/${PN}_source_${PV}/{source,mk} -type f); do + edos2unix ${file} + done + epatch "${FILESDIR}/${P}"-gcc41.patch + + cd "${S}" + chmod a+x *.sh + # sometimes they package configure, sometimes they dont + if [[ ! -e configure ]] ; then + ./autogen.sh || die "autogen failed" + fi + #Our FLAGS + sed -i \ + -e "/COMPILER_CFLAGS_optimize/s:-O3 -g3:${CFLAGS}:" \ + -e "/COMPILER_C++FLAGS_optimize/s:-O3 -g3:${CXXFLAGS}:" \ + Jamrules || die "sed failed" +} + +src_compile() { + egamesconf \ + --with-vorbis=/usr \ + --with-ogg=/usr \ + || die + jam || die "jam failed" +} + +src_install() { + dogamesbin "${FILESDIR}"/glest || die "couldn't install launcher" + sed -i \ + -e "s:GENTOO_DATADIR:${GAMES_DATADIR}:" \ + "${D}${GAMES_BINDIR}"/glest \ + || die "sed failed" + + exeinto "${GAMES_DATADIR}"/${PN}/lib + doexe glest || die "doexe failed" + + insinto "${GAMES_DATADIR}"/${PN}/config + doins glest.ini || die "config copy failed" + + cd "${WORKDIR}"/glest_game + insinto "${GAMES_DATADIR}"/${PN} + doins -r techs data maps tilesets || die "data copy failed" + dodoc readme.txt + + cd .. + if use linguas_cs ; then + cp cesky.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \ + || die "cp failed" + fi + if use linguas_he ; then + cp hebrew.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \ + || die "cp failed" + fi + if use linguas_sk ; then + cp slovak.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \ + || die "cp failed" + fi + + make_desktop_entry glest Glest + + prepgamesdirs +} |