summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/wesnoth/ChangeLog8
-rw-r--r--games-strategy/wesnoth/Manifest4
-rw-r--r--games-strategy/wesnoth/wesnoth-1.7.11.ebuild100
3 files changed, 110 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog
index 077ea9bd82e3..b28fed83a479 100644
--- a/games-strategy/wesnoth/ChangeLog
+++ b/games-strategy/wesnoth/ChangeLog
@@ -1,6 +1,12 @@
# 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.161 2009/11/22 22:31:39 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.162 2009/12/30 21:30:36 mr_bones_ Exp $
+
+*wesnoth-1.7.11 (30 Dec 2009)
+
+ 30 Dec 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +wesnoth-1.7.11.ebuild:
+ masked beta version bump
22 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> wesnoth-1.6.5.ebuild:
Stable for ppc, bug 288631
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index dda34df073ba..25d29a942bd0 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.6.4.tar.bz2 229852077 RMD160 300b6c89af6260628a404bf77607d3782ff83e9c SHA1 653c3797d1d3a4cd72addcea7dfc63216b30ffe0 SHA256 496a1a9b2b9f05e400a60466ae0644cd376902439436b0ab1ef3e9a67105a1b3
DIST wesnoth-1.6.5.tar.bz2 230239169 RMD160 7fe957d7eeb61956252d0fc6e9ead74572be43a1 SHA1 232dac3a4327555bf52212cf4420c9ea823220e4 SHA256 7ef047ae364278a5bf9bdc69228f77d825f793f1c4d9adae8b47f0882e7f30d7
+DIST wesnoth-1.7.11.tar.bz2 276134572 RMD160 c5fcf88e143f61877ecb3c8416143246ac25c5f4 SHA1 7cbf3db40ec743093f78ab019888d309704eb92b SHA256 c9f30b4ec565d77508c13fd234432227b2e7f77c10501943c522bc4b7dc72c75
EBUILD wesnoth-1.6.4.ebuild 2593 RMD160 81f7688df27d440365f1fe979a2898b3c7e1261e SHA1 ae9174f177420963b470737fbf5578d46dff6fe5 SHA256 be61418fb67834aebb78535f8e1d8f31c65e05b79ff5fbde5778de20c04d3ad0
EBUILD wesnoth-1.6.5.ebuild 2595 RMD160 555c7b7310291d9f93e85a383d9211c9f678acc9 SHA1 0b404b992a68f9da401b2bd0789ec22a39cf10e4 SHA256 7c6bdfa2b28889fa46d96e56da9e1ae165b484bbe2d0e7801f3b2149bf0b763b
-MISC ChangeLog 21038 RMD160 5e61d97baa429a46636156bccdca9e93c281af9c SHA1 42326ba95439c30402787e41703b6eee49c2051e SHA256 1991ddb206d037efc7183615f20066fdc5ed88d1b9654495678aec7a9312d040
+EBUILD wesnoth-1.7.11.ebuild 2742 RMD160 d07e601bd70fed99baae70db7f476645b0a9685e SHA1 4f411751a61cae74ac6ea82bbf4690d4234d3dc3 SHA256 420089a51e0c3b8ef0d37afee525f285e91eb90fd0ed0ed2665b0d2a97226535
+MISC ChangeLog 21180 RMD160 415d696120b8185594b6a5be850d97120187a622 SHA1 28748ce1a13d12806ab8cf4a32cf4b94864294b7 SHA256 1d2428cdb13d7cdedd47efe5078c44fc87d18862dbddd1b3072a15ddef3ce5b9
MISC metadata.xml 330 RMD160 27f21d82f0524f02ac36acfd6116ffd979c930fd SHA1 c2ff910e780424aae4bd9d41eea083824bcdb073 SHA256 286df39ac36cc888d57c6c471a1742218ffe4b1448d410e1dba461c061841ca5
diff --git a/games-strategy/wesnoth/wesnoth-1.7.11.ebuild b/games-strategy/wesnoth/wesnoth-1.7.11.ebuild
new file mode 100644
index 000000000000..9c4d1b10ce77
--- /dev/null
+++ b/games-strategy/wesnoth/wesnoth-1.7.11.ebuild
@@ -0,0 +1,100 @@
+# 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.7.11.ebuild,v 1.1 2009/12/30 21:30:36 mr_bones_ Exp $
+
+EAPI=2
+inherit cmake-utils eutils toolchain-funcs flag-o-matic games
+
+DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
+HOMEPAGE="http://www.wesnoth.org/"
+SRC_URI="mirror://sourceforge/wesnoth/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="dedicated doc nls server tinygui"
+
+RDEPEND=">=media-libs/libsdl-1.2.7[video,X]
+ media-libs/sdl-net
+ >=media-libs/sdl-ttf-2.0.8
+ >=media-libs/sdl-mixer-1.2[vorbis]
+ >=media-libs/sdl-image-1.2[jpeg,png]
+ dev-libs/boost
+ sys-libs/zlib
+ x11-libs/pango
+ media-libs/fontconfig
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ !dedicated? (
+ tinygui? ( media-gfx/imagemagick[jpeg,png] )
+ )
+ sys-devel/gettext"
+
+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 doc ; then
+ sed -i \
+ -e '/manual/d' \
+ doc/CMakeLists.txt \
+ || die "sed failed"
+ fi
+}
+
+src_configure() {
+ 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
+ mycmakeargs="${mycmakeargs}
+ -DENABLE_CAMPAIGN_SERVER=TRUE
+ -DENABLE_SERVER=TRUE
+ -DSERVER_UID=${GAMES_USER_DED}
+ -DSERVER_GID=${GAMES_GROUP}
+ -DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd"
+ else
+ mycmakeargs="${mycmakeargs}
+ -DENABLE_CAMPAIGN_SERVER=FALSE
+ -DENABLE_SERVER=FALSE"
+ fi
+ mycmakeargs="
+ ${mycmakeargs}
+ $(cmake-utils_use_enable !dedicated GAME)
+ $(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY)
+ $(cmake-utils_use_enable nls NLS)
+ -DGUI=$(use tinygui && echo tiny || echo normal)
+ -DENABLE_FRIBIDI=FALSE
+ -DENABLE_STRICT_COMPILATION=FALSE
+ -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}
+ -DPREFERENCES_DIR=.wesnoth
+ -DDATAROOTDIR=${GAMES_DATADIR}
+ -DBINDIR=${GAMES_BINDIR}
+ -DICONDIR=/usr/share/pixmaps
+ -DDESKTOPDIR=/usr/share/applications
+ -DMANDIR=/usr/share/man
+ -DDOCDIR=/usr/share/doc/${PF}"
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ DOCS="README changelog players_changelog" cmake-utils_src_install
+ if use dedicated || use server; then
+ keepdir "${GAMES_STATEDIR}/run/wesnothd"
+ doinitd "${T}"/wesnothd || die "doinitd failed"
+ fi
+ prepgamesdirs
+}