# ChangeLog for games-engines/stratagus
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.11 2007/01/12 21:53:05 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.12 2007/01/15 14:09:00 nyhm Exp $
+
+*stratagus-2.2.2 (15 Jan 2007)
+
+ 15 Jan 2007; Tristan Heaven <nyhm@gentoo.org> +stratagus-2.2.2.ebuild:
+ Version bump
12 Jan 2007; Tristan Heaven <nyhm@gentoo.org> stratagus-2.2.1.ebuild:
Fix USE=-opengl linking error
SHA256 2b10d6657949c9b848129f97eaeee374ba6e5dac6644ec2daad6ca5e441570ab files/flac-1.1.3.patch 2332
DIST stratagus-2.1-src.tar.gz 995686 RMD160 f5f97854cad9f17104de34613012fd3aa2efbb9b SHA1 33181d57e018825a450f1e8c0ec31b0887cbd39c SHA256 1a5fb943ebc9422a18d165ba57deeae406d3d5e2cba171dfe15608732a22326b
DIST stratagus-2.2.1-src.tar.gz 931163 RMD160 13666296e1846243c2cd38d0c49544f138bbbbcf SHA1 8442756ef237a0d8cfd47bd7e6551f2c2d54aaf1 SHA256 ec53f47c3e26fc86fa76e1952b58971c9a8acf6ef6af836a8b946f432526a4a6
+DIST stratagus-2.2.2-src.tar.gz 931693 RMD160 75bf6c4e2d7e3082172658087266f7730ff07420 SHA1 e5ae1475278fc007c196c2d10f61295bf50aafac SHA256 b01417a32358a4f234d2d093fff932e3dd526c1bdba1bf0b95fb6aed52e1c9be
EBUILD stratagus-2.1.ebuild 1488 RMD160 3c7594e437e222bfb3f90524ac036f7427752cc4 SHA1 ace4ab4e79e9bac3d76f4ef8863d9c9c82baf0ba SHA256 3d8c0000934141247ae5b8ac48b92d4ca20560cbdb8aaa0ca01132f8a8383ac9
MD5 3cd7fdf5ebb09b5ef4d4565586ca99c7 stratagus-2.1.ebuild 1488
RMD160 3c7594e437e222bfb3f90524ac036f7427752cc4 stratagus-2.1.ebuild 1488
MD5 c70c0fec22399f4654404674d9479c26 stratagus-2.2.1.ebuild 1387
RMD160 2f4c93420595351c818946f52a2ee1bf9329734f stratagus-2.2.1.ebuild 1387
SHA256 8a0cfe932dbfcc91a4fc51e4791fca75e4a759daba3042958fbd0eea330adfab stratagus-2.2.1.ebuild 1387
-MISC ChangeLog 1637 RMD160 bc6eb69c6f22d42ac2314d8781ebe04c85a5211f SHA1 ccc8884301fe0fe5edad79e1c6b2a85ac68702d1 SHA256 71a1fcf3b1f9fdd3d2bbe77f0d1beef0e9affc739fc597593dc932f96a581328
-MD5 09072ccf62e9fc2edf273f73eb337990 ChangeLog 1637
-RMD160 bc6eb69c6f22d42ac2314d8781ebe04c85a5211f ChangeLog 1637
-SHA256 71a1fcf3b1f9fdd3d2bbe77f0d1beef0e9affc739fc597593dc932f96a581328 ChangeLog 1637
+EBUILD stratagus-2.2.2.ebuild 1387 RMD160 326d3f6ceb1ccd6730aea5d2a8d121e1b0aaf3b0 SHA1 45c4d8cb059598e422383f9ee073d96097669b59 SHA256 cc59c4a3846ff5cdf3de41e743f390629cfad30a9f3af6721c0fdf532a1f5e11
+MD5 93101863d07edff93b0ad7b36950cf1a stratagus-2.2.2.ebuild 1387
+RMD160 326d3f6ceb1ccd6730aea5d2a8d121e1b0aaf3b0 stratagus-2.2.2.ebuild 1387
+SHA256 cc59c4a3846ff5cdf3de41e743f390629cfad30a9f3af6721c0fdf532a1f5e11 stratagus-2.2.2.ebuild 1387
+MISC ChangeLog 1758 RMD160 f8f1cfcfbcaa2554a477d4e7ca009dd27594be89 SHA1 3eca348fc9413f25678bb65efa7cb587048f8f39 SHA256 bdf6720132952b3355d8b1a41201a903b892df851ccd8668142ab3d982b14c92
+MD5 5ca2779f37a88cb36bdb48edef913320 ChangeLog 1758
+RMD160 f8f1cfcfbcaa2554a477d4e7ca009dd27594be89 ChangeLog 1758
+SHA256 bdf6720132952b3355d8b1a41201a903b892df851ccd8668142ab3d982b14c92 ChangeLog 1758
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 95568f1a3ce4e181a957077d91409d89 files/digest-stratagus-2.2.1 259
RMD160 4152e798d137dcdee9486d4015604eb92ec7d378 files/digest-stratagus-2.2.1 259
SHA256 b723040c1302690d5b171dfcced890f133a5aaab62a3e4234d47fefacde9a712 files/digest-stratagus-2.2.1 259
+MD5 2b96508e7b92e3f40dc61e742cfd1592 files/digest-stratagus-2.2.2 259
+RMD160 d939ad9b9fe9fa2ba2b0de8563fa3b1cf73e0416 files/digest-stratagus-2.2.2 259
+SHA256 df94bb9aa699c26c45c2f3f1ba236d0b345977064f396009475b4386f0871e1f files/digest-stratagus-2.2.2 259
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFqANHdz7hIScOURERAlcgAJ4zVKeyJNnuPD4gJck6Y0GDOrMQaQCg83A0
-XYkL1sZemaRfsCPqRUymkxU=
-=IhPY
+iD8DBQFFq4sDdz7hIScOURERAvlmAKC6ie35FROO49AzHewnfAH05iRd8wCeKiYF
+R53QFdRyx6Z6xYVGdivkwYI=
+=5vss
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.2.2.ebuild,v 1.1 2007/01/15 14:09:00 nyhm Exp $
+
+inherit games
+
+DESCRIPTION="A realtime strategy game engine"
+HOMEPAGE="http://www.stratagus.org/"
+SRC_URI="mirror://sourceforge/stratagus/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="bzip2 debug doc mikmod mng opengl theora vorbis"
+
+RDEPEND="x11-libs/libX11
+ >=dev-lang/lua-5
+ media-libs/libpng
+ media-libs/libsdl
+ mikmod? ( media-libs/libmikmod )
+ mng? ( media-libs/libmng )
+ opengl? ( virtual/opengl )
+ theora? ( media-libs/libtheora )
+ vorbis? ( media-libs/libvorbis )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/SDLCONFIG --libs/s:"$: -lX11":' \
+ -e 's/-O.*\(-fsigned-char\).*/\1"/' \
+ configure \
+ || die "sed failed"
+}
+
+src_compile() {
+ econf \
+ $(use_enable debug) \
+ $(use_with bzip2) \
+ $(use_with mikmod) \
+ $(use_with mng) \
+ $(use_with opengl) \
+ $(use_with theora) \
+ $(use_with vorbis) \
+ || die
+ emake -j1 || die "emake failed"
+
+ if use doc ; then
+ emake doc || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ dogamesbin stratagus || die "dogamesbin failed"
+ dodoc README
+ dohtml -r doc/*
+ use doc && dohtml -r srcdoc/html/*
+ prepgamesdirs
+}