diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-09 02:51:37 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-09 02:51:37 +0000 |
commit | f2cdfc7ffa634264b168292c391ddee764fcc660 (patch) | |
tree | e53e6f039d16a1e556f57bb16a0e969e35a3852f /games-strategy | |
parent | Marked Stable on amd64. Bug #111133. (diff) | |
download | gentoo-2-f2cdfc7ffa634264b168292c391ddee764fcc660.tar.gz gentoo-2-f2cdfc7ffa634264b168292c391ddee764fcc660.tar.bz2 gentoo-2-f2cdfc7ffa634264b168292c391ddee764fcc660.zip |
version bump - ebuild supplied by fabien Zouaoui via bug #110906
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/glest/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/glest/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/glest/files/digest-glest-1.2.1.2 | 5 | ||||
-rw-r--r-- | games-strategy/glest/glest-1.2.1.2.ebuild | 103 |
4 files changed, 117 insertions, 1 deletions
diff --git a/games-strategy/glest/ChangeLog b/games-strategy/glest/ChangeLog index 53d29070f970..6f16986d76b0 100644 --- a/games-strategy/glest/ChangeLog +++ b/games-strategy/glest/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/glest # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.6 2005/09/25 07:42:07 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.7 2005/11/09 02:51:37 mr_bones_ Exp $ + +*glest-1.2.1.2 (09 Nov 2005) + + 09 Nov 2005; Michael Sterrett <mr_bones_@gentoo.org> + +glest-1.2.1.2.ebuild: + version bump - ebuild supplied by fabien Zouaoui via bug #110906 25 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> -files/glest-1.0.10_p7-fake-checkGlCaps.patch, -glest-1.0.10_p7.ebuild: diff --git a/games-strategy/glest/Manifest b/games-strategy/glest/Manifest index 203721d2bc44..2239b2b803e4 100644 --- a/games-strategy/glest/Manifest +++ b/games-strategy/glest/Manifest @@ -1,6 +1,8 @@ MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 1fb5b606b5f6d3e2c81257a3b23ba52e glest-1.2.1.2.ebuild 2510 MD5 e76921519ceae167358769df758d3a76 ChangeLog 1225 MD5 61f8be88e160a236535d51d7fff8d1da glest-1.1.0.ebuild 2381 MD5 34b0cb001c745a9991f7168d297c0e45 files/glest 488 MD5 db5c350e24bf74413a314d023e375ce3 files/glest-1.1.0-fake-checkGlCaps.patch 322 MD5 91226a67fca5c8d33e0b6c9e70984a21 files/digest-glest-1.1.0 298 +MD5 fece815f8c0a8e8641301a3ee504a8ae files/digest-glest-1.2.1.2 312 diff --git a/games-strategy/glest/files/digest-glest-1.2.1.2 b/games-strategy/glest/files/digest-glest-1.2.1.2 new file mode 100644 index 000000000000..f3db7910b90d --- /dev/null +++ b/games-strategy/glest/files/digest-glest-1.2.1.2 @@ -0,0 +1,5 @@ +MD5 7a8f3fe40bb6591b81fe6bc175f3bde3 glest_source_1.2.1.2.zip 491053 +MD5 8594fa6d77685ec09d50174ded722f71 glest_data_1.2.1.zip 50989648 +MD5 a1b0063b7ecc7ed14689c63c31b34cf3 cesky_1.2.1.zip 1843 +MD5 01cc8f8b53cb77e37de4abbb056a47f1 hebrew_1.2.1.zip 1742 +MD5 66453e0227aaab6e73a526688481363e slovak_1.2.1.zip 1688 diff --git a/games-strategy/glest/glest-1.2.1.2.ebuild b/games-strategy/glest/glest-1.2.1.2.ebuild new file mode 100644 index 000000000000..4b8532931e76 --- /dev/null +++ b/games-strategy/glest/glest-1.2.1.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-1.2.1.2.ebuild,v 1.1 2005/11/09 02:51:37 mr_bones_ Exp $ + +inherit eutils games + +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_${PV:0:5}.zip + linguas_cs? ( + http://www.glest.org/files/additional/translations/cesky_${PV:0:5}.zip ) + linguas_he? ( + http://www.glest.org/files/additional/translations/hebrew_${PV:0:5}.zip ) + linguas_sk? ( + http://www.glest.org/files/additional/translations/slovak_${PV:0:5}.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/x11" +DEPEND="${RDEPEND} + app-arch/unzip + >=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 + + 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 + + if use linguas_cs ; then + unpack cesky_${PV:0:5}.zip + cp cesky_${PV:0:5}.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \ + || die "cp failed" + fi + if use linguas_he ; then + unpack hebrew_${PV:0:5}.zip + cp hebrew_${PV:0:5}.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \ + || die "cp failed" + fi + if use linguas_sk ; then + unpack slovak_${PV:0:5}.zip + cp slovak_${PV:0:5}.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \ + || die "cp failed" + fi + + make_desktop_entry glest Glest + + prepgamesdirs +} |