summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-04-28 01:51:30 +0000
committerMike Frysinger <vapier@gentoo.org>2003-04-28 01:51:30 +0000
commit325bce6c2bba58b44bc36724f0945fd8681a4d4b (patch)
treea903ba61bc56bd956e454c55af93c1077e34e60d /app-emulation/xmame
parentfix digests (diff)
downloadgentoo-2-325bce6c2bba58b44bc36724f0945fd8681a4d4b.tar.gz
gentoo-2-325bce6c2bba58b44bc36724f0945fd8681a4d4b.tar.bz2
gentoo-2-325bce6c2bba58b44bc36724f0945fd8681a4d4b.zip
old
Diffstat (limited to 'app-emulation/xmame')
-rw-r--r--app-emulation/xmame/files/digest-xmame-0.60.1-r21
-rw-r--r--app-emulation/xmame/files/digest-xmame-0.60.1-r31
-rw-r--r--app-emulation/xmame/files/digest-xmame-0.60.1-r49
-rw-r--r--app-emulation/xmame/files/digest-xmame-0.61.1_pre910
-rw-r--r--app-emulation/xmame/files/digest-xmame-0.62.1_rc22
-rw-r--r--app-emulation/xmame/xmame-0.60.1-r2.ebuild101
-rw-r--r--app-emulation/xmame/xmame-0.60.1-r3.ebuild110
-rw-r--r--app-emulation/xmame/xmame-0.60.1-r4.ebuild193
-rw-r--r--app-emulation/xmame/xmame-0.61.1_pre9.ebuild204
-rw-r--r--app-emulation/xmame/xmame-0.62.1_rc2.ebuild188
-rw-r--r--app-emulation/xmame/xmame-0.62.2-r1.ebuild4
11 files changed, 2 insertions, 821 deletions
diff --git a/app-emulation/xmame/files/digest-xmame-0.60.1-r2 b/app-emulation/xmame/files/digest-xmame-0.60.1-r2
deleted file mode 100644
index b49b7ae7cf33..000000000000
--- a/app-emulation/xmame/files/digest-xmame-0.60.1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 887e3956e410b06b92165637ba219070 xmame-0.60.1.tar.bz2 5569579
diff --git a/app-emulation/xmame/files/digest-xmame-0.60.1-r3 b/app-emulation/xmame/files/digest-xmame-0.60.1-r3
deleted file mode 100644
index b49b7ae7cf33..000000000000
--- a/app-emulation/xmame/files/digest-xmame-0.60.1-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 887e3956e410b06b92165637ba219070 xmame-0.60.1.tar.bz2 5569579
diff --git a/app-emulation/xmame/files/digest-xmame-0.60.1-r4 b/app-emulation/xmame/files/digest-xmame-0.60.1-r4
deleted file mode 100644
index cd1fa7e58c08..000000000000
--- a/app-emulation/xmame/files/digest-xmame-0.60.1-r4
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 887e3956e410b06b92165637ba219070 xmame-0.60.1.tar.bz2 5569579
-MD5 3dfb79f65466931a92d74fe3c1f3c935 0.60.1-0.61.1-pr1.diff.bz2 797886
-MD5 184127a255f0ed29738899dbdee10aff 0.61.1-pr1-0.61.1-pr2.diff.bz2 6448
-MD5 5432594fbd80d462e5d2fd3ca8e0d418 0.61.1-pr2-0.61.1-pr3.diff.bz2 2423
-MD5 9362afac14b3303e42d7181402f3aaba 0.61.1-pr3-0.61.1-pr4.diff.bz2 2250575
-MD5 bb7f008a13839d4b84b78ea090ffef43 0.61.1-pr4-0.61.1-pr5.diff.bz2 974
-MD5 ae51326602ec6baf5fceea735c65728d 0.61.1-pr5-0.61.1-pr6.diff.bz2 851
-MD5 6f4b24e1a8cdf8e8ee05df64cfceb9ae 0.61.1-pr6-0.61.1-pr7.diff.bz2 16015
-MD5 9040847e805e0d61feaab654ef2220ef 0.61.1-pr7-0.61.1-pr8.diff.bz2 13381
diff --git a/app-emulation/xmame/files/digest-xmame-0.61.1_pre9 b/app-emulation/xmame/files/digest-xmame-0.61.1_pre9
deleted file mode 100644
index 8d35d406eea4..000000000000
--- a/app-emulation/xmame/files/digest-xmame-0.61.1_pre9
+++ /dev/null
@@ -1,10 +0,0 @@
-MD5 887e3956e410b06b92165637ba219070 xmame-0.60.1.tar.bz2 5569579
-MD5 3dfb79f65466931a92d74fe3c1f3c935 0.60.1-0.61.1-pr1.diff.bz2 797886
-MD5 184127a255f0ed29738899dbdee10aff 0.61.1-pr1-0.61.1-pr2.diff.bz2 6448
-MD5 5432594fbd80d462e5d2fd3ca8e0d418 0.61.1-pr2-0.61.1-pr3.diff.bz2 2423
-MD5 9362afac14b3303e42d7181402f3aaba 0.61.1-pr3-0.61.1-pr4.diff.bz2 2250575
-MD5 bb7f008a13839d4b84b78ea090ffef43 0.61.1-pr4-0.61.1-pr5.diff.bz2 974
-MD5 ae51326602ec6baf5fceea735c65728d 0.61.1-pr5-0.61.1-pr6.diff.bz2 851
-MD5 6f4b24e1a8cdf8e8ee05df64cfceb9ae 0.61.1-pr6-0.61.1-pr7.diff.bz2 16015
-MD5 9040847e805e0d61feaab654ef2220ef 0.61.1-pr7-0.61.1-pr8.diff.bz2 13381
-MD5 0b7d12ad5ac0ff929a620cd0e05c5b96 0.61.1-pr8-0.61.1-pr9.diff.bz2 326969
diff --git a/app-emulation/xmame/files/digest-xmame-0.62.1_rc2 b/app-emulation/xmame/files/digest-xmame-0.62.1_rc2
deleted file mode 100644
index ce08ff1a4334..000000000000
--- a/app-emulation/xmame/files/digest-xmame-0.62.1_rc2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 49d3e031fd24ca87601ba371ff031325 xmame-0.62.1-rc1.tar.bz2 6115463
-MD5 4247584b7a1d81bd9148b8794d55f3a2 0.62.1-rc1-0.62.1-rc2.diff.bz2 4915
diff --git a/app-emulation/xmame/xmame-0.60.1-r2.ebuild b/app-emulation/xmame/xmame-0.60.1-r2.ebuild
deleted file mode 100644
index 2510ccf90564..000000000000
--- a/app-emulation/xmame/xmame-0.60.1-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# Based on the 0.59.1 ebuild by Ben Lutgens <blutgens@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.60.1-r2.ebuild,v 1.10 2003/02/13 07:18:57 vapier Exp $
-
-IUSE="sdl dga esd"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Multiple Arcade Machine Emulator for X11"
-SRC_URI="http://x.mame.net/download/${P}.tar.bz2"
-HOMEPAGE="http://x.mame.net"
-SLOT="0"
-LICENSE="xmame"
-
-DEPEND="virtual/x11
- sdl? ( >=media-libs/libsdl-1.2.0 )
- >=sys-libs/zlib-1.1.3-r2"
-
-# Please note modifications for ppc in this ebuild. If you update the ebuild,
-# please either test on ppc, or send it to a ppc developer for testing before
-# you commit the ebuild. Thanks :-)
-
-KEYWORDS="x86 ppc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- sed -e "s:CFLAGS = -O -Wall:\#CFLAGS=:g" -e \
- "s:PREFIX = /usr/local:PREFIX = /usr:g" -e \
- "s:MANDIR = \$\(PREFIX\)/man/man6:MANDIR = \$\(PREFIX\)/share/man/man6:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
-
- if [ ${ARCH} = "x86" ]
- then
- # Enable joystick support
- sed -e "s/\# JOY_I386/JOY_I386/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ ${ARCH} = "ppc" ]
- then
- sed -e "s:MY_CPU = i386:\#MY_CPU = i386:g" -e \
- "s:\# MY_CPU = risc$:MY_CPU = risc:" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use dga`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use sdl`" ]; then
- sed -e "s:DISPLAY_METHOD = x11:DISPLAY_METHOD = SDL:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use esd`" ]; then
- sed -e "s/\# SOUND_ESOUND/SOUND_ESOUND/g" makefile.unix > Makefile
- else
- mv makefile.unix Makefile
- fi
-}
-
-src_compile() {
- local MYFLAGS
- MYFLAGS=""
-
- if [ ${ARCH} = "ppc" ] ; then
- # add Makefile suggested flags for ppc
- MYFLAGS="${CFLAGS} -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char"
- else
- MYFLAGS="${CFLAGS}"
-
- # rphillips 23 Jul 2002
- # compile doesn't work on x86 platforms with -O3 optimizations
- MYFLAGS=`echo $MYFLAGS | sed 's/-O3/-O2/'`
- fi
- emake CFLAGS="${MYFLAGS}" || die
-}
-
-src_install () {
-
- make PREFIX=${D}/usr install
-
-# dodoc gzips
- dodoc doc/{changes.*,dga2.txt,gamelist.mame,readme.mame,xmamerc.dist}
- dodoc doc/{xmame-doc.ps,xmame-doc.txt}
-# Don't really want html files gzipped
- insinto /usr/share/doc/${P}/html
- doins doc/*.html
- if [ "`use sdl`" ]; then
- dosym xmame.SDL /usr/bin/xmame
- else
- dosym xmame.x11 /usr/bin/xmame
- fi
-}
diff --git a/app-emulation/xmame/xmame-0.60.1-r3.ebuild b/app-emulation/xmame/xmame-0.60.1-r3.ebuild
deleted file mode 100644
index 50f8ab81c6cd..000000000000
--- a/app-emulation/xmame/xmame-0.60.1-r3.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# Based on the 0.59.1 ebuild by Ben Lutgens <blutgens@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.60.1-r3.ebuild,v 1.7 2003/02/13 07:19:03 vapier Exp $
-
-IUSE="sdl dga esd opengl"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Multiple Arcade Machine Emulator for X11"
-SRC_URI="http://x.mame.net/download/${P}.tar.bz2"
-HOMEPAGE="http://x.mame.net"
-
-SLOT="0"
-LICENSE="xmame"
-
-DEPEND="virtual/x11
- sdl? ( >=media-libs/libsdl-1.2.0 )
- >=sys-libs/zlib-1.1.3-r2"
-
-# Please note modifications for ppc in this ebuild. If you update the ebuild,
-# please either test on ppc, or send it to a ppc developer for testing before
-# you commit the ebuild. Thanks :-)
-
-KEYWORDS="x86 ppc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- sed -e "s:CFLAGS = -O -Wall:\#CFLAGS=:g" -e \
- "s:PREFIX = /usr/local:PREFIX = /usr:g" -e \
- "s:MANDIR = \$\(PREFIX\)/man/man6:MANDIR = \$\(PREFIX\)/share/man/man6:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
-
- if [ ${ARCH} = "x86" ]
- then
- # Enable joystick support
- sed -e "s/\# JOY_I386/JOY_I386/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ ${ARCH} = "ppc" ]
- then
- sed -e "s:MY_CPU = i386:\#MY_CPU = i386:g" -e \
- "s:\# MY_CPU = risc$:MY_CPU = risc:" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use dga`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use sdl`" ]; then
- sed -e "s:DISPLAY_METHOD = x11:DISPLAY_METHOD = SDL:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use esd`" ]; then
- sed -e "s/\# SOUND_ESOUND/SOUND_ESOUND/g" makefile.unix > Makefile
- else
- mv makefile.unix Makefile
- fi
-
- if [ "`use opengl`"; then
- sed -e "s:DISPLAY_METHOD = x11:DISPLAY_METHOD = xgl:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-}
-
-src_compile() {
- local MYFLAGS
- MYFLAGS=""
-
- if [ ${ARCH} = "ppc" ] ; then
- # add Makefile suggested flags for ppc
- MYFLAGS="${CFLAGS} -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char"
- else
- MYFLAGS="${CFLAGS}"
-
- # rphillips 23 Jul 2002
- # compile doesn't work on x86 platforms with -O3 optimizations
- MYFLAGS=`echo $MYFLAGS | sed 's/-O3/-O2/'`
- fi
- emake CFLAGS="${MYFLAGS}" || die
-}
-
-src_install () {
-
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
-
- dodoc doc/{changes.*,dga2.txt,gamelist.mame,readme.mame,xmamerc.dist}
- dodoc doc/{xmame-doc.ps,xmame-doc.txt}
-
- dohtml -r doc
-
- if [ "`use sdl`" ]; then
- dosym xmame.SDL /usr/bin/xmame
- else
- dosym xmame.x11 /usr/bin/xmame
- fi
-}
diff --git a/app-emulation/xmame/xmame-0.60.1-r4.ebuild b/app-emulation/xmame/xmame-0.60.1-r4.ebuild
deleted file mode 100644
index 58d274df4f8f..000000000000
--- a/app-emulation/xmame/xmame-0.60.1-r4.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.60.1-r4.ebuild,v 1.3 2003/02/13 07:19:07 vapier Exp $
-
-DESCRIPTION="Multiple Arcade Machine Emulator for X11"
-SRC_URI="http://x.mame.net/download/${P}.tar.bz2
- http://x.mame.net/download/0.60.1-0.61.1-pr1.diff.bz2
- http://x.mame.net/download/0.61.1-pr1-0.61.1-pr2.diff.bz2
- http://x.mame.net/download/0.61.1-pr2-0.61.1-pr3.diff.bz2
- http://x.mame.net/download/0.61.1-pr3-0.61.1-pr4.diff.bz2
- http://x.mame.net/download/0.61.1-pr4-0.61.1-pr5.diff.bz2
- http://x.mame.net/download/0.61.1-pr5-0.61.1-pr6.diff.bz2
- http://x.mame.net/download/0.61.1-pr6-0.61.1-pr7.diff.bz2
- http://x.mame.net/download/0.61.1-pr7-0.61.1-pr8.diff.bz2"
-HOMEPAGE="http://x.mame.net/"
-
-SLOT="0"
-LICENSE="xmame"
-KEYWORDS="x86 ppc"
-IUSE="sdl dga xv alsa esd opengl X 3dfx"
-
-DEPEND="xv? ( virtual/x11 )
- dga? ( virtual/x11 )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- >=sys-libs/zlib-1.1.3-r2
- alsa? ( media-libs/alsa-lib )
- xv? ( >=x11-base/xfree-4.1.0 )
- dga? ( >=x11-base/xfree-4.1.0 )
- esd? ( >=media-sound/esound-0.2.29 )"
-
-RDEPEND=${DEPEND}
-
-src_unpack() {
- unpack ${P}.tar.bz2
- cd ${S}
- bzcat ${DISTDIR}/0.60.1-0.61.1-pr1.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr1-0.61.1-pr2.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr2-0.61.1-pr3.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr3-0.61.1-pr4.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr4-0.61.1-pr5.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr5-0.61.1-pr6.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr6-0.61.1-pr7.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr7-0.61.1-pr8.diff.bz2 | patch -p1
-
- sed -e "s:CFLAGS = -O -Wall:\#CFLAGS=:g" -e \
- "s:PREFIX = /usr/local:PREFIX = /usr:g" -e \
- "s:MANDIR = \$\(PREFIX\)/man/man6:MANDIR = \$\(PREFIX\)/share/man/man6:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
-
- if [ ${ARCH} = "x86" ]
- then
- # Enable joystick support
- sed -e "s/\# JOY_I386/JOY_I386/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ ${ARCH} = "ppc" ]
- then
- sed -e "s:MY_CPU = i386:\#MY_CPU = i386:g" -e \
- "s:\# MY_CPU = risc$:MY_CPU = risc:" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use esd`" ]; then
- sed -e "s/\# SOUND_ESOUND/SOUND_ESOUND/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use alsa`" ]; then
- sed -e "s/\# SOUND_ALSA/SOUND_ALSA/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.unix makefile.x11;
- fi
-
- if [ "`use sdl`" ]; then
- cp makefile.unix makefile.SDL
- sed -e "s/DISPLAY_METHOD = x11/DISPLAY_METHOD = SDL/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- fi
-
- if [ "`use dga`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- if [ "`use 3dfx`"]; then
- sed -e "s/\# TDFX_DGA_WORKAROUND/TDFX_DGA_WORKAROUND/g" \
- makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- fi
- if [ "`use sdl`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- if [ "`use 3dfx`"]; then
- sed -e "s/\# TDFX_DGA_WORKAROUND/TDFX_DGA_WORKAROUND/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- fi
- fi
- fi
-
-# Caleb Shay 08 Oct 2002
-# xmame.xgl is currently broken
-# if [ "`use opengl`"; then
-# cp makefile.x11 makefile.xgl
-# sed -e "s:DISPLAY_METHOD = x11:DISPLAY_METHOD = xgl:g" \
-# makefile.xgl > makefile.xgl.tmp
-# mv makefile.xgl.tmp makefile.xgl
-# fi
-
- if [ "`use xv`" ]; then
- sed -e "s/\# X11_XV = 1/X11_XV = 1/g" makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- fi
-}
-
-src_compile() {
- local MYFLAGS
- MYFLAGS=""
- # 08 Oct 2002 Caleb Shay
- # Parallel makes breaks the build
- MAKEOPTS=""
-
- if [ ${ARCH} = "ppc" ] ; then
- # add Makefile suggested flags for ppc
- MYFLAGS="${CFLAGS} -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char"
- fi
- if [ ${ARCH} = "x86" ] ; then
- # add Makefile suggested flags for x86
- MYFLAGS="${CFLAGS} -O3 -Wall -Wno-unused -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -falign-functions=2 \
- -falign-jumps=2 -falign-loops=2"
- fi
-
- # rphillips 23 Jul 2002
- # compile doesn't work on x86 platforms with -O3 optimizations
- # Caleb Shay 08 Oct 2002
- # No longer true
- # MYFLAGS=`echo $MYFLAGS | sed 's/-O3/-O2/'`
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.x11 Makefile
- emake CFLAGS="${MYFLAGS}" || die
- fi
- if [ "`use sdl`" ]; then
- cp makefile.SDL Makefile
- emake CFLAGS="${MYFLAGS}" || die
- fi
-}
-
-src_install() {
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.x11 Makefile
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
- fi
- if [ "`use sdl`" ]; then
- cp makefile.SDL Makefile
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
- fi
-
- dodoc doc/{changes.*,dga2.txt,gamelist.mame,readme.mame,xmamerc.dist}
- dodoc doc/{xmame-doc.ps,xmame-doc.txt}
-
- dohtml -r doc
-
- if [ "`use sdl`" ]; then
- dosym xmame.SDL /usr/bin/xmame
- else
- dosym xmame.x11 /usr/bin/xmame
- fi
-}
-
-pkg_postinst() {
- if [ "`use sdl`" ]; then
- einfo "xmame is a symbolic link to xmame.SDL"
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- einfo "If you wish to use x11 (non-SDL) mame, use xmame.x11"
- fi
- else
- einfo "xmame is a symbolic link to xmame.x11"
- fi
-}
diff --git a/app-emulation/xmame/xmame-0.61.1_pre9.ebuild b/app-emulation/xmame/xmame-0.61.1_pre9.ebuild
deleted file mode 100644
index 650eba770892..000000000000
--- a/app-emulation/xmame/xmame-0.61.1_pre9.ebuild
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# Based on the 0.59.1 ebuild by Ben Lutgens <blutgens@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.61.1_pre9.ebuild,v 1.3 2003/02/13 07:19:13 vapier Exp $
-
-IUSE="sdl dga xv alsa esd opengl X 3dfx"
-
-A="xmame-0.60.1"
-S=${WORKDIR}/${A}
-DESCRIPTION="Multiple Arcade Machine Emulator for X11"
-SRC_URI="http://x.mame.net/download/${A}.tar.bz2
- http://x.mame.net/download/0.60.1-0.61.1-pr1.diff.bz2
- http://x.mame.net/download/0.61.1-pr1-0.61.1-pr2.diff.bz2
- http://x.mame.net/download/0.61.1-pr2-0.61.1-pr3.diff.bz2
- http://x.mame.net/download/0.61.1-pr3-0.61.1-pr4.diff.bz2
- http://x.mame.net/download/0.61.1-pr4-0.61.1-pr5.diff.bz2
- http://x.mame.net/download/0.61.1-pr5-0.61.1-pr6.diff.bz2
- http://x.mame.net/download/0.61.1-pr6-0.61.1-pr7.diff.bz2
- http://x.mame.net/download/0.61.1-pr7-0.61.1-pr8.diff.bz2
- http://x.mame.net/download/0.61.1-pr8-0.61.1-pr9.diff.bz2"
-HOMEPAGE="http://x.mame.net"
-SLOT="0"
-LICENSE="xmame"
-DEPEND="xv? ( virtual/x11 )
- dga? ( virtual/x11 )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- >=sys-libs/zlib-1.1.3-r2
- alsa? ( media-libs/alsa-lib )
- xv? ( >=x11-base/xfree-4.1.0 )
- dga? ( >=x11-base/xfree-4.1.0 )
- esd? ( >=media-sound/esound-0.2.29 )"
-
-# Please note modifications for ppc in this ebuild. If you update the ebuild,
-# please either test on ppc, or send it to a ppc developer for testing before
-# you commit the ebuild. Thanks :-)
-
-KEYWORDS="~x86 -ppc"
-
-src_unpack() {
- unpack ${A}.tar.bz2
- cd ${S}
- bzcat ${DISTDIR}/0.60.1-0.61.1-pr1.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr1-0.61.1-pr2.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr2-0.61.1-pr3.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr3-0.61.1-pr4.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr4-0.61.1-pr5.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr5-0.61.1-pr6.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr6-0.61.1-pr7.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr7-0.61.1-pr8.diff.bz2 | patch -p1
- bzcat ${DISTDIR}/0.61.1-pr8-0.61.1-pr9.diff.bz2 | patch -p1
-
- sed -e "s:CFLAGS = -O -Wall:\#CFLAGS=:g" -e \
- "s:PREFIX = /usr/local:PREFIX = /usr:g" -e \
- "s:MANDIR = \$\(PREFIX\)/man/man6:MANDIR = \$\(PREFIX\)/share/man/man6:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
-
- if [ ${ARCH} = "x86" ]
- then
- # Enable joystick support
- sed -e "s/\# JOY_I386/JOY_I386/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ ${ARCH} = "ppc" ]
- then
- sed -e "s:MY_CPU = i386:\#MY_CPU = i386:g" -e \
- "s:\# MY_CPU = risc$:MY_CPU = risc:" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use esd`" ]; then
- sed -e "s/\# SOUND_ESOUND/SOUND_ESOUND/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use alsa`" ]; then
- sed -e "s/\# SOUND_ALSA/SOUND_ALSA/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.unix makefile.x11;
- fi
-
- if [ "`use sdl`" ]; then
- cp makefile.unix makefile.SDL
- sed -e "s/DISPLAY_METHOD = x11/DISPLAY_METHOD = SDL/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- fi
-
- if [ "`use dga`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- if [ "`use 3dfx`"]; then
- sed -e "s/\# TDFX_DGA_WORKAROUND/TDFX_DGA_WORKAROUND/g" \
- makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- fi
- if [ "`use sdl`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- if [ "`use 3dfx`"]; then
- sed -e "s/\# TDFX_DGA_WORKAROUND/TDFX_DGA_WORKAROUND/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- fi
- fi
- fi
-
-# Caleb Shay 08 Oct 2002
-# xmame.xgl is currently broken
-# if [ "`use opengl`"; then
-# cp makefile.x11 makefile.xgl
-# sed -e "s:DISPLAY_METHOD = x11:DISPLAY_METHOD = xgl:g" \
-# makefile.xgl > makefile.xgl.tmp
-# mv makefile.xgl.tmp makefile.xgl
-# fi
-
- if [ "`use xv`" ]; then
- sed -e "s/\# X11_XV = 1/X11_XV = 1/g" makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- fi
-}
-
-src_compile() {
- local MYFLAGS
- MYFLAGS=""
- # 08 Oct 2002 Caleb Shay
- # Parallel makes breaks the build
- MAKEOPTS=""
-
- if [ ${ARCH} = "ppc" ] ; then
- # add Makefile suggested flags for ppc
- MYFLAGS="${CFLAGS} -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char"
- fi
- if [ ${ARCH} = "x86" ] ; then
- # add Makefile suggested flags for x86
- MYFLAGS="${CFLAGS} -O3 -Wall -Wno-unused -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -falign-functions=2 \
- -falign-jumps=2 -falign-loops=2"
- fi
-
- # rphillips 23 Jul 2002
- # compile doesn't work on x86 platforms with -O3 optimizations
- # Caleb Shay 08 Oct 2002
- # No longer true
- # MYFLAGS=`echo $MYFLAGS | sed 's/-O3/-O2/'`
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.x11 Makefile
- emake CFLAGS="${MYFLAGS}" || die
- fi
- if [ "`use sdl`" ]; then
- cp makefile.SDL Makefile
- emake CFLAGS="${MYFLAGS}" || die
- fi
-}
-
-src_install () {
-
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.x11 Makefile
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
- fi
- if [ "`use sdl`" ]; then
- cp makefile.SDL Makefile
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
- fi
-
- dodoc doc/{changes.*,dga2.txt,gamelist.mame,readme.mame,xmamerc.dist}
- dodoc doc/{xmame-doc.ps,xmame-doc.txt}
-
- dohtml -r doc
-
- if [ "`use sdl`" ]; then
- dosym xmame.SDL /usr/bin/xmame
- else
- dosym xmame.x11 /usr/bin/xmame
- fi
-
-}
-
-pkg_postinst() {
-
- if [ "`use sdl`" ]; then
- einfo "xmame is a symbolic link to xmame.SDL"
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- einfo "If you wish to use x11 (non-SDL) mame, use xmame.x11"
- fi
- else
- einfo "xmame is a symbolic link to xmame.x11"
- fi
-
-}
diff --git a/app-emulation/xmame/xmame-0.62.1_rc2.ebuild b/app-emulation/xmame/xmame-0.62.1_rc2.ebuild
deleted file mode 100644
index 204e701cff73..000000000000
--- a/app-emulation/xmame/xmame-0.62.1_rc2.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# Based on the 0.59.1 ebuild by Ben Lutgens <blutgens@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.62.1_rc2.ebuild,v 1.2 2003/02/13 07:19:18 vapier Exp $
-
-IUSE="sdl dga xv alsa esd opengl X 3dfx"
-
-A="xmame-0.62.1-rc1"
-S=${WORKDIR}/${A}
-DESCRIPTION="Multiple Arcade Machine Emulator for X11"
-SRC_URI="http://x.mame.net/download/${A}.tar.bz2
- http://x.mame.net/download/0.62.1-rc1-0.62.1-rc2.diff.bz2"
-HOMEPAGE="http://x.mame.net"
-SLOT="0"
-LICENSE="xmame"
-DEPEND="xv? ( virtual/x11 )
- dga? ( virtual/x11 )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- >=sys-libs/zlib-1.1.3-r2
- alsa? ( media-libs/alsa-lib )
- xv? ( >=x11-base/xfree-4.1.0 )
- dga? ( >=x11-base/xfree-4.1.0 )
- esd? ( >=media-sound/esound-0.2.29 )"
-
-# Please note modifications for ppc in this ebuild. If you update the ebuild,
-# please either test on ppc, or send it to a ppc developer for testing before
-# you commit the ebuild. Thanks :-)
-
-KEYWORDS="~x86 -ppc"
-
-src_unpack() {
- unpack ${A}.tar.bz2
- cd ${S}
- bzcat ${DISTDIR}/0.62.1-rc1-0.62.1-rc2.diff.bz2 | patch -p1
-
- sed -e "s:CFLAGS = -O -Wall:\#CFLAGS=:g" -e \
- "s:PREFIX = /usr/local:PREFIX = /usr:g" -e \
- "s:MANDIR = \$\(PREFIX\)/man/man6:MANDIR = \$\(PREFIX\)/share/man/man6:g" \
- makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
-
- if [ ${ARCH} = "x86" ]
- then
- # Enable joystick support
- sed -e "s/\# JOY_I386/JOY_I386/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ ${ARCH} = "ppc" ]
- then
- sed -e "s:MY_CPU = i386:\#MY_CPU = i386:g" -e \
- "s:\# MY_CPU = risc$:MY_CPU = risc:" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use esd`" ]; then
- sed -e "s/\# SOUND_ESOUND/SOUND_ESOUND/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use alsa`" ]; then
- sed -e "s/\# SOUND_ALSA/SOUND_ALSA/g" makefile.unix > makefile.unix.tmp
- mv makefile.unix.tmp makefile.unix
- fi
-
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.unix makefile.x11;
- fi
-
- if [ "`use sdl`" ]; then
- cp makefile.unix makefile.SDL
- sed -e "s/DISPLAY_METHOD = x11/DISPLAY_METHOD = SDL/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- fi
-
- if [ "`use dga`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- if [ "`use 3dfx`"]; then
- sed -e "s/\# TDFX_DGA_WORKAROUND/TDFX_DGA_WORKAROUND/g" \
- makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- fi
- if [ "`use sdl`" ]; then
- sed -e "s/\# X11_DGA = 1/X11_DGA = 1/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- if [ "`use 3dfx`"]; then
- sed -e "s/\# TDFX_DGA_WORKAROUND/TDFX_DGA_WORKAROUND/g" \
- makefile.SDL > makefile.SDL.tmp
- mv makefile.SDL.tmp makefile.SDL
- fi
- fi
- fi
-
-# Caleb Shay 08 Oct 2002
-# xmame.xgl is currently broken
-# if [ "`use opengl`"; then
-# cp makefile.x11 makefile.xgl
-# sed -e "s:DISPLAY_METHOD = x11:DISPLAY_METHOD = xgl:g" \
-# makefile.xgl > makefile.xgl.tmp
-# mv makefile.xgl.tmp makefile.xgl
-# fi
-
- if [ "`use xv`" ]; then
- sed -e "s/\# X11_XV = 1/X11_XV = 1/g" makefile.x11 > makefile.x11.tmp
- mv makefile.x11.tmp makefile.x11
- fi
-}
-
-src_compile() {
- local MYFLAGS
- MYFLAGS=""
- # 08 Oct 2002 Caleb Shay
- # Parallel makes breaks the build
- MAKEOPTS=""
-
- if [ ${ARCH} = "ppc" ] ; then
- # add Makefile suggested flags for ppc
- MYFLAGS="${CFLAGS} -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char"
- fi
- if [ ${ARCH} = "x86" ] ; then
- # add Makefile suggested flags for x86
- MYFLAGS="${CFLAGS} -O3 -Wall -Wno-unused -funroll-loops \
- -fstrength-reduce -fomit-frame-pointer -ffast-math -falign-functions=2 \
- -falign-jumps=2 -falign-loops=2"
- fi
-
- # rphillips 23 Jul 2002
- # compile doesn't work on x86 platforms with -O3 optimizations
- # Caleb Shay 08 Oct 2002
- # No longer true
- # MYFLAGS=`echo $MYFLAGS | sed 's/-O3/-O2/'`
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.x11 Makefile
- emake CFLAGS="${MYFLAGS}" || die
- fi
- if [ "`use sdl`" ]; then
- cp makefile.SDL Makefile
- emake CFLAGS="${MYFLAGS}" || die
- fi
-}
-
-src_install () {
-
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- cp makefile.x11 Makefile
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
- fi
- if [ "`use sdl`" ]; then
- cp makefile.SDL Makefile
- make \
- PREFIX=${D}/usr \
- MANDIR=${D}/usr/share/man/man6 \
- install
- fi
-
- dodoc doc/{changes.*,dga2.txt,gamelist.mame,readme.mame,xmamerc.dist}
- dodoc doc/{xmame-doc.ps,xmame-doc.txt}
-
- dohtml -r doc
-
- if [ "`use sdl`" ]; then
- dosym xmame.SDL /usr/bin/xmame
- else
- dosym xmame.x11 /usr/bin/xmame
- fi
-
-}
-
-pkg_postinst() {
-
- if [ "`use sdl`" ]; then
- einfo "xmame is a symbolic link to xmame.SDL"
- if [ "`use X`" ] || [ "`use dga`" ] || [ "`use xv`" ]; then
- einfo "If you wish to use x11 (non-SDL) mame, use xmame.x11"
- fi
- else
- einfo "xmame is a symbolic link to xmame.x11"
- fi
-
-}
diff --git a/app-emulation/xmame/xmame-0.62.2-r1.ebuild b/app-emulation/xmame/xmame-0.62.2-r1.ebuild
index 7b326a25a6a8..41a2673e0f3f 100644
--- a/app-emulation/xmame/xmame-0.62.2-r1.ebuild
+++ b/app-emulation/xmame/xmame-0.62.2-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Based on the 0.59.1 ebuild by Ben Lutgens <blutgens@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.62.2-r1.ebuild,v 1.3 2003/02/13 07:19:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.62.2-r1.ebuild,v 1.4 2003/04/28 01:51:30 vapier Exp $
IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts"
@@ -34,7 +34,7 @@ fi
# please either test on ppc, or send it to a ppc developer for testing before
# you commit the ebuild. Thanks :-)
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ppc"
src_unpack() {
unpack ${P}.tar.bz2