summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-10-18 11:39:45 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-10-18 11:39:45 +0000
commitdaeaa4780a571b48f0638b66dfc1bc0e8e216822 (patch)
tree936a79a9fe47970287b559f4c49751fd22143227
parentTreeclean per package.mask (abandoned upstream), no bug. (diff)
downloadhistorical-daeaa4780a571b48f0638b66dfc1bc0e8e216822.tar.gz
historical-daeaa4780a571b48f0638b66dfc1bc0e8e216822.tar.bz2
historical-daeaa4780a571b48f0638b66dfc1bc0e8e216822.zip
Treeclean per package.mask (development moved to sdlmame), no bug.
-rw-r--r--games-emulation/xmame/ChangeLog398
-rw-r--r--games-emulation/xmame/Manifest4
-rw-r--r--games-emulation/xmame/metadata.xml34
-rw-r--r--games-emulation/xmame/xmame-0.106.ebuild231
4 files changed, 0 insertions, 667 deletions
diff --git a/games-emulation/xmame/ChangeLog b/games-emulation/xmame/ChangeLog
deleted file mode 100644
index 3275549ad7a3..000000000000
--- a/games-emulation/xmame/ChangeLog
+++ /dev/null
@@ -1,398 +0,0 @@
-# ChangeLog for games-emulation/xmame
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/ChangeLog,v 1.74 2009/11/10 21:10:27 ssuominen Exp $
-
- 10 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> xmame-0.106.ebuild:
- Remove USE arts (deprecated).
-
- 25 May 2009; Tristan Heaven <nyhm@gentoo.org> xmame-0.106.ebuild:
- Always use system expat, bug #251107
-
- 30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.106.ebuild:
- not parallel build safe
-
- 12 Mar 2007; Marius Mauch <genone@gentoo.org> xmame-0.106.ebuild:
- Replacing einfo with elog
-
- 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> xmame-0.106.ebuild:
- Change all instances of [ to [[.
-
- 01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> xmame-0.106.ebuild:
- Removing old virtual/x11 dependency.
-
- 08 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> xmame-0.106.ebuild:
- Stable on amd64.
-
-*xmame-0.106 (01 Jun 2006)
-
- 01 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.106.ebuild:
- version bump
-
-*xmame-0.105 (17 Apr 2006)
-
- 17 Apr 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.105.ebuild:
- version bump
-
- 26 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.104.ebuild:
- check for existence of utilities before installing them (bug #127601)
-
- 24 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> xmame-0.83.1.ebuild,
- -xmame-0.103.ebuild:
- Clean up older ebuilds and port 0.83.1 to modular X.
-
- 23 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.104.ebuild:
- sync with xmess ebuild
-
-*xmame-0.104 (22 Feb 2006)
-
- 22 Feb 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.104.ebuild:
- version bump
-
- 29 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org>
- -files/xmame-0.99-mcr3.patch, -files/xmame-0.101-keyboard.patch,
- -xmame-0.99-r1.ebuild, -xmame-0.100.ebuild, -xmame-0.101.ebuild,
- -xmame-0.102.ebuild:
- clean old ebuilds/patches
-
- 29 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.103.ebuild:
- modular X deps from xmess
-
- 25 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.103.ebuild:
- remove more hard-coded CFLAGS (bug #119953)
-
-*xmame-0.103 (18 Jan 2006)
-
- 18 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.103.ebuild:
- version bump
-
-*xmame-0.102 (27 Nov 2005)
-
- 27 Nov 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.102.ebuild:
- version bump
-
- 20 Nov 2005; Mike Frysinger <vapier@gentoo.org> xmame-0.101.ebuild:
- Add support for USE=xinerama #113029 by Avuton Olrich.
-
- 28 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org>
- +files/xmess-0.101-keyboard.patch, xmess-0.101.ebuild:
- Add upstream patch to fix possible keyboard handling issues (bug #110671)
-
-*xmame-0.101 (23 Oct 2005)
-
- 23 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.101.ebuild:
- version bump
-
-*xmame-0.100 (25 Sep 2005)
-
- 25 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.100.ebuild:
- version bump
-
- 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> xmame-0.99-r1.ebuild:
- Mark 0.99-r1 stable on alpha
-
- 02 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> xmame-0.99-r1.ebuild:
- Stable on sparc
-
- 25 Aug 2005; Aron Griffis <agriffis@gentoo.org> xmame-0.99-r1.ebuild:
- stable on ia64
-
-*xmame-0.99-r1 (18 Aug 2005)
-
- 18 Aug 2005; Mike Frysinger <vapier@gentoo.org>
- +files/xmame-0.99-mcr3.patch, +xmame-0.99-r1.ebuild:
- Add patch from upstream to fix a coredump in some games #102987 by Avuton
- Olrich.
-
-*xmame-0.99 (16 Aug 2005)
-
- 16 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.99.ebuild:
- version bump
-
- 05 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org> -xmame-0.96.ebuild,
- xmame-0.97.ebuild:
- Turn on xinput support if use X and use joystick (bug #101286) with patch
- from Erik Hovland; clean old version
-
-*xmame-0.97 (15 Jun 2005)
-
- 15 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.97.ebuild:
- version bump
-
- 30 May 2005; Sven Wegener <swegener@gentoo.org> xmame-0.83.1.ebuild:
- Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745.
-
- 27 May 2005; Joseph Jezak <josejx@gentoo.org> xmame-0.96.ebuild:
- Marked ppc stable.
-
- 17 May 2005; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.96.ebuild:
- stable for x86
-
- 12 May 2005; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.96.ebuild:
- LICENSE change (bug #92336)
-
-*xmame-0.96 (12 May 2005)
-
- 12 May 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.96.ebuild:
- version bump
-
- 01 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.95.ebuild:
- add lirc support (bug #87501); tidy
-
-*xmame-0.95 (30 Mar 2005)
-
- 30 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org>
- -files/0.82.1-glx-fix.patch, -xmame-0.82.1.ebuild, -xmame-0.90.ebuild,
- -xmame-0.92.ebuild, +xmame-0.95.ebuild:
- version bump; clean older ebuilds
-
-*xmame-0.94 (16 Mar 2005)
-
- 16 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.94.ebuild:
- version bump
-
-*xmame-0.92 (25 Feb 2005)
-
- 25 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.92.ebuild:
- version bump
-
- 12 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.90.ebuild:
- Don't try to install setuid (bug #81693)
-
- 12 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> -xmame-0.86.ebuild,
- -xmame-0.88.ebuild, -xmame-0.89.ebuild:
- clean old versions
-
-*xmame-0.90 (24 Jan 2005)
-
- 24 Jan 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.90.ebuild:
- version bump (bug #78633); removed hard-coded CFLAGS (bug #79008)
-
-*xmame-0.89 (06 Dec 2004)
-
- 06 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.89.ebuild:
- version bump
-
- 30 Nov 2004; Sven Wegener <swegener@gentoo.org> xmame-0.88.ebuild:
- Added missing ? after USE flag in dependency.
-
- 17 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.88.ebuild:
- still disable ggi (bug #71574)
-
-*xmame-0.88 (16 Nov 2004)
-
- 16 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> +xmame-0.88.ebuild:
- version bump
-
- 02 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.86.ebuild:
- Install chdman and xml2info in GAMES_LIBDIR
-
- 02 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.86.ebuild:
- turn on joystick support always for libsdl; should fix bug #62620
- (Works around a bug in the 0.86 release)
-
-*xmame-0.86 (30 Aug 2004)
-
- 30 Aug 2004; Mike Frysinger <vapier@gentoo.org> +files/0.86-glx-fix.patch,
- +xmame-0.86.ebuild:
- Version bump #61778.
-
- 15 Aug 2004; Michael Hanselmann <hansmi@gentoo.org> xmame-0.83.1.ebuild:
- Fixed a link-error on PowerPC. Bug #49261. Thanks to Dustin Byford
- <dustin@firein.net> for submitting the patch.
-
- 18 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.83.1.ebuild:
- amd64 compile fix for bug #54270 - thanks to Andrew Williams
-
-*xmame-0.83.1 (15 Jun 2004)
-
- 15 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.83.1.ebuild,
- files/0.83.1-glx-fix.patch:
- version bump (bug #53789)
-
-*xmame-0.82.1 (06 Jun 2004)
-
- 06 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.82.1.ebuild:
- version bump
-
- 06 Jun 2004; Aron Griffis <agriffis@gentoo.org> xmame-0.78.1.ebuild,
- xmame-0.79.1.ebuild, xmame-0.80.1.ebuild, xmame-0.81.1.ebuild:
- Fix use invocation
-
- 20 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.81.1.ebuild,
- files/0.81.1-glx-fix.patch:
- update glx-fix.patch for 0.81.1 (bug #48470)
-
-*xmame-0.81.1 (19 Apr 2004)
-
- 19 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.81.1.ebuild:
- version bump
-
-*xmame-0.80.1 (19 Mar 2004)
-
- 19 Mar 2004; David Holm <dholm@gentoo.org> xmame-0.80.1.ebuild,
- files/0.80.1-glx-fix.patch, files/0.80.1-make.patch:
- Version bump, including patch to enable building using multiple jobs.
-
- 22 Feb 2004; David Holm <dholm@gentoo.org> xmame-0.79.1.ebuild,
- files/0.79.1-glx-fix.patch:
- Added some bugfixes from bug #42268. Added to ~x86, ~amd64 and ~ia64.
-
-*xmame-0.79.1 (21 Feb 2004)
-
- 21 Feb 2004; David Holm <dholm@gentoo.org> xmame-0.79.1.ebuild:
- Version bump. Tested on big-endian.
-
- 15 Feb 2004; David Holm <dholm@gentoo.org> xmame-0.78.1.ebuild,
- files/0.78.1-big_endian.patch:
- Added big-endian fix from Maciej J. Woloszyk, closing bug #40327.
-
-*xmame-0.78.1 (14 Jan 2004)
-
- 14 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bump #38177 by Starz McCllelan.
-
-*xmame-0.77.1 (30 Nov 2003)
-
- 31 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
- Add patch to fix icc compilation #35607.
- Increase number of available joybuttons from 16 to 32 #36818.
- Add a local USE flag, net, to control network support #34802.
-
- 12 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
- Add patch to work with alsa-1.0.0 #35108.
-
- 30 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump #33889.
-
-*xmame-0.76.1 (25 Oct 2003)
-
- 13 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.76.1.ebuild:
- xmame Makefiles don't like parallel make. use -j1 to compile.
-
- 03 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.76.1.ebuild:
- replace the arch if/then thing with a case statement; added support for ia64
- and amd64 for bug 32628
-
- 31 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.76.1.ebuild:
- add icc USE support (bug 31769); DEPEND on sed >= 4 for -i; add more error
- checking and error messages
-
- 25 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump #Bug 31992.
-
-*xmame-0.74.1-r1 (22 Sep 2003)
-
- 22 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
- Make sure the controllers are installed #29297.
-
-*xmame-0.74.1 (18 Sep 2003)
-
- 18 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump #28878.
-
-*xmame-0.72.1 (17 Aug 2003)
-
- 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump #26763 + remove mips patch.
-
-*xmame-0.71.1 (16 Aug 2003)
-
- 16 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump #24986 + mips patch.
-
-*xmame-0.70.1 (11 Jul 2003)
-
- 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Add glx patch #24383.
-
- 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump + major rehaul of code. Thanks to Caleb Shay <caleb@webninja.com> for
- his ideas/submissions.
-
-*xmame-0.69.1 (05 Jun 2003)
-
- 05 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
- Version bump.
-
-*xmame-0.67.2 (28 Apr 2003)
-
- 28 Apr 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump.
-
-*xmame-0.62.2-r1 (28 Apr 2003)
-
- 29 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
- Added missing changelog entry.
-
-*xmame-0.62.2 (13 Jan 2003)
-
- 13 Jan 2003; Ryan Phillips <rphillips@gentoo.org> xmame-0.62.2.ebuild :
- Submitted by Caleb Shay
-
-*xmame-0.62.1_rc2 (27 Dec 2002)
-
- 27 Dec 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.62.1_rc2.ebuild :
- version bump. Submitted by Kfir Ozer. Fixes #11927
-
-*xmame-0.61.1_pre1 (31 Oct 2002)
-
- 31 Oct 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.61.1_pre1.ebuild :
- Version bump.. Submitted by Caleb Shay. Fixes #8904
-
-*xmame-0.60.1-r4 (17 Aug 2002)
-
- 14 Aug 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.60.1-r4.ebuild :
- thanks to Caleb Shay. Fixes #8904
-
-*xmame-0.60.1-r3 (7 Aug 2002)
-
- 7 Aug 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.60.1-r3.ebuild :
- Included sed for use var 'opengl'
-
-*xmame-0.60.1-r2 (13 June 2002)
-
- 23 Jul 2002; Ryan Phillips <rphillips@gentoo.org> :
- on x86 platforms -O3 doesn't compile. I included a sed statement
- to replace -O3 with -O2.
-
- 15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
- Added KEYWORDS.
-
- 13 June 2002; David Chamberlain <daybird@gentoo.org> xmame-0.60.1-r2.ebuild
- This ebuild provides ppc fixes to makefile
-
-*xmame-0.60.1-r1 (7 Jun 2002)
-
- 7 Jun 2002; J. Perrot <blackmore@gentoo.org> xmame-0.60.1-r1.ebuild :
- Check the presence of "dga" in the USE variable and do the
- appropriate sed substitution
-
-*xmame-0.60.1 (27 May 2002)
-
- 27 May 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.60.1.ebuild :
- Updated version and fixes to the xmame symlink. #2958
-
-*xmame-0.59.1 (28 Mar 2002)
-
- 28 Mar 2002; Geert Bevin <gbevin@gentoo.org> xmame-0.59.1.ebuild
- files/digest-xmame-0.59.1 :
- Version upgrade
-
-*xmame-0.56.1 (3 Feb 2002)
-
- 3 Feb 2002; T.Neidt <tneidt@gentoo.org> ChangeLog :
- Moved to app-emulation/xmame with the other emulators (Bug 421)
-
-*xmame-0.55.2 (3 Feb 2002)
-
- 3 Feb 2002; T.Neidt <tneidt@gentoo.org> ChangeLog :
- Moved to app-emulation/xmame with the other emulators (Bug 421)
-
-*xmame-0.56.1 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/games-emulation/xmame/Manifest b/games-emulation/xmame/Manifest
deleted file mode 100644
index 4a635c49cb36..000000000000
--- a/games-emulation/xmame/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST xmame-0.106.tar.bz2 17117298 RMD160 eab4fa232d59fce5b2216f942f8bc58a992f8d26 SHA1 7ae50f869067e101e053ca18e6f788297fcad9e2 SHA256 a385d86adebc2eb53b560bb522cf569569a74c4104605a8e7d61f1caa0f5e4df
-EBUILD xmame-0.106.ebuild 6237 RMD160 586c6777a50e8129332fd8b268210935b5f003c9 SHA1 041fa1b66aa5747eb07eae6df8f56f13762f2abb SHA256 470cf27c8b27d94d1978491ae288160edacecf41e4f7d80e68fe335318ffbeb4
-MISC ChangeLog 12769 RMD160 70f1317b60ab8244e091242a8b15bba9e4143a21 SHA1 70b2193f520aa4a4551b97b204833be9e991764e SHA256 9baf8a6221a397a411a367c8730ee02b23972cf03a185a38368c5c64661e189b
-MISC metadata.xml 1545 RMD160 02d368dab680d4d857b78cd9f7d49956dd69c19b SHA1 0c81127c7bc6f036a71b5fadff0179bf09d4f9c3 SHA256 026ea67365d6cceb2f152020347543b64054067498723fb6e545afbd392dc02d
diff --git a/games-emulation/xmame/metadata.xml b/games-emulation/xmame/metadata.xml
deleted file mode 100644
index be56da277331..000000000000
--- a/games-emulation/xmame/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>games</herd>
- <longdescription>
-Mame is an arcade machine emulator. Started in 1997 by Nicola Salmoria, mame started out as a
-series of emulators for individual games. This series of emulators was combined into a simgle
-multi-game emulator. This is the current form of mame; no longer a one-man show, there are over 100
-contributors to the project.
-
-Mame was created by Nicola Salmoria.
-
-Mess is just like mame---a virtual machine emulator, only it doesn't emulate arcade machines but
-rather computers and consoles.
-
-Xmame/xmess are the Unix/X11 ports of the mame and mess projects. It makes mame/mess available on
-*ix machines using the X11R6 X-Window System (and SVGAlib/ggi/XF86-DGA/OpenGL/SDL too).
-
-Mame was orginally ported by Allard Van Der Bas, Dick the Ridder, Juan Antonio Martinez, and Hans
-de Goede.
-
-Xmame/xmess is currently maintained by Lawrence Gold.
-
-Xmame/xmess is based on the mame/mess source code. Due to technical reasons beyond the scope of
-this document, the mame/mess source may not compile under Unix. That's why the xmame/xmess project
-exists. Each time mame/mess is updated, the code is tested (and patched if needed) under Unix. This
-way xmame/xmess releases are always the same as their mame counterparts.
-
-There are no plans for the independent development of xmame/xmess.
-</longdescription>
- <use>
- <flag name="net">Add network support</flag>
- </use>
-</pkgmetadata>
diff --git a/games-emulation/xmame/xmame-0.106.ebuild b/games-emulation/xmame/xmame-0.106.ebuild
deleted file mode 100644
index 1fdf64412bb2..000000000000
--- a/games-emulation/xmame/xmame-0.106.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.106.ebuild,v 1.11 2009/11/10 21:10:27 ssuominen Exp $
-
-inherit flag-o-matic toolchain-funcs eutils games
-
-TARGET="${PN}"
-
-DESCRIPTION="Multiple Arcade Machine Emulator for X11"
-HOMEPAGE="http://x.mame.net/"
-SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2"
-
-LICENSE="XMAME"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
-IUSE="alsa dga esd ggi joystick lirc mmx net opengl sdl svga X xinerama xv"
-
-RDEPEND="dev-libs/expat
- alsa? ( media-libs/alsa-lib )
- dga? (
- x11-libs/libXxf86dga
- x11-libs/libXxf86vm )
- esd? ( >=media-sound/esound-0.2.29 )
- ggi? ( media-libs/libggi )
- lirc? ( app-misc/lirc )
- opengl? (
- virtual/opengl
- virtual/glu )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- svga? ( media-libs/svgalib )
- xinerama? ( x11-libs/libXinerama )
- xv? ( x11-libs/libXv )
- X? ( x11-libs/libXext )"
-DEPEND="${RDEPEND}
- dga? (
- x11-proto/xf86dgaproto
- x11-proto/xf86vidmodeproto )
- xinerama? ( x11-proto/xineramaproto )
- xv? ( x11-proto/videoproto )
- x86? ( dev-lang/nasm )"
-# Icc sucks. bug #41342
-# icc? ( dev-lang/icc )
-
-S=${WORKDIR}/xmame-${PV}
-
-toggle_feature() {
- if use $1 ; then
- sed -i \
- -e "/$2.*=/s:#::" Makefile \
- || die "sed Makefile ($1 / $2) failed"
- fi
-}
-
-toggle_feature2() {
- use $1 && toggle_feature $2 $3
-}
-
-src_unpack() {
- local mycpu
-
- unpack ${A}
- cd "${S}"
-
- case ${ARCH} in
- x86) mycpu="i386";;
- ia64) mycpu="ia64";;
- amd64) mycpu="amd64";;
- ppc) mycpu="risc";;
- sparc) mycpu="risc";;
- hppa) mycpu="risc";;
- alpha) mycpu="alpha";;
- mips) mycpu="mips";;
- esac
-
- sed -i \
- -e "/^PREFIX/s:=.*:=/usr:" \
- -e "/^MY_CPU/s:i386:${mycpu}:" \
- -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
- -e "/^MANDIR/s:=.*:=/usr/share/man/man6:" \
- -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \
- -e "/^TARGET/s:mame:${TARGET:1}:" \
- -e "/^CFLAGS =/d" \
- -e 's/,-s//' \
- -e "/\bCFLAGS +=/d" \
- Makefile \
- || die "sed Makefile failed"
-
- if use ppc ; then
- sed -i \
- -e '/LD.*--relax/s:^# ::' Makefile \
- || die "sed Makefile (ppc/LD) failed"
- fi
-
- if use mmx ; then
- cat >> src/unix/effect_asm.asm <<EOF
- %ifidn __OUTPUT_FORMAT__,elf
- section .note.GNU-stack noalloc noexec nowrite progbits
- %endif
-EOF
- fi
-
- toggle_feature x86 X86_MIPS3_DRC
- toggle_feature2 x86 mmx EFFECT_MMX_ASM
- toggle_feature joystick JOY_STANDARD
- toggle_feature2 joystick X XINPUT_DEVICES
- use net && ewarn "Network support is currently (${PV}) broken :("
- #toggle_feature net XMAME_NET # Broken
- toggle_feature esd SOUND_ESOUND
- toggle_feature alsa SOUND_ALSA
- #toggle_feature arts SOUND_ARTS # Deprecated
- toggle_feature dga X11_DGA
- toggle_feature xv X11_XV
- toggle_feature opengl X11_OPENGL
- toggle_feature lirc LIRC
- toggle_feature xinerama X11_XINERAMA
-
- case ${ARCH} in
- x86|ia64|amd64)
- append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce
- use amd64 || append-flags -ffast-math #54270
- [[ $(gcc-major-version) -ge 3 ]] \
- && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \
- || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2
- ;;
- ppc)
- append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char
- ;;
- hppa)
- append-flags -ffunction-sections
- ;;
- esac
-
- sed -i \
- -e "s:[Xx]mame:${TARGET}:g" \
- doc/*.6 \
- || die "sed man pages failed"
- # no, we don't want to install setuid (bug #81693)
- sed -i \
- -e 's/^doinstallsuid/notforus/' \
- -e 's/doinstallsuid/doinstall/' \
- -e '/^QUIET/s:^:#:' src/unix/unix.mak \
- || die "sed src/unix/unix.mak failed"
-}
-
-src_compile() {
- local disp=0
- if use sdl ; then
- emake -j1 DISPLAY_METHOD=SDL || die "emake failed (SDL)"
- disp=1
- fi
- if use svga ; then
- emake -j1 DISPLAY_METHOD=svgalib || die "emake failed (svgalib)"
- disp=1
- fi
- if use ggi ; then
- #emake -j1 DISPLAY_METHOD=ggi || die "emake failed (ggi)"
- #disp=1
- ewarn "GGI support is currently (${PV}) broken :("
- fi
- if [[ ${disp} -eq 0 ]] || use opengl || use X || use dga || use xv ; then
- emake -j1 DISPLAY_METHOD=x11 || die "emake failed (x11)"
- fi
-}
-
-src_install() {
- local disp=0 f utils="chdman imgtool dat2html romcmp xml2info"
-
- sed -i \
- -e "s:^PREFIX.*:PREFIX=${D}/usr:" \
- -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \
- -e "s:^MANDIR.*:MANDIR=${D}/usr/share/man/man6:" \
- -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \
- Makefile \
- || die "sed Makefile failed"
-
- if use sdl ; then
- make DISPLAY_METHOD=SDL install || die "install failed (sdl)"
- disp=1
- fi
- if use svga ; then
- make DISPLAY_METHOD=svgalib install || die "install failed (svga)"
- disp=1
- fi
- if use ggi ; then
- #make DISPLAY_METHOD=ggi install || die "install failed (ggi)"
- #disp=1
- ewarn "GGI support is currently (${PV}) broken :("
- fi
- if [[ ${disp} -eq 0 ]] || use opengl || use X || use dga || use xv ; then
- make DISPLAY_METHOD=x11 install || die "install failed (x11)"
- fi
- exeinto "$(games_get_libdir)/${PN}"
- for f in $utils
- do
- if [[ -f "${D}${GAMES_BINDIR}"/$f ]] ; then
- doexe $f || die "doexe failed"
- rm -f "${D}${GAMES_BINDIR}"/$f 2> /dev/null
- fi
- done
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r ctrlr || die "doins failed"
- dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo \
- || die "dodoc failed"
- dohtml -r doc/* || die "dohtml failed"
-
- # default to sdl since the client is a bit more featureful
- if use sdl ; then
- dosym "${TARGET}.SDL" "${GAMES_BINDIR}/${TARGET}"
- elif [[ ${disp} -eq 0 ]] || use opengl || use X || use dga || use xv ; then
- dosym "${TARGET}.x11" "${GAMES_BINDIR}/${TARGET}"
- elif use svga ; then
- dosym ${TARGET}.svgalib "${GAMES_BINDIR}/${TARGET}"
- #elif use ggi ; then
- #dosym ${TARGET}.ggi "${GAMES_BINDIR}/${TARGET}"
- fi
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "Your available MAME binaries are: ${TARGET}"
- if useq opengl || useq X || useq dga || useq xv ; then
- elog " ${TARGET}.x11"
- fi
- useq sdl && elog " ${TARGET}.SDL"
- #useq ggi && elog " ${TARGET}.ggi"
- useq svga && elog " ${TARGET}.svgalib"
-
- elog "Helper utilities are located in $(games_get_libdir)/${PN}."
-}