summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-28 01:27:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-28 01:27:03 +0000
commit58794e18394544b3d3b2cb72f75652e1b454d553 (patch)
treecec7160822fb77ba35420ac0cc448a23d566f01b /games-strategy
parentPatch for (CVE-2010-3081), compat_alloc_user_space fix. bug #337659 (diff)
downloadhistorical-58794e18394544b3d3b2cb72f75652e1b454d553.tar.gz
historical-58794e18394544b3d3b2cb72f75652e1b454d553.tar.bz2
historical-58794e18394544b3d3b2cb72f75652e1b454d553.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wesnoth/ChangeLog8
-rw-r--r--games-strategy/wesnoth/Manifest14
-rw-r--r--games-strategy/wesnoth/wesnoth-1.8.5.ebuild127
3 files changed, 137 insertions, 12 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog
index ec634bb0407b..8c1c5c85e61f 100644
--- a/games-strategy/wesnoth/ChangeLog
+++ b/games-strategy/wesnoth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/wesnoth
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.188 2010/09/27 07:29:42 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.189 2010/09/28 01:27:03 mr_bones_ Exp $
+
+*wesnoth-1.8.5 (28 Sep 2010)
+
+ 28 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +wesnoth-1.8.5.ebuild:
+ version bump
26 Sep 2010; Markos Chandras <hwoarang@gentoo.org> wesnoth-1.8.4.ebuild:
Stable on amd64 wrt bug #336408
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index 9ddbd9725048..4d3917265cd4 100644
--- a/games-strategy/wesnoth/Manifest
+++ b/games-strategy/wesnoth/Manifest
@@ -1,19 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX wesnothd.rc 619 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 SHA1 8ba6dad055ea943485c0a1cf324e39a340c89b00 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065
DIST wesnoth-1.6.5.tar.bz2 230239169 RMD160 7fe957d7eeb61956252d0fc6e9ead74572be43a1 SHA1 232dac3a4327555bf52212cf4420c9ea823220e4 SHA256 7ef047ae364278a5bf9bdc69228f77d825f793f1c4d9adae8b47f0882e7f30d7
DIST wesnoth-1.8.2.tar.bz2 298752358 RMD160 ae0d9cfc3f6dae2359bc1aa16f5e7341cfee350f SHA1 772e4847b5c99cef06872ea35c43f4cad2eb622e SHA256 af51389decb431ce5a6c6ef8781c8d23a5415a59d6cb2abb57144b487ef53ef6
DIST wesnoth-1.8.4.tar.bz2 300557790 RMD160 86b6f6ca39cf87134d89e989ed20840836aeac28 SHA1 30b82e06523f9a82b770a6fc4e2d4251bd358eca SHA256 af29ddf40f83ee016972d6edb8761d7323f8ed5d6bf15005659bff4fd7190eb9
+DIST wesnoth-1.8.5.tar.bz2 301024033 RMD160 c2a6a9f094b862ef274838fd062c5d961f97c261 SHA1 22c6cc10dc7172daf636158dba0acac35f538597 SHA256 eca3bdce505480a0cf045d0189df7260c16af9f543a427e7de8690fff9c655fa
EBUILD wesnoth-1.6.5.ebuild 2597 RMD160 c7c79698115547087ef5a87c85337503912b2263 SHA1 3495fc361d214db98faff4a0e3adb3bce64b5c79 SHA256 d85f60c43de30810ba10ef2036996efc93016838680d3d4811d163cf108e51d4
EBUILD wesnoth-1.8.2.ebuild 3444 RMD160 d9dc60a610c8f843a8b6b8ad31e0ff35f15eb0ec SHA1 4d41f5acc4c0614ce92a3902f187c0c99868ef29 SHA256 850a455f3903409e9c04663ad0e48876daf7f74edcc890d9296c10b5c14b9194
EBUILD wesnoth-1.8.4.ebuild 3446 RMD160 5d13686397532bcf483b58df42a5dd6a096497f3 SHA1 ad155bc1e5655e95cd5109c154f2bad4c71cad90 SHA256 efa86b7ea373c8f318da2235d47b32322e5af9587b05d9a9b73de6f34002b190
-MISC ChangeLog 24456 RMD160 e816df93dc6102d077360ddfc125a717b4485f99 SHA1 cb32d1a3833dc07d05d3398c23bf682731493a7e SHA256 3c5aac49ac9d88c2a1dd3232008cb9ca8e520539b19347b730ac205cb97069c7
+EBUILD wesnoth-1.8.5.ebuild 3451 RMD160 055823e3b7db55318f189da6459bb577f35c6dd0 SHA1 f5c3421264a275256a351abc50bb6eadc7a2e478 SHA256 03efad77c60de7170463d3bb16d60760b2e2a59ad74beb233d269e3ad22df3a8
+MISC ChangeLog 24583 RMD160 c996e4eb10a220ad786eead4b95ad3ba1910a326 SHA1 666f8513ada72b8668330b7693931308be78257e SHA256 2ea2ded27e6e80d1ac53ac9ee9577c42ad7d6f65553f8505559fe56aea9f6a2f
MISC metadata.xml 330 RMD160 27f21d82f0524f02ac36acfd6116ffd979c930fd SHA1 c2ff910e780424aae4bd9d41eea083824bcdb073 SHA256 286df39ac36cc888d57c6c471a1742218ffe4b1448d410e1dba461c061841ca5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkygR3gACgkQ9/cejkQaxBBFmQCeO1DgD+mXwwpXuIhiI5Su1UPc
-mZEAninfjVzNCtnn+u6FXY5clvlhsFC/
-=q1rM
------END PGP SIGNATURE-----
diff --git a/games-strategy/wesnoth/wesnoth-1.8.5.ebuild b/games-strategy/wesnoth/wesnoth-1.8.5.ebuild
new file mode 100644
index 000000000000..4230e07cffd7
--- /dev/null
+++ b/games-strategy/wesnoth/wesnoth-1.8.5.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.8.5.ebuild,v 1.1 2010/09/28 01:27:03 mr_bones_ Exp $
+
+EAPI=2
+inherit cmake-utils eutils multilib 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="dbus 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]
+ !dedicated? (
+ dbus? ( sys-apps/dbus )
+ )
+ >=dev-libs/boost-1.35
+ sys-libs/zlib
+ x11-libs/pango
+ dev-lang/lua
+ media-libs/fontconfig
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ !dedicated? (
+ tinygui? (
+ || (
+ media-gfx/imagemagick[jpeg,png]
+ media-gfx/graphicsmagick[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
+ # how do I hate boost? Let me count the ways...
+ local boost_ver=$(best_version ">=dev-libs/boost-1.35")
+
+ boost_ver=${boost_ver/*boost-/}
+ boost_ver=${boost_ver%.*}
+ boost_ver=${boost_ver/./_}
+
+ einfo "Using boost version ${boost_ver}"
+ append-cxxflags \
+ -I/usr/include/boost-${boost_ver}
+ append-ldflags \
+ -L/usr/$(get_libdir)/boost-${boost_ver}
+ export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
+ export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
+}
+
+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=(
+ "-DENABLE_CAMPAIGN_SERVER=TRUE"
+ "-DENABLE_SERVER=TRUE"
+ "-DSERVER_UID=${GAMES_USER_DED}"
+ "-DSERVER_GID=${GAMES_GROUP}"
+ "-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd"
+ )
+ else
+ mycmakeargs=(
+ "-DENABLE_CAMPAIGN_SERVER=FALSE"
+ "-DENABLE_SERVER=FALSE"
+ )
+ fi
+ mycmakeargs+=(
+ $(cmake-utils_use_enable !dedicated GAME)
+ $(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY)
+ $(cmake-utils_use_enable nls NLS)
+ $(cmake-utils_use_enable dbus NOTIFICATIONS)
+ "-DGUI=$(use tinygui && echo tiny || echo normal)"
+ "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
+ "-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
+}