diff options
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r-- | games-strategy/wesnoth/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/wesnoth/files/config.h.cmake | 8 | ||||
-rw-r--r-- | games-strategy/wesnoth/files/no-python.patch | 22 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.4.7-r1.ebuild | 116 |
4 files changed, 5 insertions, 147 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog index 04b6d7bba02f..1a3b4b6d6ca5 100644 --- a/games-strategy/wesnoth/ChangeLog +++ b/games-strategy/wesnoth/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/wesnoth # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.149 2009/06/01 16:36:24 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.150 2009/06/01 16:38:08 mr_bones_ Exp $ + + 01 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org> + -files/config.h.cmake, -files/no-python.patch, -wesnoth-1.4.7-r1.ebuild: + clean old ebuild and files 01 Jun 2009; nixnut <nixnut@gentoo.org> wesnoth-1.6.2.ebuild: ppc stable #271175 diff --git a/games-strategy/wesnoth/files/config.h.cmake b/games-strategy/wesnoth/files/config.h.cmake deleted file mode 100644 index 5bef010c4532..000000000000 --- a/games-strategy/wesnoth/files/config.h.cmake +++ /dev/null @@ -1,8 +0,0 @@ -/*this file is used to automatically set some defines and is used in the CMake recipe*/ -#cmakedefine HAVE_STDLIB_H 1 -#cmakedefine HAVE_UNISTD_H 1 -#cmakedefine HAVE_POLL_H 1 -#cmakedefine HAVE_SYS_POLL_H 1 -#cmakedefine HAVE_SYS_SELECT_H 1 -#cmakedefine HAVE_SENDFILE 1 -#cmakedefine HAVE_ROUND 1 diff --git a/games-strategy/wesnoth/files/no-python.patch b/games-strategy/wesnoth/files/no-python.patch deleted file mode 100644 index f40ebaf5b84e..000000000000 --- a/games-strategy/wesnoth/files/no-python.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- data/campaigns/Descent_Into_Darkness/scenarios/03_A_Haunting_in_Winter.cfg 2009/02/22 14:24:56 33012 -+++ data/campaigns/Descent_Into_Darkness/scenarios/03_A_Haunting_in_Winter.cfg 2009/02/22 14:52:51 33013 -@@ -92,10 +92,16 @@ - no_leader=yes - fog=no - shroud=no -- # kamikaze.py heads straight for the leader of side 1 and attacks - [ai] -- ai_algorithm=python_ai -- python_script="../campaigns/Descent_Into_Darkness/ais/kamikaze.py" -+ aggression=4.0 -+ caution=0.0 -+ grouping=no -+ simple_targetting=yes -+ village_value=0 -+ [target] -+ id=Malin Keshar -+ value=100 -+ [/target] - [/ai] - [/side] - diff --git a/games-strategy/wesnoth/wesnoth-1.4.7-r1.ebuild b/games-strategy/wesnoth/wesnoth-1.4.7-r1.ebuild deleted file mode 100644 index 966ea0f65dad..000000000000 --- a/games-strategy/wesnoth/wesnoth-1.4.7-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.4.7-r1.ebuild,v 1.2 2009/03/11 15:13:59 ranger Exp $ - -EAPI=2 -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 ~x86-fbsd" -IUSE="dedicated editor lite nls server smallgui static tinygui tools" - -RDEPEND=">=media-libs/libsdl-1.2.7[X] - media-libs/sdl-net - dev-libs/boost - !dedicated? ( - x11-libs/libX11 - >=media-libs/sdl-mixer-1.2[vorbis] - >=media-libs/sdl-image-1.2[png,jpeg] - >=media-libs/freetype-2 ) - dev-lang/python - 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? ( - smallgui? ( media-gfx/imagemagick ) - tinygui? ( media-gfx/imagemagick ) - ) - dedicated? ( - >=media-libs/sdl-mixer-1.2[vorbis] - >=media-libs/sdl-image-1.2[png] - >=media-libs/freetype-2 ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - if use !dedicated && use smallgui && use tinygui ; then - ewarn "USE=tinygui overrides USE=smallgui" - ebeep - epause 10 - fi - games_pkg_setup -} - -src_prepare() { - if use dedicated || 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 - if ! use nls ; then - sed -i \ - -e '/^MAN_LANG/d' \ - doc/man/Makefile.in \ - || die "sed failed" - fi - epatch "${FILESDIR}"/no-python.patch -} - -src_configure() { - local myconf - - filter-flags -ftracer -fomit-frame-pointer - if [[ $(gcc-major-version) -eq 3 ]] ; then - filter-flags -fstack-protector - append-flags -fno-stack-protector - fi - if use dedicated || use server ; then - myconf="${myconf} --enable-server" - myconf="${myconf} --enable-campaign-server" - myconf="${myconf} --with-server-uid=${GAMES_USER_DED}" - myconf="${myconf} --with-server-gid=${GAMES_GROUP}" - fi - egamesconf \ - --disable-dependency-tracking \ - --without-fribidi \ - --with-localedir=/usr/share/locale \ - --with-icondir=/usr/share/icons \ - --with-desktopdir=/usr/share/applications \ - --docdir=/usr/share/doc/${PF} \ - --disable-python \ - $(use_enable smallgui) \ - $(use_enable tinygui) \ - $(use_enable lite) \ - $(use_enable static) \ - $(use_enable editor) \ - $(use_enable tools) \ - $(use_enable nls) \ - $(use_enable nls dummy-locales) \ - $(use_enable !dedicated game) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - rm -fr "${D}${GAMES_DATADIR}"/wesnoth/data/{ais,campaigns/Descent_Into_Darkness/ais} - dodoc changelog - if use dedicated || use server; then - keepdir "${GAMES_STATEDIR}/run/wesnothd" - doinitd "${T}"/wesnothd || die "doinitd failed" - fi - prepgamesdirs -} |