summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-24 23:55:12 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-24 23:55:12 +0000
commitea6f33b2939c8674d5a2f330220ed2cb988acc78 (patch)
tree2865082c69abac9bc7f5ee67b41abe601c0e819e /games-strategy
parentbump to 2.3.0 (diff)
downloadhistorical-ea6f33b2939c8674d5a2f330220ed2cb988acc78.tar.gz
historical-ea6f33b2939c8674d5a2f330220ed2cb988acc78.tar.bz2
historical-ea6f33b2939c8674d5a2f330220ed2cb988acc78.zip
masked bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wesnoth/ChangeLog8
-rw-r--r--games-strategy/wesnoth/Manifest4
-rw-r--r--games-strategy/wesnoth/wesnoth-1.3.19.ebuild112
3 files changed, 122 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog
index f0baad0eb683..257c8f965c8b 100644
--- a/games-strategy/wesnoth/ChangeLog
+++ b/games-strategy/wesnoth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/wesnoth
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.115 2008/02/18 22:50:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.116 2008/02/24 23:55:12 mr_bones_ Exp $
+
+*wesnoth-1.3.19 (24 Feb 2008)
+
+ 24 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +wesnoth-1.3.19.ebuild:
+ masked bump
*wesnoth-1.3.18 (18 Feb 2008)
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index f399084a24d1..ba3fcd574337 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.2.8.tar.bz2 73123148 RMD160 f085684005dc02d4fbe7802bdb0844a5a531a5c4 SHA1 da02b2bf952d4e309e47ce332930c1509e9a4d2e SHA256 6abc75fbb28a2d506a4d152cf79703f3920a8d1021bab32b1583b004c2ab298c
DIST wesnoth-1.3.18.tar.bz2 121009983 RMD160 25bcc9f5704c644e70ea960e1b2fad1076ffbfeb SHA1 8d0f408028e226938d02bd17a154496c2c1cfc82 SHA256 ab2ed2cbe1daa134c453927bf0ec5d3a36f3319063b6f18c35819871f386da75
+DIST wesnoth-1.3.19.tar.bz2 121274412 RMD160 0438217bb8f539edfcea00e7b3bb99bb811c555c SHA1 ecc808721bb7d5e842cf8626d7188fff9ab5d2be SHA256 e81ac397f9b73d0b5c0aa388a0cfd783993df9420dee6cc2a261224133428f3d
EBUILD wesnoth-1.2.8.ebuild 2813 RMD160 41c7564c0a48778ec694af56bd4921006beb6d08 SHA1 84b569f9c08a74433dd2c3e2b2712f3ce985ca73 SHA256 1e60e367ba5c92f5f08e7d07067ffbfe4f6fddff2b0cec76c7e3dc760fb6e337
EBUILD wesnoth-1.3.18.ebuild 3148 RMD160 b1ee3e730f92c765918ae9250c2abc204195f54b SHA1 0a23996c1b74a0acaa9d394703fccc013b86dcce SHA256 798cbaa55b7912fe6abbc56a5fd2d4e25b3a12100c184812472654fcec99a94b
-MISC ChangeLog 15230 RMD160 ea57d4e5840dcc9d7b8a23bbbe567e2461863af6 SHA1 ffc3d21f1f850e2dc410bf714eda8f585dd3ef67 SHA256 af67ca95317f3bdba14897b868e8a4f76fdb160760ab9b23b435803cb78d512f
+EBUILD wesnoth-1.3.19.ebuild 3148 RMD160 1a4e4fd7e1bb8e4aef1d898a5cb19cd384611199 SHA1 7a4b053f45b5b2e82dfc87b24053a3cf31c992ca SHA256 08bdb4a4e29cb3ac1cf0266db7af74469ebdd65b570e07232ab3a34d28aa0581
+MISC ChangeLog 15357 RMD160 b839cb1c168a1cabe5cc5b461fd4f1da87c27c48 SHA1 e815eb97c7268c6fd926a0f464d391904c15e369 SHA256 0c3237f0caa957e6733ca2bdd2479d985339a86ca498ae3a99343837430e248c
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-strategy/wesnoth/wesnoth-1.3.19.ebuild b/games-strategy/wesnoth/wesnoth-1.3.19.ebuild
new file mode 100644
index 000000000000..a1326e3b0ab0
--- /dev/null
+++ b/games-strategy/wesnoth/wesnoth-1.3.19.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.3.19.ebuild,v 1.1 2008/02/24 23:55:12 mr_bones_ Exp $
+
+inherit eutils toolchain-funcs flag-o-matic games
+
+MY_PV=${PV/_/}
+DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
+HOMEPAGE="http://www.wesnoth.org/"
+SRC_URI="mirror://sourceforge/wesnoth/${PN}-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="dedicated editor lite nls server static tools"
+
+RDEPEND=">=media-libs/libsdl-1.2.7
+ media-libs/sdl-net
+ dev-libs/boost
+ !dedicated? (
+ x11-libs/libX11
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-image-1.2
+ dev-lang/python
+ >=media-libs/freetype-2 )
+ nls? ( virtual/libintl )"
+# the configure script is broken and checks for freetype even if
+# it won't be used. until it's either patched out or upstream fixes
+# it, just make it a DEPEND.
+# reported by Miika Linnapuomi
+DEPEND="${RDEPEND}
+ dedicated? ( >=media-libs/freetype-2 )
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+pkg_setup() {
+ if ! built_with_use media-libs/sdl-mixer vorbis ; then
+ die "Please emerge media-libs/sdl-mixer with USE=vorbis"
+ fi
+ if ! built_with_use media-libs/sdl-image png ; then
+ die "Please emerge media-libs/sdl-image with USE=png"
+ fi
+ if ! use dedicated && ! built_with_use media-libs/libsdl X ; then
+ die "Please emerge media-libs/libsdl with USE=X"
+ fi
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ 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 nls ; then
+ cd "${S}"
+ sed -i \
+ -e '/^MAN_LANG/d' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ local myconf
+
+ 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
+ myconf="${myconf} --enable-server"
+ myconf="${myconf} --enable-campaign-server"
+ myconf="${myconf} --with-server-uid=${GAMES_USER_DED}"
+ myconf="${myconf} --with-server-gid=${GAMES_GROUP}"
+ fi
+ egamesconf \
+ --disable-dependency-tracking \
+ --without-fribidi \
+ --with-localedir=/usr/share/locale \
+ --with-icondir=/usr/share/icons \
+ --with-desktopdir=/usr/share/applications \
+ --docdir=/usr/share/doc/${PF} \
+ --enable-python-install \
+ $(use_enable lite) \
+ $(use_enable static) \
+ $(use_enable editor) \
+ $(use_enable tools) \
+ $(use_enable nls) \
+ $(use_enable nls dummy-locales) \
+ $(use_enable !dedicated game) \
+ ${myconf} \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc changelog
+ if use dedicated || use server; then
+ keepdir "${GAMES_STATEDIR}/run/wesnothd"
+ doinitd "${T}"/wesnothd || die "doinitd failed"
+ fi
+ prepgamesdirs
+}