summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-03-19 17:04:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-03-19 17:04:40 +0000
commit3906bc2d429ba9b31d42a15c8851a77ae9a0bcd0 (patch)
tree1da7e59a03f3c8d732bfe12e7e8985171318393d /games-strategy/wesnoth
parentmigration revbump; simple patch adjusting exception message for pypy (diff)
downloadhistorical-3906bc2d429ba9b31d42a15c8851a77ae9a0bcd0.tar.gz
historical-3906bc2d429ba9b31d42a15c8851a77ae9a0bcd0.tar.bz2
historical-3906bc2d429ba9b31d42a15c8851a77ae9a0bcd0.zip
version bump
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r--games-strategy/wesnoth/ChangeLog7
-rw-r--r--games-strategy/wesnoth/Manifest4
-rw-r--r--games-strategy/wesnoth/wesnoth-1.10.6.ebuild117
3 files changed, 126 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog
index bf1ebe599f44..d3e8e5746aff 100644
--- a/games-strategy/wesnoth/ChangeLog
+++ b/games-strategy/wesnoth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/wesnoth
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.221 2013/01/13 11:40:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.222 2013/03/19 17:04:35 mr_bones_ Exp $
+
+*wesnoth-1.10.6 (19 Mar 2013)
+
+ 19 Mar 2013; Michael Sterrett <mr_bones_@gentoo.org> +wesnoth-1.10.6.ebuild:
+ version bump
13 Jan 2013; Agostino Sarubbo <ago@gentoo.org> wesnoth-1.10.5.ebuild:
Stable for x86, wrt bug #449902
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index 8ecf6a5057e9..126401ea6666 100644
--- a/games-strategy/wesnoth/Manifest
+++ b/games-strategy/wesnoth/Manifest
@@ -2,7 +2,9 @@ AUX wesnoth-1.10.4-boost.patch 541 SHA256 98d7a146fde0f684c58d74abefb4c35c233115
AUX wesnothd.rc 619 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065 SHA512 b9f08d1e026ef8e970e8c7eb1533b91b9185917697bacf874970108f515b4d8af5ebc9a4ff2335f1fb19c37ca6fd281bd7153e773bcace22acf7f0772d2beb43 WHIRLPOOL fd35eeb82f6b15663194e28f301452753d8d0892df2f516dac7d579629978d5804fb277d930b0dcedf219fcd28f5389f8f6b89fd25a858c2402be4d1c19b788c
DIST wesnoth-1.10.4.tar.bz2 342665460 SHA256 97131daf6e52175abe1c84ff55dbbf0f6b102b99f29d32490f5e89ee02cfebc3 SHA512 363f67805538450c693702add4790d7ec6ceb38c22fe79acd22c6ebb74ecacc1035b5dab2940ce88bb85d2d13c6fb24ec485d23c2ffc10e79778c57cf373c590 WHIRLPOOL c43f8e2e07eda50202d8f893c7b4593356a545d8f9cde07eac463cdf685e71c2d2667f7704ced0f9e8e8b45eaf42f05baa006611fe6190bac26eb95e48bc9d4e
DIST wesnoth-1.10.5.tar.bz2 343638424 SHA256 f627d246e473dcbad3b928a37e0783a7191a237430b0bfc7680ffe3d18ca74e7 SHA512 75e33ae3ef191aa3531066350d6e280c6a3d459461e9a09849a6786ef9ec5f37afe55862cd92b033e44be2ad5c1a3125ceea55c2b477b965d86bc5d0a36d945b WHIRLPOOL 72c373f2bf62a5e0017c4a01ad4829e9bf1e33aee8d2084793d68df5ba8ef68b9cd80f6fe1bced7d108a3a7a1e1f051918a72784b0bbf7e4f943e3b6023aa32f
+DIST wesnoth-1.10.6.tar.bz2 346125796 SHA256 05f3b47dcec4d2c3e2aaa05be270bc1505948d0311f2508d2bf8ece5741d2081 SHA512 185f5df617fcd7aa4e206caf09705e3679735bb0fb4fef25bdd20b4d354e043d66ec2988ec9d7f92c864a31cf8ee0b4ff13cc621175c44b4f756825d98fb6d63 WHIRLPOOL 8ba208fa9b8533aed899e51544cdcba67f895e50c111b406324703e3474215840ea37652967f81517d67f889242e094e085055b2bde7839113eadda5820be01b
EBUILD wesnoth-1.10.4.ebuild 3261 SHA256 7401fc9fa7dbd9331bc825ba548139388abe87597da9fa4e5e75c89158747918 SHA512 1c17aae0b16c71251e35c9054ece7b9d87dca519e6985d6e340022e1c82681e4d9ca3bfb31d6c663d1c5b14d45ece76535d4cf1052ed8c2c5aa181c75c48b7ef WHIRLPOOL cbe8c4faf61ab92f294157fb69ae4bf8fc9868067030449c25946b551d7b37d63706468f6bce0656351a9e46fa166634343ac17be41383b859e12b4e98a78652
EBUILD wesnoth-1.10.5.ebuild 3217 SHA256 c28b2a28787c3df75f52b37617e20a8b2ab4aef60a0667bfdd92e5d9fe254366 SHA512 df97c7b44e50ea25a62150fafc91b97d9f4a96d046d7ea1a3d20a9b70023813eb27eacab010e66a3ff09a93eeaec2698c239bbf200599d990068c921bfb7d121 WHIRLPOOL 1db8970779f09c4b73f49f17cf61b8622ff0621a381fd1413bbaa6bb2cb65441010b7e4afb0cc3d3841df11d20a4d9e8d47f3493f73cd4415452e7f6844e74cc
-MISC ChangeLog 28427 SHA256 58ec4aadfee075f7f9d5cc4338b409b80820b57351a7404ed4014d9ab012c087 SHA512 405181cd3313c7a28783e67c8a479dc66abf2c1047bfbad0e5d7a60c9bdae85024d73320c40dfa48f7a07c895abbf151269c475b134ed782ed3efca3685deac8 WHIRLPOOL 7842d30ff12eff00463eb8c1c8079f51f8c33c3b5fc052212af6e58fbbc096d173f45137039cc407e6e451dabf0c1b828d9517e1b517a9936ce35a8129f2a63f
+EBUILD wesnoth-1.10.6.ebuild 3226 SHA256 8a2f6e7f3c35d105d2ab2a38fb65199654ebb0610ed188c88e6a6c184b035785 SHA512 c1bf5092c5c90fbd5f085c2bbbae91b29917ff583ba21e4203afd1308a9d3543db753f414bc6a67adc278dee45dc6432f503af1a6aa9c106185cb18cb1c8eb1b WHIRLPOOL d637d705d0e4dd62ca5368baa9d76380222fe5d993ec6b7dd0dd2d1c1b6418f31ce54dabfd74c3b688a6f4f0ebdb22f55a3e409cdec0d4ba05beae405073a1b1
+MISC ChangeLog 28559 SHA256 de8c8bd091a86051e5a7649e74b6cbdace4be78c4f31d6d71ad4ceb42f526eda SHA512 659f431c873ae95926dbc6cecf413bf6a31e067ea6d4635cb609edfd5d426db0bbdc872f1fca0a4f816937f1c3855274023e8bbca5ca13c3f62573a44deabf7d WHIRLPOOL 4fc549e2f7f6c642ea1536ca8fe0535b505a19843497716140ad175aef4431e0c6011a74f5bfd51b36be6cff1a00487766cc56508ae02e9393f0512cd3d7b8b9
MISC metadata.xml 237 SHA256 6ae15c0944026e6b0783ac18e715f1e15f130734c023091ce9c74fb933b698e0 SHA512 915c574b3e3ce7924d302e6e89156c5caa86d386114a90a52864a4bec4a30db8fe7546488e6054ba60308d819d281c707edf9f71c9e9ca6d42731d33ef9ee5be WHIRLPOOL 472c9ff5f9249832faf765771953fee5ee7dfdc2b95de74be6c71292fc278ee88b0c2e6d6b08665de6f7f25a9822f16158b7d6c0e14f4aa7d8fcf4a7692b5578
diff --git a/games-strategy/wesnoth/wesnoth-1.10.6.ebuild b/games-strategy/wesnoth/wesnoth-1.10.6.ebuild
new file mode 100644
index 000000000000..ebf6f21a64b0
--- /dev/null
+++ b/games-strategy/wesnoth/wesnoth-1.10.6.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.10.6.ebuild,v 1.1 2013/03/19 17:04:35 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 ~x86 ~x86-fbsd"
+IUSE="dbus dedicated doc nls server"
+
+RDEPEND=">=media-libs/libsdl-1.2.7[joystick,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.36
+ sys-libs/zlib
+ x11-libs/pango
+ dev-lang/lua
+ media-libs/fontconfig
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ 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.36")
+
+ 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)
+ "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
+ "-DENABLE_FRIBIDI=FALSE"
+ "-DENABLE_STRICT_COMPILATION=FALSE"
+ "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
+ "-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
+}