# ChangeLog for games-emulation/openmsx
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/ChangeLog,v 1.8 2004/09/12 10:06:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/ChangeLog,v 1.9 2004/12/19 15:46:03 chainsaw Exp $
+
+*openmsx-0.5.0 (19 Dec 2004)
+
+ 19 Dec 2004; Tony Vroon <chainsaw@gentoo.org>
+ +files/0.5.0-custom.mk.patch, +openmsx-0.5.0.ebuild:
+ Version bump.
12 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> openmsx-0.4.0.ebuild:
!nomirror
-MD5 94af46c2987588c434678a9121f201e1 ChangeLog 1208
-MD5 7f1f3c0172523729641ba9bc11dcbe55 metadata.xml 248
MD5 21ab36385cf75118ea0d9e5259e1634a openmsx-0.3.4.ebuild 1860
+MD5 5a8a55002a99b61672f535f2cefeedca openmsx-0.5.0.ebuild 1106
+MD5 b9fba4da1bdd2ba3f5037799eebc8bbb ChangeLog 1357
+MD5 7f1f3c0172523729641ba9bc11dcbe55 metadata.xml 248
MD5 b2ddd92edbc173c71a7a26502da80535 openmsx-0.4.0.ebuild 1096
+MD5 7e488066115ef9f2e653d6260cd2499b files/openmsx-0.4.0-custom.mk.patch 377
MD5 04f5dc7ba36939e792262356a7558ac1 files/digest-openmsx-0.3.4 66
MD5 b55f13765241896c1c13a29faba65874 files/digest-openmsx-0.4.0 65
-MD5 7e488066115ef9f2e653d6260cd2499b files/openmsx-0.4.0-custom.mk.patch 377
+MD5 5f206f6c32af63a8f55558da1b088188 files/digest-openmsx-0.5.0 65
MD5 2aa177e70143c6086066c46f58217c69 files/openmsx-0.4.0-symlinking.patch 772
+MD5 6932c30d43b5cd8f2f9590a8459c4b53 files/0.5.0-custom.mk.patch 821
--- /dev/null
+--- openmsx-0.5.0/build/custom.mk.ORIG 2004-12-19 15:14:59.914063504 +0000
++++ openmsx-0.5.0/build/custom.mk 2004-12-19 15:15:18.306267464 +0000
+@@ -6,7 +6,7 @@
+ # openMSX is always installed into a single self-contained directory.
+ # But you can change that directory to for example /usr/local/openMSX
+ # or /usr/games/openMSX if you like.
+-INSTALL_BASE:=/opt/openMSX
++INSTALL_BASE:=/usr/games/openmsx
+
+ # Add ChangeLog version number to executable file name? This applies only to
+ # development versions, not to release versions (see version.mk).
+@@ -15,4 +15,4 @@
+ # Create a symbolic link to the installed binary?
+ # This link is placed in a location that is typically in a user's path:
+ # /usr/local/bin for system-wide installs and ~/bin for personal installs.
+-SYMLINK_FOR_BINARY:=true
++SYMLINK_FOR_BINARY:=false
--- /dev/null
+MD5 4f2d87b26c2ab1a343f9cd14d6843ea5 openmsx-0.5.0.tar.gz 906719
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.5.0.ebuild,v 1.1 2004/12/19 15:46:03 chainsaw Exp $
+
+inherit flag-o-matic eutils games
+
+DESCRIPTION="MSX emulator that aims for perfection"
+HOMEPAGE="http://openmsx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+IUSE=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+DEPEND="dev-lang/tcl
+ dev-libs/libxml2
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/sdl-image
+ media-libs/libsdl
+ virtual/x11
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${PV}-custom.mk.patch"
+}
+
+src_compile() {
+ # fix bug 32745
+ replace-flags -Os -O2
+
+ egamesconf || die
+ emake || die "Fatal error during compilation"
+}
+
+src_install() {
+ egamesinstall \
+ OPENMSX_INSTALL="${D}/usr/games/openmsx" || die
+
+ dogamesbin ${D}/usr/games/openmsx/bin/openmsx
+ dodoc README AUTHORS
+ dohtml -r doc/*
+
+ # Tidy up install
+ rm -f "${D}${GAMES_DATADIR}/openmsx/"*.{txt,tex,html,png,css}
+
+ prepgamesdirs
+}