# ChangeLog for games-strategy/wesnoth
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.89 2007/02/25 05:25:16 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.90 2007/03/16 17:46:28 mr_bones_ Exp $
+
+*wesnoth-1.2.3 (16 Mar 2007)
+
+ 16 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +wesnoth-1.2.3.ebuild:
+ version bump
25 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> wesnoth-1.2.2.ebuild:
add built_with_use media-libs/libsdl X for bug #162954
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX wesnothd.rc 619 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 SHA1 8ba6dad055ea943485c0a1cf324e39a340c89b00 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065
MD5 2238ca275d6ab646096d612c46b1eb05 files/wesnothd.rc 619
RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 files/wesnothd.rc 619
SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065 files/wesnothd.rc 619
DIST wesnoth-1.2.2.tar.bz2 67855997 RMD160 c1f5e61b8b4008caa00c2f1b9ca8c297ac3c7172 SHA1 c1ac66bb3cc5ddfaed2fd517615c08c7c9c89d23 SHA256 f5cb7ca3fa2419cc7003be32201c6773c34e42e9089ac60ffc52b86765d795e6
+DIST wesnoth-1.2.3.tar.bz2 68108143 RMD160 6d7d4b3bdc426bb0d24fc060e7e56c78dfeadc7d SHA1 707645fbfec9477aa73d1119b021725a3ec32faf SHA256 5eacabc354bee8e5c29dd78b42c28ed20fe67e39facbeab699fc4aa73914883c
EBUILD wesnoth-1.2.2.ebuild 2781 RMD160 d6c2fef68f5feacbb4b1732780401243d8a2a6af SHA1 a67d1eb50f1892462531d6aa907daf832f3fa7a9 SHA256 1c5e24c03f3d342ca91a87610a57339f05bee61b6bee2b31c0a6fb74b3247647
MD5 b79f5c381e97f4d4f1060c36b517b723 wesnoth-1.2.2.ebuild 2781
RMD160 d6c2fef68f5feacbb4b1732780401243d8a2a6af wesnoth-1.2.2.ebuild 2781
SHA256 1c5e24c03f3d342ca91a87610a57339f05bee61b6bee2b31c0a6fb74b3247647 wesnoth-1.2.2.ebuild 2781
-MISC ChangeLog 12047 RMD160 7fac0a7d0d7bcb57fba79b8400437748abe9e72c SHA1 bf515dc147f889d4f5aae6c17f4074ebde9cd510 SHA256 c071a8d033a5b9c2eb7469b2d92e6bca88160493997844c0184dde9f64b87f3c
-MD5 7ba614d23863fba6139b1593e99ebaab ChangeLog 12047
-RMD160 7fac0a7d0d7bcb57fba79b8400437748abe9e72c ChangeLog 12047
-SHA256 c071a8d033a5b9c2eb7469b2d92e6bca88160493997844c0184dde9f64b87f3c ChangeLog 12047
+EBUILD wesnoth-1.2.3.ebuild 2786 RMD160 60a2538759353f1cc9e71520789cc373fa49b3c4 SHA1 e46dfc5b0fc373fab1bcfff0be824b73aa4fe2c4 SHA256 1cd9587452d13c81c0f008e1df1f898132b31fa3c9823657f81694b93b219523
+MD5 787e691332a1c8ca58d6e7bf7e8ef9d5 wesnoth-1.2.3.ebuild 2786
+RMD160 60a2538759353f1cc9e71520789cc373fa49b3c4 wesnoth-1.2.3.ebuild 2786
+SHA256 1cd9587452d13c81c0f008e1df1f898132b31fa3c9823657f81694b93b219523 wesnoth-1.2.3.ebuild 2786
+MISC ChangeLog 12173 RMD160 9547ef182ac9a5c7efd3bcf1f5b4117b5030fef8 SHA1 aa3153bd50ab075ae01e33af76ce5ed608f091ce SHA256 010afb4e74a3dd916c052a2dca163ecdd0875be299b7bb75f65b358e5f9aae2b
+MD5 321689c2635b7c831fb9adb08e6e8d92 ChangeLog 12173
+RMD160 9547ef182ac9a5c7efd3bcf1f5b4117b5030fef8 ChangeLog 12173
+SHA256 010afb4e74a3dd916c052a2dca163ecdd0875be299b7bb75f65b358e5f9aae2b ChangeLog 12173
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 f5d2f27dc60f9af6fd2801b3cc3e14a8 files/digest-wesnoth-1.2.2 250
RMD160 e1dfd07239519be6779e1d9e266a4f54001fa0fb files/digest-wesnoth-1.2.2 250
SHA256 2d5deddceda6f321f2a48f7898a3013cc542a411cd67d6e005463424601796a0 files/digest-wesnoth-1.2.2 250
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFF+Tmsdz7hIScOURERArRrAJwNrRd4VmxoVRhXS1qP3aEVIw2L+gCeJWeE
-YtYTUsY29MYhuwT93P+QSVY=
-=ujky
------END PGP SIGNATURE-----
+MD5 19a20d47681d6f28fabd22cd544caef3 files/digest-wesnoth-1.2.3 250
+RMD160 8c5f0d6b09ca0ad8f5a1986c507b29b661f18cd2 files/digest-wesnoth-1.2.3 250
+SHA256 25ec6389dead2a24d6c6a88031581df596bdb8635486913b52c75fb8bf862bd2 files/digest-wesnoth-1.2.3 250
--- /dev/null
+MD5 94e051a82be080e7f69040b42c46ba2c wesnoth-1.2.3.tar.bz2 68108143
+RMD160 6d7d4b3bdc426bb0d24fc060e7e56c78dfeadc7d wesnoth-1.2.3.tar.bz2 68108143
+SHA256 5eacabc354bee8e5c29dd78b42c28ed20fe67e39facbeab699fc4aa73914883c wesnoth-1.2.3.tar.bz2 68108143
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.2.3.ebuild,v 1.1 2007/03/16 17:46:28 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"
+IUSE="dedicated editor gnome kde lite nls server tools"
+
+RDEPEND=">=media-libs/libsdl-1.2.7
+ !dedicated? (
+ x11-libs/libX11
+ >=media-libs/freetype-2 )
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-image-1.2
+ media-libs/sdl-net
+ 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 ! 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 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
+}
+
+src_compile() {
+ filter-flags -ftracer -fomit-frame-pointer
+ if [[ $(gcc-major-version) -eq 3 ]] ; then
+ filter-flags -fstack-protector
+ append-flags -fno-stack-protector
+ fi
+ egamesconf \
+ --disable-dependency-tracking \
+ --without-fribidi \
+ --with-localedir=/usr/share/locale \
+ --with-icondir=/usr/share/icons \
+ --with-desktopdir=/usr/share/applications \
+ $(use_enable lite) \
+ $(use_enable server) \
+ $(use_enable server campaign-server) \
+ $(use server && echo --with-server-uid=${GAMES_USER_DED} --with-server-gid=${GAMES_GROUP}) \
+ $(use_enable editor) \
+ $(use_enable tools) \
+ $(use_enable nls) \
+ $(use_enable nls dummy-locales) \
+ $(use_enable !dedicated game) \
+ $(use_with gnome) \
+ $(use_with kde) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc MANUAL changelog
+ if use server; then
+ keepdir "${GAMES_STATEDIR}/run/wesnothd"
+ doinitd "${T}"/wesnothd || die "doinitd failed"
+ fi
+ prepgamesdirs
+}