diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-07-21 07:46:33 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-07-21 07:46:33 +0000 |
commit | fffb553791079b9706025b45799b27914ea2e6a0 (patch) | |
tree | 7a9ebd4aedddd9eb903e355cd2d0af6450664d66 /games-emulation | |
parent | Remove masked for removal package (diff) | |
download | gentoo-2-fffb553791079b9706025b45799b27914ea2e6a0.tar.gz gentoo-2-fffb553791079b9706025b45799b27914ea2e6a0.tar.bz2 gentoo-2-fffb553791079b9706025b45799b27914ea2e6a0.zip |
Remove masked for removal package
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/xmess/ChangeLog | 300 | ||||
-rw-r--r-- | games-emulation/xmess/Manifest | 15 | ||||
-rw-r--r-- | games-emulation/xmess/files/xmess-0.106-overflow.patch | 11 | ||||
-rw-r--r-- | games-emulation/xmess/metadata.xml | 34 | ||||
-rw-r--r-- | games-emulation/xmess/xmess-0.106.ebuild | 242 |
5 files changed, 0 insertions, 602 deletions
diff --git a/games-emulation/xmess/ChangeLog b/games-emulation/xmess/ChangeLog deleted file mode 100644 index 581c04d01092..000000000000 --- a/games-emulation/xmess/ChangeLog +++ /dev/null @@ -1,300 +0,0 @@ -# ChangeLog for games-emulation/xmess -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.68 2012/06/24 16:18:25 tupone Exp $ - - 24 Jun 2012; Tupone Alfredo <tupone@gentoo.org> xmess-0.106.ebuild: - Build with gcc-4.7 Bug #423105 by Diego Elio Pettenò - - 18 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> xmess-0.106.ebuild: - Remove USE="esd" because media-sound/esound isn't in tree anymore. - - 08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org> xmess-0.106.ebuild: - Convert from "useq" to "use". - - 30 Jun 2011; Tupone Alfredo <tupone@gentoo.org> xmess-0.106.ebuild, - +files/xmess-0.106-overflow.patch: - Fix overflow. Bug #349464 by Diego Elio Pettenò - - 10 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> xmess-0.106.ebuild: - Remove USE arts (deprecated). - - 27 Mar 2009; Jeroen Roovers <jer@gentoo.org> xmess-0.83.1.ebuild, - xmess-0.106.ebuild: - Remove HPPA keywording (bug #212543). - - 30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.106.ebuild: - not parallel safe in the build - - 13 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> xmess-0.83.1.ebuild: - QA cleanup: Fix quoting (again). - - 06 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> xmess-0.83.1.ebuild: - QA cleanup: Fix quoting. - - 12 Mar 2007; Marius Mauch <genone@gentoo.org> xmess-0.83.1.ebuild, - xmess-0.105.ebuild, xmess-0.106.ebuild: - Replacing einfo with elog - - 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> xmess-0.83.1.ebuild, - xmess-0.105.ebuild, xmess-0.106.ebuild: - Change all instances of [ to [[. - - 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> xmess-0.83.1.ebuild, - xmess-0.105.ebuild, xmess-0.106.ebuild: - Removing old virtual/x11 dependency. - - 12 Jul 2006; Danny van Dyk <kugelfang@gentoo.org> xmess-0.83.1.ebuild: - QA: Added expat, lirc, xinerama to IUSE. - - 08 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> xmess-0.106.ebuild: - Stable on amd64. - - 05 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.106.ebuild: - bug #135467 was bad hardware. allow sparc keyword again. - - 04 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.106.ebuild: - drop sparc keyword for now since it doesn't seem to compile? - bug #135467 - -*xmess-0.106 (02 Jun 2006) - - 02 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.106.ebuild: - version bump - -*xmess-0.105 (17 Apr 2006) - - 17 Apr 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.105.ebuild: - version bump - - 26 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.104.ebuild: - sync with xmame ebuild - - 24 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> xmess-0.83.1.ebuild, - -xmess-0.103.ebuild: - Clean up older ebuilds and port 0.83.1 to modular X. - -*xmess-0.104 (23 Mar 2006) - - 23 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.104.ebuild: - version bump - - 29 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> - -files/xmess-0.99-mcr3.patch, -files/xmess-0.101-keyboard.patch, - -xmess-0.99-r1.ebuild, -xmess-0.100.ebuild, -xmess-0.101.ebuild, - -xmess-0.102.ebuild: - clean old ebuilds/files - - 25 Jan 2006; Donnie Berkholz <spyderous@gentoo.org>; xmess-0.103.ebuild: - (#118513) Add modular X deps. - -*xmess-0.103 (19 Jan 2006) - - 19 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.103.ebuild: - version bump - -*xmess-0.102 (06 Jan 2006) - - 06 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.102.ebuild: - version bump to match xmame version (bug #117962) - - 20 Nov 2005; Mike Frysinger <vapier@gentoo.org> xmess-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) - -*xmess-0.101 (23 Oct 2005) - - 23 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.101.ebuild: - version bump - -*xmess-0.100 (25 Sep 2005) - - 25 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.100.ebuild: - version bump - - 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> xmess-0.99-r1.ebuild: - Mark 0.99-r1 stable on alpha - - 02 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> xmess-0.99-r1.ebuild: - Stable on sparc - - 25 Aug 2005; Aron Griffis <agriffis@gentoo.org> xmess-0.99-r1.ebuild: - stable on ia64 - -*xmess-0.99-r1 (18 Aug 2005) - - 18 Aug 2005; Mike Frysinger <vapier@gentoo.org> - +files/xmess-0.99-mcr3.patch, +xmess-0.99-r1.ebuild: - Add patch from upstream to fix a coredump in some games #102987 by Avuton - Olrich. - -*xmess-0.99 (16 Aug 2005) - - 16 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.99.ebuild: - version bump - -*xmess-0.97 (17 Jun 2005) - - 17 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.97.ebuild: - version bump - - 30 May 2005; Sven Wegener <swegener@gentoo.org> xmess-0.83.1.ebuild: - Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745. - - 27 May 2005; Joseph Jezak <josejx@gentoo.org> xmess-0.96.ebuild: - Marked ppc stable. - - 17 May 2005; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.96.ebuild: - stable for x86 - - 12 May 2005; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.96.ebuild: - LICENSE change (bug #92336) - -*xmess-0.96 (12 May 2005) - - 12 May 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.96.ebuild: - version bump - - 01 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> - -files/0.77.1-icc.patch, -files/0.80.1-glx-fix.patch, - -files/0.78.1-glx-fix.patch, -files/0.80.1-icc.patch, - -files/0.77.1-alsa-1.0.0.patch, -files/0.77.1-glx-fix.patch, - -files/0.78.1-icc.patch, -files/0.78.1-osd_die.patch, - -files/0.80.1-make.patch, -files/0.81.1-glx-fix.patch, - -files/0.82.1-glx-fix.patch, -files/0.88-glx-fix.patch, - -xmess-0.90.ebuild, -xmess-0.92.ebuild: - clean old files - - 01 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.95.ebuild: - sync with xmame ebuild - -*xmess-0.95 (31 Mar 2005) - - 31 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.95.ebuild: - version bump - -*xmess-0.94 (16 Mar 2005) - - 16 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.94.ebuild: - version bump - -*xmess-0.92 (26 Feb 2005) - - 26 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.92.ebuild: - version bump - - 12 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.90.ebuild: - sync with xmame ebuilds - -*xmess-0.90 (24 Jan 2005) - - 24 Jan 2005; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.90.ebuild: - version bump - -*xmess-0.88 (04 Dec 2004) - - 04 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +xmess-0.88.ebuild: - version bump - - 18 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.83.1.ebuild: - sync with xmame ebuild - -*xmess-0.83.1 (15 Jun 2004) - - 15 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.83.1.ebuild, - files/0.83.1-glx-fix.patch: - version bump - - 09 Jun 2004; Aron Griffis <agriffis@gentoo.org> xmess-0.77.1.ebuild, - xmess-0.78.1.ebuild, xmess-0.80.1.ebuild, xmess-0.81.1.ebuild, - xmess-0.82.1.ebuild: - Fix use invocation - - 06 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.82.1.ebuild: - use flag fixing - -*xmess-0.82.1 (06 Jun 2004) - - 06 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.82.1.ebuild, - files/0.82.1-glx-fix.patch: - version bump (bug #51883) - - 21 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.81.1.ebuild, - files/0.81.1-glx-fix.patch: - sync ebuild with xmame - -*xmess-0.81.1 (19 Apr 2004) - - 19 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.81.1.ebuild: - version bump - -*xmess-0.80.1 (19 Mar 2004) - - 19 Mar 2004; David Holm <dholm@gentoo.org> xmess-0.80.1.ebuild, - files/0.80.1-glx-fix.patch, files/0.80.1-icc.patch, files/0.80.1-make.patch: - Version bumped, added make-patch to support multiple build jobs. - - 16 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> xmess-0.77.1.ebuild, - xmess-0.78.1.ebuild: - header fix; mips and ia64 need deps first - -*xmess-0.78.1 (14 Jan 2004) - - 14 Jan 2004; Mike Frysinger <vapier@gentoo.org> : - Version bump #38177 by Starz McCllelan. - -*xmess-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. - -*xmess-0.76.1 (25 Oct 2003) - - 25 Oct 2003; Mike Frysinger <vapier@gentoo.org> : - Version bump #Bug 31992. - -*xmess-0.74.1-r1 (22 Sep 2003) - - 22 Sep 2003; Mike Frysinger <vapier@gentoo.org> : - Make sure the controllers are installed #29297. - -*xmess-0.74.1 (18 Sep 2003) - - 18 Sep 2003; Mike Frysinger <vapier@gentoo.org> : - Version bump #28878. - -*xmess-0.72.1 (17 Aug 2003) - - 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> : - Version bump #26763 + remove mips patch. - -*xmess-0.71.1 (16 Aug 2003) - - 16 Aug 2003; Mike Frysinger <vapier@gentoo.org> : - Version bump #24986 + mips patch. - -*xmess-0.70.1 (11 Jul 2003) - - 16 Jul 2003; Mike Frysinger <vapier@gentoo.org> : - Added glx fix patch. - - 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. - -*xmess-0.62.2-r1 (13 Jan 2003) - - 13 Jan 2003; Ryan Phillips <rphillips@gentoo.org> xmess-0.62.2-r1.ebuild : - initial release. Submitted by Caleb Shay. diff --git a/games-emulation/xmess/Manifest b/games-emulation/xmess/Manifest deleted file mode 100644 index 17aeee5d3a7d..000000000000 --- a/games-emulation/xmess/Manifest +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX xmess-0.106-overflow.patch 451 RMD160 88dc85ad0cdf0113a45cde0ad7ff72e24ba2d6e5 SHA1 96f6ff0f7fc74d5a5d59ac5c7df6f293f196a6dc SHA256 e02faf68e17cc5615855470faf02b1265811140c8011ea7f04aea90616dce9ba -DIST xmame-0.106.tar.bz2 17117298 RMD160 eab4fa232d59fce5b2216f942f8bc58a992f8d26 SHA1 7ae50f869067e101e053ca18e6f788297fcad9e2 SHA256 a385d86adebc2eb53b560bb522cf569569a74c4104605a8e7d61f1caa0f5e4df -EBUILD xmess-0.106.ebuild 6505 RMD160 56f4211f44d3a9bc008a27f58887d94350c0d473 SHA1 ad7d8f617f1e37336e34897f8df455c632ed9a8f SHA256 d162bce4a7c395ed4a99e4612db0a017abd58dbb1d7b43c40aed70cc1c6fcc1f -MISC ChangeLog 9587 RMD160 018552454ff8cc755a6778bb634906a5159983d8 SHA1 4db326ef182579845ce1b43fc7ee231ebc0b6e32 SHA256 83deef73140e1bf708d06fde7cf499284e98bb1d001a7ffb0a689d4cb34b7842 -MISC metadata.xml 1545 RMD160 02d368dab680d4d857b78cd9f7d49956dd69c19b SHA1 0c81127c7bc6f036a71b5fadff0179bf09d4f9c3 SHA256 026ea67365d6cceb2f152020347543b64054067498723fb6e545afbd392dc02d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEARECAAYFAk/nPd0ACgkQIY77eQFFFC2RlQCfZAPSaKHvzb6aXJ4eGxNHEh4w -QqMAoNEawYiBWRlkQfbOM2FkBLgcASX7 -=j/s/ ------END PGP SIGNATURE----- diff --git a/games-emulation/xmess/files/xmess-0.106-overflow.patch b/games-emulation/xmess/files/xmess-0.106-overflow.patch deleted file mode 100644 index 0c4c2ac10606..000000000000 --- a/games-emulation/xmess/files/xmess-0.106-overflow.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mess/machine/corvushd.c.old 2011-06-30 11:41:55.987772189 +0200 -+++ mess/machine/corvushd.c 2011-06-30 11:42:15.215986836 +0200 -@@ -243,7 +243,7 @@ - /* */ - struct { - UINT8 status; /* Status code returned by command executed */ -- UINT8 firmware[32]; /* Firmware message */ -+ UINT8 firmware[33]; /* Firmware message */ - UINT8 rom_version; /* ROM Version */ - struct { - UINT8 sectors_per_track; /* Sectors/Track */ diff --git a/games-emulation/xmess/metadata.xml b/games-emulation/xmess/metadata.xml deleted file mode 100644 index be56da277331..000000000000 --- a/games-emulation/xmess/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/xmess/xmess-0.106.ebuild b/games-emulation/xmess/xmess-0.106.ebuild deleted file mode 100644 index 584e6d23622c..000000000000 --- a/games-emulation/xmess/xmess-0.106.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.106.ebuild,v 1.15 2012/06/24 16:18:25 tupone Exp $ -EAPI=2 - -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 ia64 ppc sparc x86" -IUSE="alsa dga expat ggi joystick lirc mmx net opengl sdl svga X xinerama xv" - -RDEPEND="sys-libs/zlib - alsa? ( media-libs/alsa-lib ) - dga? ( - x11-libs/libXxf86dga - x11-libs/libXxf86vm ) - expat? ( dev-libs/expat ) - 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_prepare() { - local mycpu - - 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 # No esound in portage anymore - toggle_feature alsa SOUND_ALSA - #toggle_feature arts SOUND_ARTS # Deprecated - toggle_feature dga X11_DGA - toggle_feature xv X11_XV - # if we don't have expat on the system, use the internal one - toggle_feature !expat BUILD_EXPAT - 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" - epatch "${FILESDIR}"/${P}-overflow.patch -} - -src_compile() { - local disp=0 - if use sdl ; then - emake -j1 DISPLAY_METHOD=SDL \ - CC=$(tc-getCC) \ - LD=$(tc-getCC) \ - || die "emake failed (SDL)" - disp=1 - fi - if use svga ; then - emake -j1 DISPLAY_METHOD=svgalib \ - CC=$(tc-getCC) \ - LD=$(tc-getCC) \ - || die "emake failed (svgalib)" - disp=1 - fi - if use ggi ; then - #emake 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 \ - CC=$(tc-getCC) \ - LD=$(tc-getCC) \ - || die "emake failed (x11)" - fi -} - -src_install() { - local disp=0, f - local 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 use opengl || use X || use dga || use xv ; then - elog " ${TARGET}.x11" - fi - use sdl && elog " ${TARGET}.SDL" - #use ggi && elog " ${TARGET}.ggi" - use svga && elog " ${TARGET}.svgalib" - - elog "Helper utilities are located in $(games_get_libdir)/${PN}." -} |