diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-03-21 21:57:17 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-03-21 21:57:17 +0000 |
commit | 810660442567b7926ea5010ed2eea91a14036c26 (patch) | |
tree | 40cc444173070ba09ef795395d9ade92550fdb65 /games-strategy | |
parent | Marked ppc stable for bug #125167. Thanks to mabi for testing. (diff) | |
download | historical-810660442567b7926ea5010ed2eea91a14036c26.tar.gz historical-810660442567b7926ea5010ed2eea91a14036c26.tar.bz2 historical-810660442567b7926ea5010ed2eea91a14036c26.zip |
Added locale support wrt bug #126874
Package-Manager: portage-2.1_pre6-r5
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/widelands/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/widelands/Manifest | 22 | ||||
-rw-r--r-- | games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 | 3 | ||||
-rw-r--r-- | games-strategy/widelands/widelands-0.0.9.5-r1.ebuild | 73 |
4 files changed, 92 insertions, 14 deletions
diff --git a/games-strategy/widelands/ChangeLog b/games-strategy/widelands/ChangeLog index 82c6a697bd85..b9e9b920662d 100644 --- a/games-strategy/widelands/ChangeLog +++ b/games-strategy/widelands/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/widelands # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.9 2006/02/26 06:44:28 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.10 2006/03/21 21:57:17 jokey Exp $ + +*widelands-0.0.9.5-r1 (21 Mar 2006) + + 21 Mar 2006; Markus Ullmann <jokey@gentoo.org> + +widelands-0.0.9.5-r1.ebuild: + Added locale support wrt bug #126874 26 Feb 2006; Mark Loeser <halcy0n@gentoo.org> +files/widelands-0.0.9.5-gcc41.patch, widelands-0.0.9.5.ebuild: diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest index 15dabed29159..b7daf46dceab 100644 --- a/games-strategy/widelands/Manifest +++ b/games-strategy/widelands/Manifest @@ -1,15 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 21aa6af72ab1070529fb43231a484104 ChangeLog 1993 -RMD160 bbba8c6fa16db05a82135066176e6f5cf18df13b ChangeLog 1993 -SHA256 9d9c5c4028844f2eb88b1596c8d6ce92db23fce36e6ee617265026d857808928 ChangeLog 1993 +MD5 3b412efdabdc470d25d06689a05342c6 ChangeLog 2150 +RMD160 d6556518dab74a51b5011605afe0f5621622d745 ChangeLog 2150 +SHA256 56ef1a738484539db33cf4ac26e1f90196aad58f9c4d2d7249ec6c054f8441ec ChangeLog 2150 MD5 4de0ba8b5543e6d848c86838244852e6 files/digest-widelands-0.0.9 73 RMD160 bff7ad9f11f0245e35d3346af8907a0d2daf2f97 files/digest-widelands-0.0.9 73 SHA256 b5f227568c42e069523b3060f2316936e05acba6a14a1c7de9ae53487175595f files/digest-widelands-0.0.9 73 MD5 47800deda03f6db9034d766478dd4cec files/digest-widelands-0.0.9.5 78 RMD160 f6c06790f44095a08bc5738b0f7d0b3d722fed4e files/digest-widelands-0.0.9.5 78 SHA256 379d68f3ff8b36820a02f44c31d50d22033bdd8b3ab7760b23d5f2a7ae69364f files/digest-widelands-0.0.9.5 78 +MD5 e10d5f329e0eb06f44b8569526772ee8 files/digest-widelands-0.0.9.5-r1 280 +RMD160 c9e6d18caecb85ff113b76c18da754e0da8c0af8 files/digest-widelands-0.0.9.5-r1 280 +SHA256 65b319119c6b4b8653cadf0d12609cfdbb02d3126444a6a2621b99b569ad784a files/digest-widelands-0.0.9.5-r1 280 MD5 839d74b86a5e329cbfb77e61c65d6921 files/widelands-0.0.9-amd64.patch 425 RMD160 02a4dcb0c0bb5d962df8347ee4cb6804ac08b3bd files/widelands-0.0.9-amd64.patch 425 SHA256 878939c6809b5de1e530d4770a9efd8ca309cd45d985e261b566ff159922d3b3 files/widelands-0.0.9-amd64.patch 425 @@ -22,16 +22,12 @@ SHA256 a9f1db93b6f620e3185e8e9760c98a75b89062bc901a028f0fbecb11550bd6bc files/wi MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 a6d936e3b58cb0055e8b841a14e8b5d0 widelands-0.0.9.5-r1.ebuild 1816 +RMD160 d76c783bc765a41ddf728c27f4c2a2385f76c8fb widelands-0.0.9.5-r1.ebuild 1816 +SHA256 517aff06459faac9ffe77df527b3311c27ef15fa86547aaf37187f4a42176b5d widelands-0.0.9.5-r1.ebuild 1816 MD5 5371d06d8b89769075a903837dc711f0 widelands-0.0.9.5.ebuild 1560 RMD160 2a75bfc8fa42644f8a5de9f2743e1034f6026a77 widelands-0.0.9.5.ebuild 1560 SHA256 b45fcccfa22cd893f750a25ce7967ce359dac503be860028eb80ded7bf39cf9a widelands-0.0.9.5.ebuild 1560 MD5 5973bcdbf97557cad2aaa063f7ba32e0 widelands-0.0.9.ebuild 1169 RMD160 9aba54ccf891405d14c8ee7153f18f197526bb9e widelands-0.0.9.ebuild 1169 SHA256 d956dd842d82e5490b1389124e72e3601985a3705ff81da0d405cc92e367cb45 widelands-0.0.9.ebuild 1169 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFEAU6ICRZPokWLroQRAjroAJ0SB0AbO9mEW8d9GGXwyCUT+znpfQCeOld4 -240RPuvFUL6pzhbPOXEca/4= -=6I23 ------END PGP SIGNATURE----- diff --git a/games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 b/games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 new file mode 100644 index 000000000000..ba1068bd0424 --- /dev/null +++ b/games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 @@ -0,0 +1,3 @@ +MD5 7bced82bda4b83d884da3e5b0143b2b4 widelands-b9half-source.tar.bz2 10989969 +RMD160 b9382690dfec3f789c0db7f0163f7392d889cfb0 widelands-b9half-source.tar.bz2 10989969 +SHA256 a883b410fbe3089233926f3b2314fb3ccc9262b00a1aadbda9f7d73ea572ea9b widelands-b9half-source.tar.bz2 10989969 diff --git a/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild b/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild new file mode 100644 index 000000000000..35ca9b694b23 --- /dev/null +++ b/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild,v 1.1 2006/03/21 21:57:17 jokey Exp $ + +inherit eutils games flag-o-matic + +DESCRIPTION="A game similar to Settlers 2" +HOMEPAGE="http://widelands.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-b${PV:4:1}half-source.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug nls" + +DEPEND="media-libs/libpng + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-net + media-libs/sdl-ttf + sys-libs/zlib" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN}-b9half + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/widelands-0.0.9-amd64.patch" + epatch "${FILESDIR}/widelands-makefile.patch" + epatch "${FILESDIR}/widelands-0.0.9.5-gcc41.patch" + sed -i -e "s:__ppc__:__PPC__:g" "${S}/src/machdep.h" || die "sed failed" + + if use nls ; then + cd ${S}/locale + cp ../utils/*.py . + fi +} + +src_compile() { + filter-flags -fomit-frame-pointer + use debug || export BUILD="release" + use elibc_glibc && export IMPLICIT_LIBINTL=1 + emake || die "emake failed" + unset BUILD IMPLICIT_LIBINTL + + if use nls ; then + cd ${S}/locale + ./buildcat.py + rm *.p* .cvsignore tmp + fi +} + +src_install() { + local dir=${GAMES_DATADIR}/${PN} + + insinto "${dir}" + + if use nls ; then + doins -r fonts maps pics tribes worlds campaigns locale || die "doins failed" + else + doins -r fonts maps pics tribes worlds campaigns || die "doins failed" + fi + exeinto "${dir}" + doexe ${PN} || die "copying widelands" + games_make_wrapper widelands ./widelands "${dir}" + dodoc AUTHORS ChangeLog README.developers + + newicon pics/wl-ico-48.png widelands.png + make_desktop_entry widelands Widelands widelands.png + prepgamesdirs +} |