summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2004-06-12 20:13:55 +0000
committerTony Vroon <chainsaw@gentoo.org>2004-06-12 20:13:55 +0000
commitd638b577cbe481ea2485af95c4357f016342791b (patch)
treeeb5d0d985d9760e9f143e366ddcb0ec2c4f1470f /games-emulation/openmsx
parentFix previous commit. (diff)
downloadhistorical-d638b577cbe481ea2485af95c4357f016342791b.tar.gz
historical-d638b577cbe481ea2485af95c4357f016342791b.tar.bz2
historical-d638b577cbe481ea2485af95c4357f016342791b.zip
Version bump to 0.4.0, with two patches to control the new build system.
Diffstat (limited to 'games-emulation/openmsx')
-rw-r--r--games-emulation/openmsx/ChangeLog9
-rw-r--r--games-emulation/openmsx/Manifest8
-rw-r--r--games-emulation/openmsx/files/digest-openmsx-0.4.01
-rw-r--r--games-emulation/openmsx/files/openmsx-0.4.0-custom.mk.patch9
-rw-r--r--games-emulation/openmsx/files/openmsx-0.4.0-symlinking.patch17
-rw-r--r--games-emulation/openmsx/metadata.xml4
-rw-r--r--games-emulation/openmsx/openmsx-0.4.0.ebuild53
7 files changed, 98 insertions, 3 deletions
diff --git a/games-emulation/openmsx/ChangeLog b/games-emulation/openmsx/ChangeLog
index e0bb59a538a1..55e9a83de479 100644
--- a/games-emulation/openmsx/ChangeLog
+++ b/games-emulation/openmsx/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-emulation/openmsx
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/ChangeLog,v 1.4 2004/03/01 14:33:12 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/ChangeLog,v 1.5 2004/06/12 20:13:55 chainsaw Exp $
+
+*openmsx-0.4.0 (12 Jun 2004)
+
+ 12 Jun 2004; Tony Vroon <chainsaw@gentoo.org>
+ +files/openmsx-0.4.0-custom.mk.patch, +files/openmsx-0.4.0-symlinking.patch,
+ +openmsx-0.4.0.ebuild:
+ Version bumped. New build system, and compatible with the catapult launcher.
01 Mar 2004; David Holm <dholm@gentoo.org> openmsx-0.3.4.ebuild:
Added to ~ppc.
diff --git a/games-emulation/openmsx/Manifest b/games-emulation/openmsx/Manifest
index 37441af873bf..93184190b4ff 100644
--- a/games-emulation/openmsx/Manifest
+++ b/games-emulation/openmsx/Manifest
@@ -1,4 +1,8 @@
MD5 59b057f094440f9e02e7654077c41c0d openmsx-0.3.4.ebuild 1870
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 10df7f7753290a552b8d80770aac33f2 ChangeLog 753
+MD5 51d62681a9d64bd2000f3aea17d191a1 ChangeLog 1017
+MD5 7f1f3c0172523729641ba9bc11dcbe55 metadata.xml 248
+MD5 32105eb1f3d32374c6123081d249ff84 openmsx-0.4.0.ebuild 1211
+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 2aa177e70143c6086066c46f58217c69 files/openmsx-0.4.0-symlinking.patch 772
diff --git a/games-emulation/openmsx/files/digest-openmsx-0.4.0 b/games-emulation/openmsx/files/digest-openmsx-0.4.0
new file mode 100644
index 000000000000..85989a5f28b5
--- /dev/null
+++ b/games-emulation/openmsx/files/digest-openmsx-0.4.0
@@ -0,0 +1 @@
+MD5 dca160f30e28ad8d314fa0a6eef77fcd openmsx-0.4.0.tar.gz 853981
diff --git a/games-emulation/openmsx/files/openmsx-0.4.0-custom.mk.patch b/games-emulation/openmsx/files/openmsx-0.4.0-custom.mk.patch
new file mode 100644
index 000000000000..d4623b88a8a8
--- /dev/null
+++ b/games-emulation/openmsx/files/openmsx-0.4.0-custom.mk.patch
@@ -0,0 +1,9 @@
+--- build/custom.mk.orig 2004-06-12 14:09:54.480751992 +0100
++++ build/custom.mk 2004-06-12 14:10:07.797727504 +0100
+@@ -6,5 +6,5 @@
+ # 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
+
diff --git a/games-emulation/openmsx/files/openmsx-0.4.0-symlinking.patch b/games-emulation/openmsx/files/openmsx-0.4.0-symlinking.patch
new file mode 100644
index 000000000000..30a2e9823d0f
--- /dev/null
+++ b/games-emulation/openmsx/files/openmsx-0.4.0-symlinking.patch
@@ -0,0 +1,17 @@
+--- build/main.mk.orig 2004-06-12 13:50:28.076072456 +0100
++++ build/main.mk 2004-06-12 13:52:29.438622544 +0100
+@@ -465,12 +465,8 @@
+ @ln -nsf Philips_NMS_8250 $(OPENMSX_INSTALL)/share/machines/msx2
+ @ln -nsf Panasonic_FS-A1FX $(OPENMSX_INSTALL)/share/machines/msx2plus
+ @ln -nsf Panasonic_FS-A1GT $(OPENMSX_INSTALL)/share/machines/turbor
+- @if [ -d /usr/local/bin -a -w /usr/local/bin ]; \
+- then ln -sf $(OPENMSX_INSTALL)/bin/$(BINARY_FILE) /usr/local/bin/openmsx; \
+- else if [ -d ~/bin ]; \
+- then ln -sf $(OPENMSX_INSTALL)/bin/$(BINARY_FILE) ~/bin/openmsx; \
+- fi; \
+- fi
++ @mkdir -p ${D}/usr/games/bin
++ @ln -sf $(OPENMSX_INSTALL)/bin/$(BINARY_FILE) ${D}/usr/games/bin/openmsx
+ endif
+ @echo " Setting permissions..."
+ @chmod -R a+rX $(OPENMSX_INSTALL)
diff --git a/games-emulation/openmsx/metadata.xml b/games-emulation/openmsx/metadata.xml
index d3c2cc926f0b..3e83b633049c 100644
--- a/games-emulation/openmsx/metadata.xml
+++ b/games-emulation/openmsx/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+</maintainer>
</pkgmetadata>
diff --git a/games-emulation/openmsx/openmsx-0.4.0.ebuild b/games-emulation/openmsx/openmsx-0.4.0.ebuild
new file mode 100644
index 000000000000..01fe40abafe2
--- /dev/null
+++ b/games-emulation/openmsx/openmsx-0.4.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.4.0.ebuild,v 1.1 2004/06/12 20:13:55 chainsaw Exp $
+
+inherit games flag-o-matic
+
+DESCRIPTION="MSX emulator that aims for perfection"
+HOMEPAGE="http://openmsx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+RDEPEND="dev-lang/tcl
+ dev-libs/libxml2
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/sdl-image
+ media-libs/libsdl
+ virtual/x11
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-custom.mk.patch
+ epatch ${FILESDIR}/${P}-symlinking.patch
+}
+
+src_compile() {
+ # fix bug 32745
+ replace-flags -Os -O2
+ egamesconf || die "Fatal error in configure script"
+ emake || die "Fatal error during compilation"
+}
+
+src_install() {
+ egamesinstall OPENMSX_INSTALL="${D}/usr/games/openmsx" || die "Fatal error during installation"
+
+ dodoc README AUTHORS
+ dohtml -r doc/*
+
+ # Tidy up install
+ rm -f ${D}${GAMES_DATADIR}/openmsx/*.{txt,tex,html,png,css}
+
+ prepgamesdirs
+}