diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-31 21:13:23 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-31 21:13:23 +0000 |
commit | 127942005dcc83e746a4d5dc0e17f76a416486fc (patch) | |
tree | 978a557d078c51deba877f42cc3280384584b96a /games-strategy/wesnoth | |
parent | Marked ppc stable for bug #321345. (diff) | |
download | historical-127942005dcc83e746a4d5dc0e17f76a416486fc.tar.gz historical-127942005dcc83e746a4d5dc0e17f76a416486fc.tar.bz2 historical-127942005dcc83e746a4d5dc0e17f76a416486fc.zip |
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r-- | games-strategy/wesnoth/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/wesnoth/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.8.2.ebuild | 127 |
3 files changed, 137 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog index d4ee25caed90..0ba2c6f1d45d 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.179 2010/05/01 16:33:25 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.180 2010/05/31 21:13:23 mr_bones_ Exp $ + +*wesnoth-1.8.2 (31 May 2010) + + 31 May 2010; Michael Sterrett <mr_bones_@gentoo.org> + +wesnoth-1.8.2.ebuild: + version bump *wesnoth-1.8.1 (01 May 2010) diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest index 4fc8e4c2a266..76e02f2eb562 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.5.tar.bz2 230239169 RMD160 7fe957d7eeb61956252d0fc6e9ead74572be43a1 SHA1 232dac3a4327555bf52212cf4420c9ea823220e4 SHA256 7ef047ae364278a5bf9bdc69228f77d825f793f1c4d9adae8b47f0882e7f30d7 DIST wesnoth-1.8.1.tar.bz2 288248141 RMD160 7ab51365fa28c99d4e57f03525e2046bdebc5388 SHA1 3ca14cee94e85382a77f4e8ade72a261e446580e SHA256 7c48ecf11a8789689509ea545e2e63ba75dfc765988b1d08b49c6badf19de24d +DIST wesnoth-1.8.2.tar.bz2 298752358 RMD160 ae0d9cfc3f6dae2359bc1aa16f5e7341cfee350f SHA1 772e4847b5c99cef06872ea35c43f4cad2eb622e SHA256 af51389decb431ce5a6c6ef8781c8d23a5415a59d6cb2abb57144b487ef53ef6 EBUILD wesnoth-1.6.5.ebuild 2597 RMD160 c7c79698115547087ef5a87c85337503912b2263 SHA1 3495fc361d214db98faff4a0e3adb3bce64b5c79 SHA256 d85f60c43de30810ba10ef2036996efc93016838680d3d4811d163cf108e51d4 EBUILD wesnoth-1.8.1.ebuild 3451 RMD160 2e09f12787f3dc7b85166cdc42b1453a5c1ce0d8 SHA1 8a37b31ab043cd314cf19bd5db7081a63e7616b7 SHA256 502029edf0f291451c3b4833a83b539392f40a112ebe5b63499e637f6d6d1cf1 -MISC ChangeLog 23421 RMD160 27d583b415b31bbc4d29dadd77c872a78326b9e2 SHA1 9e455f962041df913e90817c5e9e8dbf55e89960 SHA256 d8628fc182dac5ae6dd9844b86c32f7239bb953fbe29212d40f4035efe14c3bd +EBUILD wesnoth-1.8.2.ebuild 3451 RMD160 07f2ac1974a3acba2593103d345a0d61e6246f9e SHA1 7ab0584631a3305f1c3b52c31226c885762115ec SHA256 9e28d34f39b244030fc6286be153ba4618408cb9023120038427cfb92a40cea4 +MISC ChangeLog 23547 RMD160 f1ade7dcd5f3c404ede164b3662d1d42455ce047 SHA1 e50bbdde66eed1409afd6d72ffd2ceb49e41e8fb SHA256 1b8f83a50848aa7b7c4f03e7fac3a26f6c5c710c3db93f9fcb389389e28f693f MISC metadata.xml 330 RMD160 27f21d82f0524f02ac36acfd6116ffd979c930fd SHA1 c2ff910e780424aae4bd9d41eea083824bcdb073 SHA256 286df39ac36cc888d57c6c471a1742218ffe4b1448d410e1dba461c061841ca5 diff --git a/games-strategy/wesnoth/wesnoth-1.8.2.ebuild b/games-strategy/wesnoth/wesnoth-1.8.2.ebuild new file mode 100644 index 000000000000..b52436530ca9 --- /dev/null +++ b/games-strategy/wesnoth/wesnoth-1.8.2.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.2.ebuild,v 1.1 2010/05/31 21:13:23 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 +} |