# ChangeLog for games-strategy/wesnoth
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.85 2006/12/28 19:13:18 mr_bones_ Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.86 2007/01/14 03:41:06 mr_bones_ Exp $
+
+*wesnoth-1.2.1 (14 Jan 2007)
+
+ 14 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +wesnoth-1.2.1.ebuild:
+ version bump
28 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org>
-wesnoth-1.1.14.ebuild:
RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 files/wesnothd.rc 619
SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065 files/wesnothd.rc 619
DIST wesnoth-1.0.2.tar.gz 40034289 RMD160 20ba5be7078224f65a37d268eaf95be79e0e57c2 SHA1 c2313242615b79249f26371bd7c410e8385adc0a SHA256 b5201943017e892230cfb1f09a6860b199cb59255ef6aaa19de6a5d365300ac7
+DIST wesnoth-1.2.1.tar.gz 74936071 RMD160 50b4bb877fd15867b04ca1c2371ce683cac8e02b SHA1 dd3a330cd7d908cd7e2f556deb7e25e1b45ecc0d SHA256 e86fb8b9c49fdb5c50df9c1bb38201747253bc19fdbbb64329e14ec2abe0b191
DIST wesnoth-1.2.tar.gz 74823113 RMD160 f5cbe25233158e5667429dbacfd47ee408c82af5 SHA1 0a7b278c663c0c78fba7ea1ee6b0fc5a96168467 SHA256 220705b4b79ddd73061099f30413c6d1872cb30681a26379709a58ace6c91ec1
EBUILD wesnoth-1.0.2.ebuild 2307 RMD160 4e4ad3645be683c84965e5b45d77ad254ffecdb6 SHA1 3ed850dd7d4a758f14479641ea9596aca2c2044f SHA256 a37ae1f4f1a468916f23f90fcac7ba5136b165b6b719dc864fc5872d3a63e160
MD5 1bdfe2e8017aa701694caae81d6f4d03 wesnoth-1.0.2.ebuild 2307
RMD160 4e4ad3645be683c84965e5b45d77ad254ffecdb6 wesnoth-1.0.2.ebuild 2307
SHA256 a37ae1f4f1a468916f23f90fcac7ba5136b165b6b719dc864fc5872d3a63e160 wesnoth-1.0.2.ebuild 2307
+EBUILD wesnoth-1.2.1.ebuild 2439 RMD160 9fd205f9ede6f14acf32f90a52c616971ea2782b SHA1 615b4bd15cb05e7e0e03a84d3a6834c7cfa212e9 SHA256 549ebb00d24b2bb734723146a084302ee25c4df60bc9047db5b18f4be83de16a
+MD5 83c880d25528f1235586eb7f184d9373 wesnoth-1.2.1.ebuild 2439
+RMD160 9fd205f9ede6f14acf32f90a52c616971ea2782b wesnoth-1.2.1.ebuild 2439
+SHA256 549ebb00d24b2bb734723146a084302ee25c4df60bc9047db5b18f4be83de16a wesnoth-1.2.1.ebuild 2439
EBUILD wesnoth-1.2.ebuild 2437 RMD160 96b13c92f1cd366a70f6d1496ebe53ebe5dd185b SHA1 869ee15097f538e5e81bb852545dac56d9fd4bbd SHA256 9bd99344a11e81ff10f0ffb15fb7e38fd61886f85ec738c162576a6e4f597240
MD5 e1e6de6f7d9b062bd02934fee3a08345 wesnoth-1.2.ebuild 2437
RMD160 96b13c92f1cd366a70f6d1496ebe53ebe5dd185b wesnoth-1.2.ebuild 2437
SHA256 9bd99344a11e81ff10f0ffb15fb7e38fd61886f85ec738c162576a6e4f597240 wesnoth-1.2.ebuild 2437
-MISC ChangeLog 11471 RMD160 1f8029cd206f482ee8235e323d52028ef4b98ecd SHA1 af69d19f55fcc6866f6a65ec4f3981f46297f8f2 SHA256 1de9bbd7b5de0df0c5b3ab189ae1c98ded00eb730b4e7f9eff6c9e6494ea234b
-MD5 5d57406aa8fe2ca8f0505e844bc69563 ChangeLog 11471
-RMD160 1f8029cd206f482ee8235e323d52028ef4b98ecd ChangeLog 11471
-SHA256 1de9bbd7b5de0df0c5b3ab189ae1c98ded00eb730b4e7f9eff6c9e6494ea234b ChangeLog 11471
+MISC ChangeLog 11597 RMD160 76806dbfed8c15b851db4d508be81982ca0d173c SHA1 44f473c454f55d1c1cad73528db10c465eb3101d SHA256 820c401b5afd6d2db750a4698ca8b2595966f3835a36c7d0e3fb2707adae3c7f
+MD5 755b882bf7b0f6071820ecc25321ca40 ChangeLog 11597
+RMD160 76806dbfed8c15b851db4d508be81982ca0d173c ChangeLog 11597
+SHA256 820c401b5afd6d2db750a4698ca8b2595966f3835a36c7d0e3fb2707adae3c7f ChangeLog 11597
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 209c6ee621425806e5cd751e2be72934 files/digest-wesnoth-1.2 241
RMD160 ac865af6d637fb1301cebfc256265bf1a1d40c92 files/digest-wesnoth-1.2 241
SHA256 3e19afc72a35c939bca0c20c090e300ea64f49324b86fcc72798728a36fc6da7 files/digest-wesnoth-1.2 241
+MD5 8c244e5a5391caa3ee57473a2169587d files/digest-wesnoth-1.2.1 247
+RMD160 15d6ccca9ea6e38b244367f2875a6d1e49cb16b7 files/digest-wesnoth-1.2.1 247
+SHA256 b1848cb26862eff65b4b6f9a2505ad458207865bbde98bff2ce5068cde9e6b10 files/digest-wesnoth-1.2.1 247
--- /dev/null
+MD5 685deee0f92807eddb2b448c8997cd01 wesnoth-1.2.1.tar.gz 74936071
+RMD160 50b4bb877fd15867b04ca1c2371ce683cac8e02b wesnoth-1.2.1.tar.gz 74936071
+SHA256 e86fb8b9c49fdb5c50df9c1bb38201747253bc19fdbbb64329e14ec2abe0b191 wesnoth-1.2.1.tar.gz 74936071
--- /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.1.ebuild,v 1.1 2007/01/14 03:41:06 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.gz"
+
+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 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+pkg_setup() {
+ if ! built_with_use -o media-libs/sdl-mixer vorbis oggvorbis ; then
+ die "Please emerge sdl-mixer with USE=vorbis"
+ fi
+ if ! built_with_use media-libs/sdl-image png ; then
+ die "Please emerge sdl-image with USE=png"
+ 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
+}