version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Mon, 5 Jul 2010 16:50:24 +0000 (16:50 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Mon, 5 Jul 2010 16:50:24 +0000 (16:50 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux i686

games-strategy/wesnoth/ChangeLog
games-strategy/wesnoth/Manifest
games-strategy/wesnoth/wesnoth-1.8.3.ebuild [new file with mode: 0644]

index 0ba2c6f1d45d3ae55ae04dc10f6dbdafcf480f4a..9891ce6edb39720f750c486bbaedda311d7d31a3 100644 (file)
@@ -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.180 2010/05/31 21:13:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.181 2010/07/05 16:50:24 mr_bones_ Exp $
+
+*wesnoth-1.8.3 (05 Jul 2010)
+
+  05 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org>
+  +wesnoth-1.8.3.ebuild:
+  version bump
 
 *wesnoth-1.8.2 (31 May 2010)
 
index 18ff1acf07137d6df9dd34c2a5618ee041634125..fcb0ef38cc2394758aa13db13e4593e01c4c7d16 100644 (file)
@@ -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.2.tar.bz2 298752358 RMD160 ae0d9cfc3f6dae2359bc1aa16f5e7341cfee350f SHA1 772e4847b5c99cef06872ea35c43f4cad2eb622e SHA256 af51389decb431ce5a6c6ef8781c8d23a5415a59d6cb2abb57144b487ef53ef6
+DIST wesnoth-1.8.3.tar.bz2 298923248 RMD160 dc38fc6dbb3c7c7b69831b1fabd0fb64caa0d2b2 SHA1 85adf119509ac15c19536736dfbc04931280cf1c SHA256 985d40ff04cf95bb6f8abb3353ec955c3286a6f9edb1bd29b6f26f8b12280928
 EBUILD wesnoth-1.6.5.ebuild 2597 RMD160 c7c79698115547087ef5a87c85337503912b2263 SHA1 3495fc361d214db98faff4a0e3adb3bce64b5c79 SHA256 d85f60c43de30810ba10ef2036996efc93016838680d3d4811d163cf108e51d4
 EBUILD wesnoth-1.8.2.ebuild 3451 RMD160 07f2ac1974a3acba2593103d345a0d61e6246f9e SHA1 7ab0584631a3305f1c3b52c31226c885762115ec SHA256 9e28d34f39b244030fc6286be153ba4618408cb9023120038427cfb92a40cea4
-MISC ChangeLog 23547 RMD160 f1ade7dcd5f3c404ede164b3662d1d42455ce047 SHA1 e50bbdde66eed1409afd6d72ffd2ceb49e41e8fb SHA256 1b8f83a50848aa7b7c4f03e7fac3a26f6c5c710c3db93f9fcb389389e28f693f
+EBUILD wesnoth-1.8.3.ebuild 3451 RMD160 cc7243d812013b9164f487e6dfd0f32162f73c61 SHA1 6015b4437c730ef51a8dd7cb25fe39fc76a96c26 SHA256 e9e334caa085330fdd8202031092927bf2092b4abe5151b4d86f3631fa4c79e0
+MISC ChangeLog 23673 RMD160 1778053741a235f9b9c303ecbf906bc84e81990e SHA1 6af6273247865e7745aa16cda8f143e53fe7f828 SHA256 0b35f59db15830f57cb9118924d9a91b5179d92935a35f6e4053b3d7caee9017
 MISC metadata.xml 330 RMD160 27f21d82f0524f02ac36acfd6116ffd979c930fd SHA1 c2ff910e780424aae4bd9d41eea083824bcdb073 SHA256 286df39ac36cc888d57c6c471a1742218ffe4b1448d410e1dba461c061841ca5
diff --git a/games-strategy/wesnoth/wesnoth-1.8.3.ebuild b/games-strategy/wesnoth/wesnoth-1.8.3.ebuild
new file mode 100644 (file)
index 0000000..8c2c987
--- /dev/null
@@ -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.3.ebuild,v 1.1 2010/07/05 16:50:24 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
+}