version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Thu, 28 Dec 2006 18:46:38 +0000 (18:46 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Thu, 28 Dec 2006 18:46:38 +0000 (18:46 +0000)
Package-Manager: portage-2.1.1-r2

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

index 565547c8d200f4156aeeb70fa6a7451924e0c699..a197bc861ea00d7cde6dda50261e0d1e26ec213c 100644 (file)
@@ -1,6 +1,11 @@
 # 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.83 2006/12/16 03:18:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.84 2006/12/28 18:46:38 mr_bones_ Exp $
+
+*wesnoth-1.2 (28 Dec 2006)
+
+  28 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org> +wesnoth-1.2.ebuild:
+  version bump
 
 *wesnoth-1.1.14 (16 Dec 2006)
 
index ff562a8f1d1337ad34fd790d6fcd99ebe30e696f..f16dcb721b1c0d3144b1b950d31c00f402e7f8af 100644 (file)
@@ -4,6 +4,7 @@ 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.1.14.tar.gz 74509051 RMD160 1b9d54d46d4125cbf894587994cb410681fcaad2 SHA1 07ddcf61b4391a8adb66ae68b0c9733100837ff5 SHA256 773250ff7bef0086f471d5b5c0a154ba96473f33c5dd61dd70b4a295d0453643
+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
@@ -12,10 +13,14 @@ EBUILD wesnoth-1.1.14.ebuild 2440 RMD160 8e2489e5badf4ae29aa94e02e421fddc3ea10f5
 MD5 b070714ebe6664cdbac52b123c6802fe wesnoth-1.1.14.ebuild 2440
 RMD160 8e2489e5badf4ae29aa94e02e421fddc3ea10f5b wesnoth-1.1.14.ebuild 2440
 SHA256 7aac1532ca6a43f375a6e9f9c098d2e3b1c18fca9876e2e482d8ece27a985059 wesnoth-1.1.14.ebuild 2440
-MISC ChangeLog 11248 RMD160 6c0d5fb8ef0b7477f9760953063c4c765c459457 SHA1 59f9bfccbc3f8bcfefb78574906e00fd0acac690 SHA256 3601babe85afdccce030cc3be7ffbf35e6b6b5d2cbbc4cc65da1e41bf373d3c7
-MD5 6ee9b58d6b37555d297bc372e2804122 ChangeLog 11248
-RMD160 6c0d5fb8ef0b7477f9760953063c4c765c459457 ChangeLog 11248
-SHA256 3601babe85afdccce030cc3be7ffbf35e6b6b5d2cbbc4cc65da1e41bf373d3c7 ChangeLog 11248
+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 11368 RMD160 07e0c10aefd4acb9c7a314eda06943dbe1c8acd2 SHA1 88785f3365bddb8b907501aed0d93000b296ef79 SHA256 27b1e9ad5cec20b5250004caa0550ebbc36debf8289f3bfbdb363d7c9fd4c97b
+MD5 f2aff15a17d57a66129137f01796e09a ChangeLog 11368
+RMD160 07e0c10aefd4acb9c7a314eda06943dbe1c8acd2 ChangeLog 11368
+SHA256 27b1e9ad5cec20b5250004caa0550ebbc36debf8289f3bfbdb363d7c9fd4c97b ChangeLog 11368
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -26,3 +31,6 @@ SHA256 683d0d569bdc8bc798ebbe4eb86efb8b278fd46fad0e57227a41e823238eb8bb files/di
 MD5 ac091ce11359e94edfc44e3b0c2eb517 files/digest-wesnoth-1.1.14 250
 RMD160 99defe6e3bd41b08657715d07af49a263a92b680 files/digest-wesnoth-1.1.14 250
 SHA256 633d10cb234119499155ed057be39584668f94d9fe06050003b2525ae8e7b585 files/digest-wesnoth-1.1.14 250
+MD5 209c6ee621425806e5cd751e2be72934 files/digest-wesnoth-1.2 241
+RMD160 ac865af6d637fb1301cebfc256265bf1a1d40c92 files/digest-wesnoth-1.2 241
+SHA256 3e19afc72a35c939bca0c20c090e300ea64f49324b86fcc72798728a36fc6da7 files/digest-wesnoth-1.2 241
diff --git a/games-strategy/wesnoth/files/digest-wesnoth-1.2 b/games-strategy/wesnoth/files/digest-wesnoth-1.2
new file mode 100644 (file)
index 0000000..8a471c2
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 722a459282abe6d04dbe228d031c088e wesnoth-1.2.tar.gz 74823113
+RMD160 f5cbe25233158e5667429dbacfd47ee408c82af5 wesnoth-1.2.tar.gz 74823113
+SHA256 220705b4b79ddd73061099f30413c6d1872cb30681a26379709a58ace6c91ec1 wesnoth-1.2.tar.gz 74823113
diff --git a/games-strategy/wesnoth/wesnoth-1.2.ebuild b/games-strategy/wesnoth/wesnoth-1.2.ebuild
new file mode 100644 (file)
index 0000000..af2a94f
--- /dev/null
@@ -0,0 +1,88 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.2.ebuild,v 1.1 2006/12/28 18:46:38 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
+}