version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Mon, 16 Apr 2007 04:57:17 +0000 (04:57 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Mon, 16 Apr 2007 04:57:17 +0000 (04:57 +0000)
Package-Manager: portage-2.1.2.2

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

index 56c354997b0a485dcb6e775db7c42b62e44d0442..b62dd07222a0605cb4cfe43b3937e2cc6830d6c7 100644 (file)
@@ -1,6 +1,12 @@
 # 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.90 2007/03/16 17:46:28 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.91 2007/04/16 04:57:17 mr_bones_ Exp $
+
+*wesnoth-1.2.4 (16 Apr 2007)
+
+  16 Apr 2007; Michael Sterrett <mr_bones_@gentoo.org>
+  +wesnoth-1.2.4.ebuild:
+  version bump
 
 *wesnoth-1.2.3 (16 Mar 2007)
 
index c997190d3181c7d336865a5b3b39ad94d15ae855..66a9d4ccba5b0b8cb2e250f438f2848f590ce5a4 100644 (file)
@@ -3,14 +3,19 @@ MD5 2238ca275d6ab646096d612c46b1eb05 files/wesnothd.rc 619
 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 files/wesnothd.rc 619
 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065 files/wesnothd.rc 619
 DIST wesnoth-1.2.3.tar.bz2 68108143 RMD160 6d7d4b3bdc426bb0d24fc060e7e56c78dfeadc7d SHA1 707645fbfec9477aa73d1119b021725a3ec32faf SHA256 5eacabc354bee8e5c29dd78b42c28ed20fe67e39facbeab699fc4aa73914883c
+DIST wesnoth-1.2.4.tar.bz2 68604047 RMD160 a5164efb8918e1f9d06dc868af1a86d294cb82bb SHA1 46eb0b875084657d200d46e0cac198079236d21f SHA256 f87e0716f93da56b4c918a0150e865ed310848d7dc4f893e7fe6bd378f616163
 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
+EBUILD wesnoth-1.2.4.ebuild 2786 RMD160 3aacfa1d8f75a42e21a75e95b58c39e60e3e5cfd SHA1 ad9c2389cf23a51f82bd9c4db83121d34b749cd4 SHA256 f917bada107f58d74b2935026d19354a0d9bd35ac3cc7075a6fba7e0cd557536
+MD5 270fd6cef4537db2eb51d08baf5f151d wesnoth-1.2.4.ebuild 2786
+RMD160 3aacfa1d8f75a42e21a75e95b58c39e60e3e5cfd wesnoth-1.2.4.ebuild 2786
+SHA256 f917bada107f58d74b2935026d19354a0d9bd35ac3cc7075a6fba7e0cd557536 wesnoth-1.2.4.ebuild 2786
+MISC ChangeLog 12299 RMD160 0be9ead6ef1ae6508d371ffb4985ba4db00f5799 SHA1 25c8583e5f2f3b6144da52b5203a3091d75ad0d1 SHA256 be7b6e740243ea0bb78aaf7a57b5a0b868c337d5e8514faabaeb10f5c9f33605
+MD5 28fdf9eb91cec05a055b567fa4b2938c ChangeLog 12299
+RMD160 0be9ead6ef1ae6508d371ffb4985ba4db00f5799 ChangeLog 12299
+SHA256 be7b6e740243ea0bb78aaf7a57b5a0b868c337d5e8514faabaeb10f5c9f33605 ChangeLog 12299
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -18,3 +23,6 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 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
+MD5 045744c5e3836e0362e48009f8625c49 files/digest-wesnoth-1.2.4 250
+RMD160 7870b4d6893b08e3aebd0f7af29ccea66ae4001d files/digest-wesnoth-1.2.4 250
+SHA256 3b7896a987e72375db235d77ecfc4a7bf04bc19b2a6ff0b05a35bf54f55d1891 files/digest-wesnoth-1.2.4 250
diff --git a/games-strategy/wesnoth/files/digest-wesnoth-1.2.4 b/games-strategy/wesnoth/files/digest-wesnoth-1.2.4
new file mode 100644 (file)
index 0000000..77d0306
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e24c9adb2fa6cc25759a0a1baf0585e8 wesnoth-1.2.4.tar.bz2 68604047
+RMD160 a5164efb8918e1f9d06dc868af1a86d294cb82bb wesnoth-1.2.4.tar.bz2 68604047
+SHA256 f87e0716f93da56b4c918a0150e865ed310848d7dc4f893e7fe6bd378f616163 wesnoth-1.2.4.tar.bz2 68604047
diff --git a/games-strategy/wesnoth/wesnoth-1.2.4.ebuild b/games-strategy/wesnoth/wesnoth-1.2.4.ebuild
new file mode 100644 (file)
index 0000000..4c6ad6d
--- /dev/null
@@ -0,0 +1,96 @@
+# 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.4.ebuild,v 1.1 2007/04/16 04:57:17 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
+}