# ChangeLog for dev-games/guichan
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/ChangeLog,v 1.4 2005/09/10 05:35:37 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/ChangeLog,v 1.5 2006/03/27 19:54:57 tupone Exp $
+
+*guichan-0.4.0-r1 (27 Mar 2006)
+
+ 27 Mar 2006; <Tupone@gentoo.org> +files/guichan-0.4.0-gentoo.patch,
+ +guichan-0.4.0-r1.ebuild:
+ Install sdlpixel.hpp, bug #118880 by Tiago Freire
10 Sep 2005; Mike Frysinger <vapier@gentoo.org> guichan-0.4.0.ebuild:
Remove -Werror hardcode from CXXFLAGS #105340 by Anatoly Kamchatnov.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 f62738b9b8babf2027f12a534a5e1410 guichan-0.4.0.ebuild 1048
-MD5 26cc4a97e8ff2186f47c574adda19135 guichan-0.3.0.ebuild 1008
-MD5 debb9f1df4bfe204bf6acc3c54a24de7 ChangeLog 709
+MD5 b603477adce69b835229110f52741a2c ChangeLog 893
+RMD160 b5f5e59af6263a31693a1e7b1f93d5068e7c0852 ChangeLog 893
+SHA256 f9e614f4226dcc451f1a217803453e651fda417230406e8517cae1bf83e988a4 ChangeLog 893
MD5 3c0547b27978413eda59c736896bb8c4 files/digest-guichan-0.3.0 70
+RMD160 cbc9f53376e8c94e6d9bbf79f0629560637ca370 files/digest-guichan-0.3.0 70
+SHA256 396cfc4c9251cc2f0b790c289674a2f8c3e4bb44bf0907f3d0a1867ab2578b88 files/digest-guichan-0.3.0 70
MD5 7923e36e198280399a16ff5828d7051e files/digest-guichan-0.4.0 70
+RMD160 b6c0751e74ff2033c03ef4ffff641ba204d63f12 files/digest-guichan-0.4.0 70
+SHA256 f662c4f5b4a236f1cc41bba33b7b008e019757521541d2e120244c13c82ffd46 files/digest-guichan-0.4.0 70
+MD5 43833572161c6048e6555eb5f5cfa061 files/digest-guichan-0.4.0-r1 256
+RMD160 459cfa3cbe31630a9c797e8f40bb323cc25743a8 files/digest-guichan-0.4.0-r1 256
+SHA256 610da4926cfebf8e50341d7d2a903a0251aec52ba9a2d17fc023ce75c15dec97 files/digest-guichan-0.4.0-r1 256
+MD5 3d32b2e4d2ae591a2456f6de02fdc50c files/guichan-0.4.0-gentoo.patch 632
+RMD160 cb37c89ba559af8e7ac88fbf6934bc31be56a818 files/guichan-0.4.0-gentoo.patch 632
+SHA256 fb6c854d22bf78652c1b4a17e366550e0080d16dcc0d42f8141773badb8616e6 files/guichan-0.4.0-gentoo.patch 632
+MD5 26cc4a97e8ff2186f47c574adda19135 guichan-0.3.0.ebuild 1008
+RMD160 849e5212cd7396ba10b3cf188b5e61811d61a851 guichan-0.3.0.ebuild 1008
+SHA256 d3053c4ee1d818c07aa9f7a17809256d95aedc85440b131e4af4962587085913 guichan-0.3.0.ebuild 1008
+MD5 c00069bf33d1c79659a2d67ab7b83fd3 guichan-0.4.0-r1.ebuild 1045
+RMD160 37737de1ee87361c1cc2eb900f94b576bfd69189 guichan-0.4.0-r1.ebuild 1045
+SHA256 0b061a935a2e641b0faefda77924b4f5906d9c93e1af99a752b91bb21b4e8188 guichan-0.4.0-r1.ebuild 1045
+MD5 f62738b9b8babf2027f12a534a5e1410 guichan-0.4.0.ebuild 1048
+RMD160 8038476125b4a63d423c4eff5e24413b2f6133b6 guichan-0.4.0.ebuild 1048
+SHA256 2372359232dfd5d2138a1d4ddd78cb0b436b8af247c0e403f59ea96f3874354d guichan-0.4.0.ebuild 1048
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFDInDDgIKl8Uu19MoRAlPGAJ48/whptcuWABpZK5N8hNWKI4+wbgCfROcG
-L1kZJUGJn5bN0BLzrlnZzQA=
-=QOsP
+iD8DBQFEKEMj2CTtIKiFlQIRAiJjAJ9o20HFeCkPuioPFD1TrN2e32z1lgCeJAsm
+1FRWDxoLTY7mZAPmLLfCjIA=
+=O6ID
-----END PGP SIGNATURE-----
--- /dev/null
+--- configure.in.original 2006-03-27 21:41:26.000000000 +0200
++++ configure.in 2006-03-27 21:41:37.000000000 +0200
+@@ -51,7 +51,7 @@
+ AC_PROG_INSTALL
+ AC_HEADER_STDC
+
+-CXXFLAGS="$CXXFLAGS -Wall -Werror -Wno-unused -DGUICHAN_BUILD"
++CXXFLAGS="$CXXFLAGS -Wall -Wno-unused -DGUICHAN_BUILD"
+
+ dnl NoX()
+ dnl {
+--- include/guichan/sdl/Makefile.am.original 2006-03-27 21:40:37.000000000 +0200
++++ include/guichan/sdl/Makefile.am 2006-03-27 21:41:07.000000000 +0200
+@@ -3,4 +3,5 @@
+ libguichaninclude_HEADERS = \
+ sdlgraphics.hpp \
+ sdlimageloader.hpp \
+- sdlinput.hpp
+\ No newline at end of file
++ sdlinput.hpp \
++ sdlpixel.hpp
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/guichan-0.4.0-r1.ebuild,v 1.1 2006/03/27 19:54:57 tupone Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
+HOMEPAGE="http://guichan.sourceforge.net/"
+SRC_URI="mirror://sourceforge/guichan/${P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="sdl opengl allegro"
+
+DEPEND="opengl? ( virtual/opengl )
+ sdl? ( media-libs/libsdl media-libs/sdl-image )
+ allegro? ( media-libs/allegro )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}"-gentoo.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_enable allegro) \
+ $(use_enable sdl) \
+ $(use_enable sdl sdlimage) \
+ $(use_enable opengl) \
+ || die "Configuration failed"
+ emake || die "Build failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "Installation failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}