From 8c24df97095a117b23895abf9b7da9d9ca98d940 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 21 Feb 2007 07:21:34 +0000 Subject: [PATCH] version bump Package-Manager: portage-2.1.2-r9 --- games-strategy/wesnoth/ChangeLog | 8 +- games-strategy/wesnoth/Manifest | 16 +++- .../wesnoth/files/digest-wesnoth-1.2.2 | 3 + games-strategy/wesnoth/wesnoth-1.2.2.ebuild | 93 +++++++++++++++++++ 4 files changed, 115 insertions(+), 5 deletions(-) create mode 100644 games-strategy/wesnoth/files/digest-wesnoth-1.2.2 create mode 100644 games-strategy/wesnoth/wesnoth-1.2.2.ebuild diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog index 1bbd4b5e6af5..330446fbf094 100644 --- a/games-strategy/wesnoth/ChangeLog +++ b/games-strategy/wesnoth/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/wesnoth # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.87 2007/02/02 02:47:54 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.88 2007/02/21 07:21:34 mr_bones_ Exp $ + +*wesnoth-1.2.2 (21 Feb 2007) + + 21 Feb 2007; Michael Sterrett + +wesnoth-1.2.2.ebuild: + version bump 02 Feb 2007; Michael Sterrett wesnoth-1.2.1.ebuild: Add media-libs/freetype for dedicated build until configure script is fixed diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest index c90d9822aa55..5da4859c94a9 100644 --- a/games-strategy/wesnoth/Manifest +++ b/games-strategy/wesnoth/Manifest @@ -4,6 +4,7 @@ RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 files/wesnothd.rc 619 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065 files/wesnothd.rc 619 DIST wesnoth-1.0.2.tar.gz 40034289 RMD160 20ba5be7078224f65a37d268eaf95be79e0e57c2 SHA1 c2313242615b79249f26371bd7c410e8385adc0a SHA256 b5201943017e892230cfb1f09a6860b199cb59255ef6aaa19de6a5d365300ac7 DIST wesnoth-1.2.1.tar.gz 74936071 RMD160 50b4bb877fd15867b04ca1c2371ce683cac8e02b SHA1 dd3a330cd7d908cd7e2f556deb7e25e1b45ecc0d SHA256 e86fb8b9c49fdb5c50df9c1bb38201747253bc19fdbbb64329e14ec2abe0b191 +DIST wesnoth-1.2.2.tar.bz2 67855997 RMD160 c1f5e61b8b4008caa00c2f1b9ca8c297ac3c7172 SHA1 c1ac66bb3cc5ddfaed2fd517615c08c7c9c89d23 SHA256 f5cb7ca3fa2419cc7003be32201c6773c34e42e9089ac60ffc52b86765d795e6 EBUILD wesnoth-1.0.2.ebuild 2307 RMD160 4e4ad3645be683c84965e5b45d77ad254ffecdb6 SHA1 3ed850dd7d4a758f14479641ea9596aca2c2044f SHA256 a37ae1f4f1a468916f23f90fcac7ba5136b165b6b719dc864fc5872d3a63e160 MD5 1bdfe2e8017aa701694caae81d6f4d03 wesnoth-1.0.2.ebuild 2307 RMD160 4e4ad3645be683c84965e5b45d77ad254ffecdb6 wesnoth-1.0.2.ebuild 2307 @@ -12,10 +13,14 @@ EBUILD wesnoth-1.2.1.ebuild 2673 RMD160 6f338ad801b4aaf4efb5cf83eed8ed34c3ca2d72 MD5 70a049971f6491e6561db57b6c7553f0 wesnoth-1.2.1.ebuild 2673 RMD160 6f338ad801b4aaf4efb5cf83eed8ed34c3ca2d72 wesnoth-1.2.1.ebuild 2673 SHA256 a72cbe406c9b6e3f76d484ae1aa3d24690236daafed7e805b7bc0977787dd167 wesnoth-1.2.1.ebuild 2673 -MISC ChangeLog 11786 RMD160 e3eb17665b7a21c12fb3afa89f05ac7b995d00e7 SHA1 33805d2cb1c8a4408c6fa2cfadfd4f69867aa5a9 SHA256 1ab0f2c78c308a6c3932f102ebe755906d0e4cdc747419f333947b2e1840f8ec -MD5 edb87cc2c06c04c89122461b0c5e477b ChangeLog 11786 -RMD160 e3eb17665b7a21c12fb3afa89f05ac7b995d00e7 ChangeLog 11786 -SHA256 1ab0f2c78c308a6c3932f102ebe755906d0e4cdc747419f333947b2e1840f8ec ChangeLog 11786 +EBUILD wesnoth-1.2.2.ebuild 2674 RMD160 1d9fbb081e80a57131204ab7754a5cba802a9b3e SHA1 36ca0edc87dd3cfd3cf5b4bd0368a54e425000c7 SHA256 6cdf784406dc4a150a59458a29a9c4ea06988b663aaa03b4c54306748cc7ee9f +MD5 3e542350c03a2a8927b75f4172601c97 wesnoth-1.2.2.ebuild 2674 +RMD160 1d9fbb081e80a57131204ab7754a5cba802a9b3e wesnoth-1.2.2.ebuild 2674 +SHA256 6cdf784406dc4a150a59458a29a9c4ea06988b663aaa03b4c54306748cc7ee9f wesnoth-1.2.2.ebuild 2674 +MISC ChangeLog 11912 RMD160 2feceb2b7373f5c135abd771f9b0eebf2dc27a11 SHA1 61d8af9e584b3bbbf0a0415a778c3db85e0aa6b2 SHA256 0663dbd3513f5346122a494e191d57cde884c3cac1e20f91e6f448af71fbe5e2 +MD5 cc9295c67c01e75ff59627c0f726a97a ChangeLog 11912 +RMD160 2feceb2b7373f5c135abd771f9b0eebf2dc27a11 ChangeLog 11912 +SHA256 0663dbd3513f5346122a494e191d57cde884c3cac1e20f91e6f448af71fbe5e2 ChangeLog 11912 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -26,3 +31,6 @@ SHA256 683d0d569bdc8bc798ebbe4eb86efb8b278fd46fad0e57227a41e823238eb8bb files/di MD5 8c244e5a5391caa3ee57473a2169587d files/digest-wesnoth-1.2.1 247 RMD160 15d6ccca9ea6e38b244367f2875a6d1e49cb16b7 files/digest-wesnoth-1.2.1 247 SHA256 b1848cb26862eff65b4b6f9a2505ad458207865bbde98bff2ce5068cde9e6b10 files/digest-wesnoth-1.2.1 247 +MD5 f5d2f27dc60f9af6fd2801b3cc3e14a8 files/digest-wesnoth-1.2.2 250 +RMD160 e1dfd07239519be6779e1d9e266a4f54001fa0fb files/digest-wesnoth-1.2.2 250 +SHA256 2d5deddceda6f321f2a48f7898a3013cc542a411cd67d6e005463424601796a0 files/digest-wesnoth-1.2.2 250 diff --git a/games-strategy/wesnoth/files/digest-wesnoth-1.2.2 b/games-strategy/wesnoth/files/digest-wesnoth-1.2.2 new file mode 100644 index 000000000000..cd3afc585898 --- /dev/null +++ b/games-strategy/wesnoth/files/digest-wesnoth-1.2.2 @@ -0,0 +1,3 @@ +MD5 f7cc14661edabeeae36a6e9dc5472015 wesnoth-1.2.2.tar.bz2 67855997 +RMD160 c1f5e61b8b4008caa00c2f1b9ca8c297ac3c7172 wesnoth-1.2.2.tar.bz2 67855997 +SHA256 f5cb7ca3fa2419cc7003be32201c6773c34e42e9089ac60ffc52b86765d795e6 wesnoth-1.2.2.tar.bz2 67855997 diff --git a/games-strategy/wesnoth/wesnoth-1.2.2.ebuild b/games-strategy/wesnoth/wesnoth-1.2.2.ebuild new file mode 100644 index 000000000000..e110dd333e67 --- /dev/null +++ b/games-strategy/wesnoth/wesnoth-1.2.2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.2.2.ebuild,v 1.1 2007/02/21 07:21:34 mr_bones_ Exp $ + +inherit eutils toolchain-funcs flag-o-matic games + +MY_PV=${PV/_/} +DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game" +HOMEPAGE="http://www.wesnoth.org/" +SRC_URI="mirror://sourceforge/wesnoth/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="dedicated editor gnome kde lite nls server tools" + +RDEPEND=">=media-libs/libsdl-1.2.7 + !dedicated? ( + x11-libs/libX11 + >=media-libs/freetype-2 ) + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-image-1.2 + media-libs/sdl-net + nls? ( virtual/libintl )" +# the configure script is broken and checks for freetype even if +# it won't be used. until it's either patched out or upstream fixes +# it, just make it a DEPEND. +# reported by Miika Linnapuomi +DEPEND="${RDEPEND} + dedicated? ( >=media-libs/freetype-2 ) + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${MY_PV} + +pkg_setup() { + if ! built_with_use -o media-libs/sdl-mixer vorbis oggvorbis ; then + die "Please emerge sdl-mixer with USE=vorbis" + fi + if ! built_with_use media-libs/sdl-image png ; then + die "Please emerge sdl-image with USE=png" + fi + games_pkg_setup +} + +src_unpack() { + unpack "${A}" + if use server ; then + sed \ + -e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \ + -e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \ + -e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \ + -e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \ + > "${T}"/wesnothd \ + || die "sed failed" + fi +} + +src_compile() { + filter-flags -ftracer -fomit-frame-pointer + if [[ $(gcc-major-version) -eq 3 ]] ; then + filter-flags -fstack-protector + append-flags -fno-stack-protector + fi + egamesconf \ + --disable-dependency-tracking \ + --without-fribidi \ + --with-localedir=/usr/share/locale \ + --with-icondir=/usr/share/icons \ + --with-desktopdir=/usr/share/applications \ + $(use_enable lite) \ + $(use_enable server) \ + $(use_enable server campaign-server) \ + $(use server && echo --with-server-uid=${GAMES_USER_DED} --with-server-gid=${GAMES_GROUP}) \ + $(use_enable editor) \ + $(use_enable tools) \ + $(use_enable nls) \ + $(use_enable nls dummy-locales) \ + $(use_enable !dedicated game) \ + $(use_with gnome) \ + $(use_with kde) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc MANUAL changelog + if use server; then + keepdir "${GAMES_STATEDIR}/run/wesnothd" + doinitd "${T}"/wesnothd || die "doinitd failed" + fi + prepgamesdirs +} -- 2.26.2