diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-04-01 16:40:00 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-04-01 16:40:00 +0000 |
commit | 4cc0bd9f5f4f17d64a9bbe924a7e5b8ceb2028a0 (patch) | |
tree | 2041bb73600c7b8ea6461720fea83f7a3a87f243 /games-emulation/xmess | |
parent | stable on ia64 (diff) | |
download | gentoo-2-4cc0bd9f5f4f17d64a9bbe924a7e5b8ceb2028a0.tar.gz gentoo-2-4cc0bd9f5f4f17d64a9bbe924a7e5b8ceb2028a0.tar.bz2 gentoo-2-4cc0bd9f5f4f17d64a9bbe924a7e5b8ceb2028a0.zip |
clean old files
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-emulation/xmess')
-rw-r--r-- | games-emulation/xmess/ChangeLog | 12 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.77.1-alsa-1.0.0.patch | 12 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.77.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.77.1-icc.patch | 21 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.78.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.78.1-icc.patch | 21 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.78.1-osd_die.patch | 17 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.80.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.80.1-icc.patch | 21 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.80.1-make.patch | 29 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.81.1-glx-fix.patch | 11 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.82.1-glx-fix.patch | 11 | ||||
-rw-r--r-- | games-emulation/xmess/files/0.88-glx-fix.patch | 11 | ||||
-rw-r--r-- | games-emulation/xmess/files/digest-xmess-0.90 | 1 | ||||
-rw-r--r-- | games-emulation/xmess/files/digest-xmess-0.92 | 1 | ||||
-rw-r--r-- | games-emulation/xmess/xmess-0.90.ebuild | 210 | ||||
-rw-r--r-- | games-emulation/xmess/xmess-0.92.ebuild | 210 |
17 files changed, 11 insertions, 634 deletions
diff --git a/games-emulation/xmess/ChangeLog b/games-emulation/xmess/ChangeLog index cc991a85b673..6ab03f1a18c5 100644 --- a/games-emulation/xmess/ChangeLog +++ b/games-emulation/xmess/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for games-emulation/xmess # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.26 2005/04/01 16:35:57 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.27 2005/04/01 16:38:20 mr_bones_ Exp $ + + 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 diff --git a/games-emulation/xmess/files/0.77.1-alsa-1.0.0.patch b/games-emulation/xmess/files/0.77.1-alsa-1.0.0.patch deleted file mode 100644 index c092e98da603..000000000000 --- a/games-emulation/xmess/files/0.77.1-alsa-1.0.0.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- src/unix/sysdep/dsp-drivers/alsa-old.c 2003-12-09 23:29:46.000000000 -0700 -+++ src/unix/sysdep/dsp-drivers/alsa.c 2003-12-09 23:28:33.000000000 -0700 -@@ -59,6 +59,9 @@ - - #ifdef SYSDEP_DSP_ALSA - -+/* Eventually we should use the 1.0 API. */ -+#define ALSA_PCM_OLD_HW_PARAMS_API 1 -+ - #include <sys/ioctl.h> /* System and I/O control */ - #include <alsa/asoundlib.h> /* ALSA sound library header */ - #include "sysdep/sysdep_dsp.h" diff --git a/games-emulation/xmess/files/0.77.1-glx-fix.patch b/games-emulation/xmess/files/0.77.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/games-emulation/xmess/files/0.77.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/games-emulation/xmess/files/0.77.1-icc.patch b/games-emulation/xmess/files/0.77.1-icc.patch deleted file mode 100644 index 4e091bd550a4..000000000000 --- a/games-emulation/xmess/files/0.77.1-icc.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile 2003-12-31 10:09:34.498349816 -0500 -+++ Makefile.icc 2003-12-31 10:18:46.570422104 -0500 -@@ -266,7 +266,7 @@ - ifeq ($(CC),icc) - - # Optimizations for the Intel compiler. -- CFLAGS = -O3 -rcd -Xa -ipo -ipo_obj -+ CFLAGS = -O3 -rcd -ipo -ipo_obj -w - - else - ifeq ($(CC),sun-forte) ---- src/unix/osinline.h 2003-11-13 00:06:05.000000000 -0500 -+++ src/unix/osinline.h.icc 2003-12-31 10:19:16.673845688 -0500 -@@ -20,6 +20,7 @@ - #define osd_mark_vector_dirty(x,y) - #endif - -+#undef X86_ASM - #ifdef X86_ASM - #define vec_mult _vec_mult - INLINE int _vec_mult(int x, int y) diff --git a/games-emulation/xmess/files/0.78.1-glx-fix.patch b/games-emulation/xmess/files/0.78.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/games-emulation/xmess/files/0.78.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/games-emulation/xmess/files/0.78.1-icc.patch b/games-emulation/xmess/files/0.78.1-icc.patch deleted file mode 100644 index 4e091bd550a4..000000000000 --- a/games-emulation/xmess/files/0.78.1-icc.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile 2003-12-31 10:09:34.498349816 -0500 -+++ Makefile.icc 2003-12-31 10:18:46.570422104 -0500 -@@ -266,7 +266,7 @@ - ifeq ($(CC),icc) - - # Optimizations for the Intel compiler. -- CFLAGS = -O3 -rcd -Xa -ipo -ipo_obj -+ CFLAGS = -O3 -rcd -ipo -ipo_obj -w - - else - ifeq ($(CC),sun-forte) ---- src/unix/osinline.h 2003-11-13 00:06:05.000000000 -0500 -+++ src/unix/osinline.h.icc 2003-12-31 10:19:16.673845688 -0500 -@@ -20,6 +20,7 @@ - #define osd_mark_vector_dirty(x,y) - #endif - -+#undef X86_ASM - #ifdef X86_ASM - #define vec_mult _vec_mult - INLINE int _vec_mult(int x, int y) diff --git a/games-emulation/xmess/files/0.78.1-osd_die.patch b/games-emulation/xmess/files/0.78.1-osd_die.patch deleted file mode 100644 index c664052108a1..000000000000 --- a/games-emulation/xmess/files/0.78.1-osd_die.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- ./src/cpu/z80/z80.c.orig 2004-01-28 12:52:51.340762752 -0500 -+++ ./src/cpu/z80/z80.c 2004-01-28 12:53:35.817001336 -0500 -@@ -3991,6 +3991,14 @@ - /**************************************************************************** - * Processor initialization - ****************************************************************************/ -+void CLIB_DECL osd_die(const char *text,...) -+{ -+va_list va; -+va_start(va, text); -+vprintf(text, va); -+va_end(va); -+exit(1); -+} - void z80_init(void) - { - int cpu = cpu_getactivecpu(); diff --git a/games-emulation/xmess/files/0.80.1-glx-fix.patch b/games-emulation/xmess/files/0.80.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/games-emulation/xmess/files/0.80.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/games-emulation/xmess/files/0.80.1-icc.patch b/games-emulation/xmess/files/0.80.1-icc.patch deleted file mode 100644 index 4e091bd550a4..000000000000 --- a/games-emulation/xmess/files/0.80.1-icc.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile 2003-12-31 10:09:34.498349816 -0500 -+++ Makefile.icc 2003-12-31 10:18:46.570422104 -0500 -@@ -266,7 +266,7 @@ - ifeq ($(CC),icc) - - # Optimizations for the Intel compiler. -- CFLAGS = -O3 -rcd -Xa -ipo -ipo_obj -+ CFLAGS = -O3 -rcd -ipo -ipo_obj -w - - else - ifeq ($(CC),sun-forte) ---- src/unix/osinline.h 2003-11-13 00:06:05.000000000 -0500 -+++ src/unix/osinline.h.icc 2003-12-31 10:19:16.673845688 -0500 -@@ -20,6 +20,7 @@ - #define osd_mark_vector_dirty(x,y) - #endif - -+#undef X86_ASM - #ifdef X86_ASM - #define vec_mult _vec_mult - INLINE int _vec_mult(int x, int y) diff --git a/games-emulation/xmess/files/0.80.1-make.patch b/games-emulation/xmess/files/0.80.1-make.patch deleted file mode 100644 index 2b7d0bda8b00..000000000000 --- a/games-emulation/xmess/files/0.80.1-make.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -urN xmame-0.80.1/makefile.unix xmame-0.80.2/makefile.unix ---- xmame-0.80.1/makefile.unix 2004-03-16 07:10:18.615979992 -0600 -+++ xmame-0.80.2/makefile.unix 2004-03-16 07:10:36.664236240 -0600 -@@ -28,6 +28,12 @@ - ########################################################################### - - -+############################################################################## -+# Makefile Identification -+############################################################################## -+CURMAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) -+ -+ - ########################################################################### - # Xmame or xmess or...? - ########################################################################### -diff -urN xmame-0.80.1/src/unix/unix.mak xmame-0.80.2/src/unix/unix.mak ---- xmame-0.80.1/src/unix/unix.mak 2004-03-16 07:10:27.393645584 -0600 -+++ xmame-0.80.2/src/unix/unix.mak 2004-03-16 07:19:43.053172496 -0600 -@@ -147,7 +147,8 @@ - ZLIB = src/unix/contrib/cutzlib-1.2.1/libz.a - endif - --all: objdirs osdepend-objdirs $(NAME).$(DISPLAY_METHOD) -+all: objdirs osdepend-objdirs -+ $(MAKE) -f $(CURMAKEFILE) $(MAKEFLAGS) $(NAME).$(DISPLAY_METHOD) - - # CPU core include paths - VPATH = src $(wildcard src/cpu/*) diff --git a/games-emulation/xmess/files/0.81.1-glx-fix.patch b/games-emulation/xmess/files/0.81.1-glx-fix.patch deleted file mode 100644 index cbcb32d8a7dc..000000000000 --- a/games-emulation/xmess/files/0.81.1-glx-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unix/osd_cpu.h.orig 2004-04-20 14:30:49.000000000 -0700 -+++ src/unix/osd_cpu.h 2004-04-20 14:31:48.000000000 -0700 -@@ -38,7 +38,7 @@ - #endif - #endif - --#ifndef __ARCH_solaris -+#if !defined __ARCH_solaris && !defined xgl - /* grrr work around some stupid header conflicts */ - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; diff --git a/games-emulation/xmess/files/0.82.1-glx-fix.patch b/games-emulation/xmess/files/0.82.1-glx-fix.patch deleted file mode 100644 index cbcb32d8a7dc..000000000000 --- a/games-emulation/xmess/files/0.82.1-glx-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unix/osd_cpu.h.orig 2004-04-20 14:30:49.000000000 -0700 -+++ src/unix/osd_cpu.h 2004-04-20 14:31:48.000000000 -0700 -@@ -38,7 +38,7 @@ - #endif - #endif - --#ifndef __ARCH_solaris -+#if !defined __ARCH_solaris && !defined xgl - /* grrr work around some stupid header conflicts */ - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; diff --git a/games-emulation/xmess/files/0.88-glx-fix.patch b/games-emulation/xmess/files/0.88-glx-fix.patch deleted file mode 100644 index cbcb32d8a7dc..000000000000 --- a/games-emulation/xmess/files/0.88-glx-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/unix/osd_cpu.h.orig 2004-04-20 14:30:49.000000000 -0700 -+++ src/unix/osd_cpu.h 2004-04-20 14:31:48.000000000 -0700 -@@ -38,7 +38,7 @@ - #endif - #endif - --#ifndef __ARCH_solaris -+#if !defined __ARCH_solaris && !defined xgl - /* grrr work around some stupid header conflicts */ - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; diff --git a/games-emulation/xmess/files/digest-xmess-0.90 b/games-emulation/xmess/files/digest-xmess-0.90 deleted file mode 100644 index d95d41652f7c..000000000000 --- a/games-emulation/xmess/files/digest-xmess-0.90 +++ /dev/null @@ -1 +0,0 @@ -MD5 63ef58711f711c20d77f8d91cc4805c8 xmame-0.90.tar.bz2 15113067 diff --git a/games-emulation/xmess/files/digest-xmess-0.92 b/games-emulation/xmess/files/digest-xmess-0.92 deleted file mode 100644 index 83bae054966b..000000000000 --- a/games-emulation/xmess/files/digest-xmess-0.92 +++ /dev/null @@ -1 +0,0 @@ -MD5 f8f79a4de41ae67ebe8d0a444efe29c1 xmame-0.92.tar.bz2 15316807 diff --git a/games-emulation/xmess/xmess-0.90.ebuild b/games-emulation/xmess/xmess-0.90.ebuild deleted file mode 100644 index 5bd334f8980d..000000000000 --- a/games-emulation/xmess/xmess-0.90.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.90.ebuild,v 1.2 2005/02/12 20:48:12 mr_bones_ Exp $ - -inherit flag-o-matic gcc 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="3dfx alsa arts dga esd expat ggi joystick mmx net opengl sdl svga X xv" - -RDEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) - alsa? ( media-libs/alsa-lib ) - xv? ( virtual/x11 ) - dga? ( virtual/x11 ) - X? ( virtual/x11 ) - opengl? ( - virtual/x11 - virtual/opengl - virtual/glu ) - expat? ( dev-libs/expat ) - esd? ( >=media-sound/esound-0.2.29 ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts )" -DEPEND="${RDEPEND} - 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 '/^BUILD_EXPAT/s/^/#/' \ - -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" \ - Makefile \ - || die "sed Makefile failed" - - if use ppc ; then - sed -i \ - -e '/LD.*--relax/s:^# ::' Makefile \ - || die "sed Makefile (ppc/LD) failed" - fi - - - #toggle_feature x86 X86_ASM_68020 # Broken - toggle_feature x86 X86_ASM_68000 - toggle_feature x86 X86_MIPS3_DRC - toggle_feature2 x86 mmx EFFECT_MMX_ASM - toggle_feature joystick JOY_STANDARD - 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 - toggle_feature dga X11_DGA - toggle_feature xv X11_XV - toggle_feature expat BUILD_EXPAT - toggle_feature opengl X11_OPENGL - - 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) -eq 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 DISPLAY_METHOD=SDL || die "emake failed (SDL)" - disp=1 - fi - if use svga ; then - emake DISPLAY_METHOD=svgalib || 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 DISPLAY_METHOD=x11 || die "emake failed (x11)" - fi -} - -src_install() { - local disp=0 - - 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_LIBDIR}/${PN}" - doexe chdman || die "doexe failed" - if [[ ${PN} == "xmame" ]] ; then - doexe xml2info || die "doexe failed" - fi - - dodir "${GAMES_DATADIR}/${PN}" - cp -r ctrlr "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed" - dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo \ - || die "dodoc failed" - dohtml -r doc/* || die "dohtml failed" - - if [ ${disp} -eq 0 ] || use opengl || use X || use dga || use xv ; then - dosym "${TARGET}.x11" "${GAMES_BINDIR}/${TARGET}" - elif use sdl ; then - dosym "${TARGET}.SDL" "${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 - einfo "Your available MAME binaries are: ${TARGET}" - if useq opengl || useq X || useq dga || useq xv ; then - einfo " ${TARGET}.x11" - fi - useq sdl && einfo " ${TARGET}.SDL" - #useq ggi && einfo " ${TARGET}.ggi" - useq svga && einfo " ${TARGET}.svgalib" -} diff --git a/games-emulation/xmess/xmess-0.92.ebuild b/games-emulation/xmess/xmess-0.92.ebuild deleted file mode 100644 index 019e3d79793c..000000000000 --- a/games-emulation/xmess/xmess-0.92.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.92.ebuild,v 1.1 2005/02/26 06:46:39 mr_bones_ Exp $ - -inherit flag-o-matic gcc 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="3dfx alsa arts dga esd expat ggi joystick mmx net opengl sdl svga X xv" - -RDEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) - alsa? ( media-libs/alsa-lib ) - xv? ( virtual/x11 ) - dga? ( virtual/x11 ) - X? ( virtual/x11 ) - opengl? ( - virtual/x11 - virtual/opengl - virtual/glu ) - expat? ( dev-libs/expat ) - esd? ( >=media-sound/esound-0.2.29 ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts )" -DEPEND="${RDEPEND} - 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 '/^BUILD_EXPAT/s/^/#/' \ - -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" \ - Makefile \ - || die "sed Makefile failed" - - if use ppc ; then - sed -i \ - -e '/LD.*--relax/s:^# ::' Makefile \ - || die "sed Makefile (ppc/LD) failed" - fi - - - #toggle_feature x86 X86_ASM_68020 # Broken - toggle_feature x86 X86_ASM_68000 - toggle_feature x86 X86_MIPS3_DRC - toggle_feature2 x86 mmx EFFECT_MMX_ASM - toggle_feature joystick JOY_STANDARD - 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 - toggle_feature dga X11_DGA - toggle_feature xv X11_XV - toggle_feature expat BUILD_EXPAT - toggle_feature opengl X11_OPENGL - - 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) -eq 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 DISPLAY_METHOD=SDL || die "emake failed (SDL)" - disp=1 - fi - if use svga ; then - emake DISPLAY_METHOD=svgalib || 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 DISPLAY_METHOD=x11 || die "emake failed (x11)" - fi -} - -src_install() { - local disp=0 - - 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_LIBDIR}/${PN}" - doexe chdman || die "doexe failed" - if [[ ${PN} == "xmame" ]] ; then - doexe xml2info || die "doexe failed" - fi - - dodir "${GAMES_DATADIR}/${PN}" - cp -r ctrlr "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed" - dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo \ - || die "dodoc failed" - dohtml -r doc/* || die "dohtml failed" - - if [ ${disp} -eq 0 ] || use opengl || use X || use dga || use xv ; then - dosym "${TARGET}.x11" "${GAMES_BINDIR}/${TARGET}" - elif use sdl ; then - dosym "${TARGET}.SDL" "${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 - einfo "Your available MAME binaries are: ${TARGET}" - if useq opengl || useq X || useq dga || useq xv ; then - einfo " ${TARGET}.x11" - fi - useq sdl && einfo " ${TARGET}.SDL" - #useq ggi && einfo " ${TARGET}.ggi" - useq svga && einfo " ${TARGET}.svgalib" -} |