summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-03-11 15:18:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-03-11 15:18:06 +0000
commit4bfdda31c62cbeb840fccdbc7fe4ebb63913ca51 (patch)
treee760d2de7dbf8fa08a4237afb794a15bee86629d /games-strategy/wesnoth
parentVersion bumped. (diff)
downloadhistorical-4bfdda31c62cbeb840fccdbc7fe4ebb63913ca51.tar.gz
historical-4bfdda31c62cbeb840fccdbc7fe4ebb63913ca51.tar.bz2
historical-4bfdda31c62cbeb840fccdbc7fe4ebb63913ca51.zip
old
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r--games-strategy/wesnoth/Manifest2
-rw-r--r--games-strategy/wesnoth/wesnoth-1.4.4-r1.ebuild118
2 files changed, 0 insertions, 120 deletions
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index f3d16784fed2..cb4539a1845b 100644
--- a/games-strategy/wesnoth/Manifest
+++ b/games-strategy/wesnoth/Manifest
@@ -1,8 +1,6 @@
AUX no-python.patch 770 RMD160 9fe2785748a54c54a05699ce6686bf3b9c25ab39 SHA1 dd025bf9a0c85c78dd128aa3b18dcdce34a93d4b SHA256 4e5254615565151cdd15a93c0a4aaa79a708cdf2d47eb39057f22f877db9e8ff
AUX wesnothd.rc 619 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 SHA1 8ba6dad055ea943485c0a1cf324e39a340c89b00 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065
-DIST wesnoth-1.4.4.tar.bz2 152425432 RMD160 d32161d67002dc12197a6a8667dfb734bb208157 SHA1 c903160cdf1ecbfef6e668772ad5fe15f599ac7d SHA256 77cff07ed8e5cef314c347381e8a2b4bfd7e8b1c22a609d0b1035e48583a9eb4
DIST wesnoth-1.4.7.tar.bz2 155052245 RMD160 8a515aca790424a550505512eb42b101860e87b2 SHA1 f8eb17e7a7aaff5d8fff1e18a1479efcf932fd27 SHA256 63c85889ef8c08e6dd5ea977edd057d64ce65a4934e661e222d2b0dd89e26847
-EBUILD wesnoth-1.4.4-r1.ebuild 3356 RMD160 62ac6e52b1036fdb5531b140997de3c82ca8f09d SHA1 61556b233c4b2713ff1e342a15a612805a92de84 SHA256 457b41dc8f6e8f553b0cdb209468eba45d55d7921f74a5323131b61a7ae90b12
EBUILD wesnoth-1.4.7-r1.ebuild 3233 RMD160 6b5166ea6e91d77f3f1a605808b8092631d85784 SHA1 661737fe591cf566b1b3249c6062e7445b919169 SHA256 b666aed774d4c980808739a8feb92940b13aedc56c450dca7d0df983866d052e
MISC ChangeLog 18334 RMD160 d939b81041421c49c23ecc6883ef262b9483523f SHA1 bfb647f4090155b763af390ab4d1377ba8608cc8 SHA256 f631177558c3075edb495dd7853c8d1aa562988250752cd6531d88c551b753ef
MISC metadata.xml 612 RMD160 f14f4748e1c611b41864ee5e1bdaa9e56de55d4a SHA1 f77e1b84262e73a7ab77b13666e6e00a0cbe593c SHA256 0c38c6a5c0cd5fee19c6c57c52f50c4e383581af23098aabbe4bbf43c9f5f2f7
diff --git a/games-strategy/wesnoth/wesnoth-1.4.4-r1.ebuild b/games-strategy/wesnoth/wesnoth-1.4.4-r1.ebuild
deleted file mode 100644
index afe9ea45a3c5..000000000000
--- a/games-strategy/wesnoth/wesnoth-1.4.4-r1.ebuild
+++ /dev/null
@@ -1,118 +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.4-r1.ebuild,v 1.1 2009/02/23 20:35:55 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 ~x86-fbsd"
-IUSE="dedicated editor lite nls server static tools"
-
-RDEPEND=">=media-libs/libsdl-1.2.7
- media-libs/sdl-net
- dev-libs/boost
- !dedicated? (
- x11-libs/libX11
- >=media-libs/sdl-mixer-1.2
- >=media-libs/sdl-image-1.2
- >=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? (
- >=media-libs/sdl-mixer-1.2
- >=media-libs/sdl-image-1.2
- >=media-libs/freetype-2 )
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/${PN}-${MY_PV}
-
-pkg_setup() {
- if ! built_with_use media-libs/sdl-mixer vorbis ; then
- die "Please emerge media-libs/sdl-mixer with USE=vorbis"
- fi
- if ! built_with_use media-libs/sdl-image png ; then
- die "Please emerge media-libs/sdl-image with USE=png"
- fi
- # dedicated also needs USE=X for libsdl: bug #222033
- if ! built_with_use media-libs/libsdl X ; then
- die "Please emerge media-libs/libsdl with USE=X"
- fi
- games_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- 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_compile() {
- 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 lite) \
- $(use_enable static) \
- $(use_enable editor) \
- $(use_enable tools) \
- $(use_enable nls) \
- $(use_enable nls dummy-locales) \
- $(use_enable !dedicated game) \
- ${myconf} \
- || die
- emake || die "emake failed"
-}
-
-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
-}