diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-01-07 23:08:34 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-01-07 23:08:34 +0000 |
commit | b0871e4414ef4191db6c65afea7afb04f644ae05 (patch) | |
tree | 450a7f3cc754e98e118d3fe93d022f2ba019a759 /games-strategy/widelands | |
parent | GCC4 compatability patch from upstream, closes bug #118050. Thanks to Mark Lo... (diff) | |
download | gentoo-2-b0871e4414ef4191db6c65afea7afb04f644ae05.tar.gz gentoo-2-b0871e4414ef4191db6c65afea7afb04f644ae05.tar.bz2 gentoo-2-b0871e4414ef4191db6c65afea7afb04f644ae05.zip |
Version bump thanks to Alexander Jenisch <nt-@gmx.de>, Anton Romanov <theli@ukr.net>, Ben Hodgetts <ben@atomnet.co.uk> and Mr. Bones. <mr_bones_@gentoo.org> in bug 114653, also add desktop entry with icon
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-strategy/widelands')
-rw-r--r-- | games-strategy/widelands/ChangeLog | 12 | ||||
-rw-r--r-- | games-strategy/widelands/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/widelands/files/digest-widelands-0.0.9.5 | 1 | ||||
-rw-r--r-- | games-strategy/widelands/widelands-0.0.9.5.ebuild | 53 |
4 files changed, 67 insertions, 3 deletions
diff --git a/games-strategy/widelands/ChangeLog b/games-strategy/widelands/ChangeLog index 30a4a00a8b40..60c2dade6bf0 100644 --- a/games-strategy/widelands/ChangeLog +++ b/games-strategy/widelands/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-strategy/widelands -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.5 2005/10/29 12:37:52 lu_zero Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.6 2006/01/07 23:08:34 genstef Exp $ + +*widelands-0.0.9.5 (07 Jan 2006) + + 07 Jan 2006; Stefan Schweizer <genstef@gentoo.org> + +widelands-0.0.9.5.ebuild: + Version bump thanks to Alexander Jenisch <nt-@gmx.de>, Anton Romanov + <theli@ukr.net>, Ben Hodgetts <ben@atomnet.co.uk> and Mr. Bones. + <mr_bones_@gentoo.org> in bug 114653, also add desktop entry with icon 29 Oct 2005; Luca Barbato <lu_zero@gentoo.org> widelands-0.0.9.ebuild: fixed ppc osdep, still broken on gcc4 diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest index e42cd7c6dc45..5541d75727fd 100644 --- a/games-strategy/widelands/Manifest +++ b/games-strategy/widelands/Manifest @@ -1,5 +1,7 @@ -MD5 f5894b5e393e51400a447083d859dfd5 ChangeLog 1046 +MD5 0218c1fce4925425e06860e8d43c6745 ChangeLog 1374 MD5 4de0ba8b5543e6d848c86838244852e6 files/digest-widelands-0.0.9 73 +MD5 47800deda03f6db9034d766478dd4cec files/digest-widelands-0.0.9.5 78 MD5 839d74b86a5e329cbfb77e61c65d6921 files/widelands-0.0.9-amd64.patch 425 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 50c4470444abc14e20b83d2482a33af0 widelands-0.0.9.5.ebuild 1336 MD5 5973bcdbf97557cad2aaa063f7ba32e0 widelands-0.0.9.ebuild 1169 diff --git a/games-strategy/widelands/files/digest-widelands-0.0.9.5 b/games-strategy/widelands/files/digest-widelands-0.0.9.5 new file mode 100644 index 000000000000..0b5af416f18b --- /dev/null +++ b/games-strategy/widelands/files/digest-widelands-0.0.9.5 @@ -0,0 +1 @@ +MD5 7bced82bda4b83d884da3e5b0143b2b4 widelands-b9half-source.tar.bz2 10989969 diff --git a/games-strategy/widelands/widelands-0.0.9.5.ebuild b/games-strategy/widelands/widelands-0.0.9.5.ebuild new file mode 100644 index 000000000000..67096959adb5 --- /dev/null +++ b/games-strategy/widelands/widelands-0.0.9.5.ebuild @@ -0,0 +1,53 @@ +# 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.ebuild,v 1.1 2006/01/07 23:08:34 genstef Exp $ + +inherit eutils games + +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" + +DEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-net + media-libs/sdl-ttf + sys-libs/zlib + media-libs/jpeg + media-libs/libpng" + +S=${WORKDIR}/${PN}-b9half + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/widelands-0.0.9-amd64.patch" + sed -i -e "s:__ppc__:__PPC__:g" ${S}/src/machdep.h +} + +src_compile() { + use debug || export BUILD="release" + use elibc_glibc && export IMPLICIT_LIBINTL=1 + emake || die "emake failed" + unset BUILD IMPLICIT_LIBINTL +} + +src_install() { + local dir=${GAMES_DATADIR}/${PN} + + insinto "${dir}" + doins -r fonts maps pics tribes worlds campaigns \ + || die "doins failed" + exeinto "${dir}" + doexe ${PN} || die "copying widelands" + games_make_wrapper widelands ./widelands "${dir}" + dodoc AUTHORS ChangeLog README.developers + + make_desktop_entry widelands Widelands "${dir}"/pics/wl-ico-48.png + prepgamesdirs +} |