summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-12 02:15:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-12 02:15:38 +0000
commit4222f3e3c34d3d06c4865f4559f55496d57aa7ec (patch)
treec8f4e08ef847c5ea4a60bcd140b69ff2c751be68 /games-strategy
parentVersion bump. (diff)
downloadhistorical-4222f3e3c34d3d06c4865f4559f55496d57aa7ec.tar.gz
historical-4222f3e3c34d3d06c4865f4559f55496d57aa7ec.tar.bz2
historical-4222f3e3c34d3d06c4865f4559f55496d57aa7ec.zip
masked bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wesnoth/ChangeLog8
-rw-r--r--games-strategy/wesnoth/Manifest4
-rw-r--r--games-strategy/wesnoth/wesnoth-1.3.16.ebuild112
3 files changed, 122 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog
index ff919df30080..c932e2a347f1 100644
--- a/games-strategy/wesnoth/ChangeLog
+++ b/games-strategy/wesnoth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/wesnoth
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.112 2008/01/28 20:45:57 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.113 2008/02/12 02:15:38 mr_bones_ Exp $
+
+*wesnoth-1.3.16 (12 Feb 2008)
+
+ 12 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +wesnoth-1.3.16.ebuild:
+ masked bump
*wesnoth-1.3.14 (15 Jan 2008)
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index 2cf3566fee4a..f3f6c2f96d99 100644
--- a/games-strategy/wesnoth/Manifest
+++ b/games-strategy/wesnoth/Manifest
@@ -1,7 +1,9 @@
AUX wesnothd.rc 619 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 SHA1 8ba6dad055ea943485c0a1cf324e39a340c89b00 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065
DIST wesnoth-1.2.8.tar.bz2 73123148 RMD160 f085684005dc02d4fbe7802bdb0844a5a531a5c4 SHA1 da02b2bf952d4e309e47ce332930c1509e9a4d2e SHA256 6abc75fbb28a2d506a4d152cf79703f3920a8d1021bab32b1583b004c2ab298c
DIST wesnoth-1.3.15.tar.bz2 120153148 RMD160 f83941ca1c64fbc64ba131f16e26a9aedd763a1c SHA1 2c7a354a57252ea3229108656b22baae049af07a SHA256 5c5c723bdef0b9872a20a4ee11365f050251baed375ee951db726bf82401766e
+DIST wesnoth-1.3.16.tar.bz2 120536152 RMD160 0da5a70b255bc7bae16b44fb4bc75359f1fbd6b6 SHA1 ec612ba979f38e1f35deec1bc20a43aa5ab24906 SHA256 b963fa5db93d7aebc886178f589d69a4b015803938b87ce996ff57f1643a385a
EBUILD wesnoth-1.2.8.ebuild 2815 RMD160 b82548ec1cdded5a37bf9e538c92f3b2bb061bfc SHA1 cd071c23a11914e8c843316fe5fcfaaa1da415e9 SHA256 fc1658276598d110ba18d7e80ad488de36c14fe39b99a76a03f65e9ff74a9b9a
EBUILD wesnoth-1.3.15.ebuild 3150 RMD160 3c37ab69a074a9e94b916711a50baac95fb09ea3 SHA1 4a047569fede70d1f0f2d3fb49b908231ad3f5fd SHA256 9f3e135231fe56a401e89968d861ff42b0e29ad096cb81978829c8087b010a54
-MISC ChangeLog 14775 RMD160 990bde2f04e025f2dd061aa47b047468033c901d SHA1 91f65872f19ce6ed2ad41a34d5ef607c9ddabe09 SHA256 ba8b08a12098e78a5893bbf8919445ce17012f7b3fcfed301ba6681203448bb4
+EBUILD wesnoth-1.3.16.ebuild 3150 RMD160 1237b77910fd5d555b6b26098d497c9efeb07b7c SHA1 bc6f04d3ed6d5aef9ccf147c2dc04359ae8f2090 SHA256 e739ece33a42d9436b2bb3991d7ed2bde23405bd755ccb8bc98475fa830f7c12
+MISC ChangeLog 14904 RMD160 1058ddfbfd405534cc4a9fece75d6e939a03a22d SHA1 ca33d467cba6d0a88ac8b737f49e27496916c784 SHA256 2ab9f008fb15d8851f08e3170157af4567a42b82a1d443a30b4477ab1193a7ad
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-strategy/wesnoth/wesnoth-1.3.16.ebuild b/games-strategy/wesnoth/wesnoth-1.3.16.ebuild
new file mode 100644
index 000000000000..54d855cbe0c9
--- /dev/null
+++ b/games-strategy/wesnoth/wesnoth-1.3.16.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.3.16.ebuild,v 1.1 2008/02/12 02:15:38 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
+ dev-lang/python
+ >=media-libs/freetype-2 )
+ 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 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
+ if ! use dedicated && ! 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}"
+ 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
+ cd "${S}"
+ sed -i \
+ -e '/^MAN_LANG/d' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+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} \
+ --enable-python-install \
+ $(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"
+ dodoc changelog
+ if use dedicated || use server; then
+ keepdir "${GAMES_STATEDIR}/run/wesnothd"
+ doinitd "${T}"/wesnothd || die "doinitd failed"
+ fi
+ prepgamesdirs
+}