diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-10 13:28:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-10 13:28:28 +0000 |
commit | 73d62867906738ed8153cc5cbfa10d51208915dd (patch) | |
tree | 6b3c19ba5cb7e501c3c3c61213bbc679f8fdaea0 /games-emulation/xmame | |
parent | hppa stable (diff) | |
download | gentoo-2-73d62867906738ed8153cc5cbfa10d51208915dd.tar.gz gentoo-2-73d62867906738ed8153cc5cbfa10d51208915dd.tar.bz2 gentoo-2-73d62867906738ed8153cc5cbfa10d51208915dd.zip |
old
(Portage version: 2.1)
Diffstat (limited to 'games-emulation/xmame')
-rw-r--r-- | games-emulation/xmame/Manifest | 30 | ||||
-rw-r--r-- | games-emulation/xmame/files/0.83.1-glx-fix.patch | 11 | ||||
-rw-r--r-- | games-emulation/xmame/files/digest-xmame-0.83.1 | 1 | ||||
-rw-r--r-- | games-emulation/xmame/xmame-0.83.1.ebuild | 274 |
4 files changed, 4 insertions, 312 deletions
diff --git a/games-emulation/xmame/Manifest b/games-emulation/xmame/Manifest index b70e74b3953b..df84571e52c1 100644 --- a/games-emulation/xmame/Manifest +++ b/games-emulation/xmame/Manifest @@ -1,25 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 0.83.1-glx-fix.patch 386 RMD160 2d96a0ee2180fedd2ff7ea5451409df00632c099 SHA1 431c2ff0f522141be82690939d36b38d2114b3c4 SHA256 144f079f1845610a9bae8992bfec677eba63c46dfb9c86187db978df848dae06 -MD5 240bd404f0deb6cd68bf6a98a5fb76db files/0.83.1-glx-fix.patch 386 -RMD160 2d96a0ee2180fedd2ff7ea5451409df00632c099 files/0.83.1-glx-fix.patch 386 -SHA256 144f079f1845610a9bae8992bfec677eba63c46dfb9c86187db978df848dae06 files/0.83.1-glx-fix.patch 386 DIST xmame-0.105.tar.bz2 16396769 RMD160 18bbf5ece81518ca4f71d903cfae755ee0393122 SHA1 3a07eff861c949e4cdc1e924934fd913443f5d66 SHA256 b09e388dc126e45e3889b11b94003be87bfadf0ef44edb5ee4c42e06cd5f0e14 DIST xmame-0.106.tar.bz2 17117298 RMD160 eab4fa232d59fce5b2216f942f8bc58a992f8d26 SHA1 7ae50f869067e101e053ca18e6f788297fcad9e2 SHA256 a385d86adebc2eb53b560bb522cf569569a74c4104605a8e7d61f1caa0f5e4df -DIST xmame-0.83.1.tar.bz2 12914490 EBUILD xmame-0.105.ebuild 6477 RMD160 341e0047f6f56ed530550e591617be9217ffa809 SHA1 9a25aebf4e77e845a39e8ce657c3dcbc81c33cd7 SHA256 5c5844b9cd7dfd21094faaac9c26db55b18a7e2816e6648b02e3d3bc9618b143 MD5 f23364a05eb3f70f12568e95f98c098f xmame-0.105.ebuild 6477 RMD160 341e0047f6f56ed530550e591617be9217ffa809 xmame-0.105.ebuild 6477 SHA256 5c5844b9cd7dfd21094faaac9c26db55b18a7e2816e6648b02e3d3bc9618b143 xmame-0.105.ebuild 6477 -EBUILD xmame-0.106.ebuild 6524 RMD160 75150c3bcf0f2d023b805f7c522ec8875249f425 SHA1 35e0689f447f0ea033d34cb67bedd5bca7d488dc SHA256 4e2597d371382400030494b801946e9536e7025160f0e1d097ea4aed0306b7d9 -MD5 e1138cbd833070107a45b2d76e30dd74 xmame-0.106.ebuild 6524 -RMD160 75150c3bcf0f2d023b805f7c522ec8875249f425 xmame-0.106.ebuild 6524 -SHA256 4e2597d371382400030494b801946e9536e7025160f0e1d097ea4aed0306b7d9 xmame-0.106.ebuild 6524 -EBUILD xmame-0.83.1.ebuild 7235 RMD160 0ba7b50980bb924c5b9e7172f1b1ca74c383dba3 SHA1 f9ea8fe73fedf447d6a0b8b76a742548bef64140 SHA256 4e1a9ad28867ed325b033f8ea59a11ea4e02b32693a23d7e9e2646915a07b8c1 -MD5 4b0a4f42fbcdb0c9a77f711ced6c6f8d xmame-0.83.1.ebuild 7235 -RMD160 0ba7b50980bb924c5b9e7172f1b1ca74c383dba3 xmame-0.83.1.ebuild 7235 -SHA256 4e1a9ad28867ed325b033f8ea59a11ea4e02b32693a23d7e9e2646915a07b8c1 xmame-0.83.1.ebuild 7235 +EBUILD xmame-0.106.ebuild 6521 RMD160 d751f0009d8d72300233e3368489960abdc4196d SHA1 b6d3e4528820e4398703bdbf915c02162bcea15d SHA256 dc4eff33b88a1daa08ca5d5b3f8e4d04ec30a91d807d4a12f6ce86b586a28b38 +MD5 d3cfdfbff848f8a3099c56a2bb7910c4 xmame-0.106.ebuild 6521 +RMD160 d751f0009d8d72300233e3368489960abdc4196d xmame-0.106.ebuild 6521 +SHA256 dc4eff33b88a1daa08ca5d5b3f8e4d04ec30a91d807d4a12f6ce86b586a28b38 xmame-0.106.ebuild 6521 MISC ChangeLog 854 RMD160 e20413a2bd065ad1e9f25b2b9c27f7a03dfaf2d9 SHA1 1ffd2b0e785dce258ae1d2b443839241aba5d391 SHA256 8ea96dfee7c813dda6e554b084fdd1a054d4d3f78579455ebf807729e8577b09 MD5 cd41ede9dc91835803684e13902151be ChangeLog 854 RMD160 e20413a2bd065ad1e9f25b2b9c27f7a03dfaf2d9 ChangeLog 854 @@ -34,13 +22,3 @@ SHA256 9c79281a4fb664f71e42c8e3fd0e817f6c63d122e95c0614fb6bbe5c8053d305 files/di MD5 92bcfe81c9bc0dd9f9d23ddb0b6fc98a files/digest-xmame-0.106 244 RMD160 4d5c9965a93b675399a8c95039c862646e7df30b files/digest-xmame-0.106 244 SHA256 b7e298dafb087d05ebe39c9c30a75634b715561a1a224f6309215e996463c435 files/digest-xmame-0.106 244 -MD5 bd94e56aecab93b1d9e02b6fb3d8a0e9 files/digest-xmame-0.83.1 67 -RMD160 700e60dd7c6a5e8841cce61a71911b8a6ffa6b3d files/digest-xmame-0.83.1 67 -SHA256 2f2fabb6e7c57150c78cd0de68b95b95a3ef0395e7ae790db2850d24af1212c1 files/digest-xmame-0.83.1 67 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFEh2mwkT4lNIS36YERAjGhAJ0aEUqAH2jZ0QmwBSn/zesL1ufxlQCguGJx -gCzG/pqoONoFrEEaruUDB8w= -=wCjY ------END PGP SIGNATURE----- diff --git a/games-emulation/xmame/files/0.83.1-glx-fix.patch b/games-emulation/xmame/files/0.83.1-glx-fix.patch deleted file mode 100644 index cbcb32d8a7dc..000000000000 --- a/games-emulation/xmame/files/0.83.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/xmame/files/digest-xmame-0.83.1 b/games-emulation/xmame/files/digest-xmame-0.83.1 deleted file mode 100644 index 8c751db379f7..000000000000 --- a/games-emulation/xmame/files/digest-xmame-0.83.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d524570f1a2aa516798c873be9c25ebd xmame-0.83.1.tar.bz2 12914490 diff --git a/games-emulation/xmame/xmame-0.83.1.ebuild b/games-emulation/xmame/xmame-0.83.1.ebuild deleted file mode 100644 index 443a62811537..000000000000 --- a/games-emulation/xmame/xmame-0.83.1.ebuild +++ /dev/null @@ -1,274 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.83.1.ebuild,v 1.7 2006/03/24 21:44:57 wolf31o2 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="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick net" - -RDEPEND="sys-libs/zlib - alsa? ( media-libs/alsa-lib ) - arts? ( kde-base/arts ) - dga? ( || ( ( x11-libs/libXxf86dga - x11-libs/libXxf86vm - ) - virtual/x11 - ) - ) - esd? ( >=media-sound/esound-0.2.29 ) - 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 virtual/x11 ) ) - xv? ( || ( x11-libs/libXv virtual/x11 ) ) - X? ( || ( x11-libs/libXext virtual/x11 ) )" -DEPEND="${RDEPEND} - dga? ( || ( ( x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - ) - virtual/x11 - ) - ) - xinerama? ( || ( x11-proto/xineramaproto virtual/x11 ) ) - xv? ( || ( x11-proto/videoproto virtual/x11 ) ) - x86? ( dev-lang/nasm )" -# Icc sucks. bug #41342 -# icc? ( dev-lang/icc ) - -S="${WORKDIR}/xmame-${PV}" - -src_unpack() { - unpack ${A} - cd ${S} - epatch "${FILESDIR}/${PV}-glx-fix.patch" - sed -i \ - -e 's:JOY_BUTTONS 16:JOY_BUTTONS 32:' src/unix/devices.h \ - || die "setting joybuttons failed" #36818 - - case "${ARCH}" in - x86) - sed -i \ - -e '/X86_ASM_68000 =/s:#::' \ - -e '/X86_MIPS3_DRC =/s:#::' Makefile \ - || die "sed Makefile (x86) failed" - if use joystick ; then - sed -i \ - -e '/JOY_I386.*=/s:#::' Makefile \ - || die "sed Makefile (joystick) failed" - fi - ;; - ia64) - sed -i \ - -e '/^MY_CPU/s:i386:ia64:' Makefile \ - || die "sed Makefile (ia64) failed" - if use joystick ; then - sed -i \ - -e '/JOY_I386.*=/s:#::' Makefile \ - || die "sed Makefile (joystick) failed" - fi - ;; - amd64) - sed -i \ - -e '/^MY_CPU/s:i386:amd64:' Makefile \ - || die "sed Makefile (amd64) failed" - if use joystick ; then - sed -i \ - -e '/JOY_I386.*=/s:#::' Makefile \ - || die "sed Makefile (joystick) failed" - fi - ;; - ppc) - sed -i \ - -e '/^MY_CPU/s:i386:risc:' Makefile \ - || die "sed Makefile (ppc) failed" - sed -i \ - -e '/^LD\t= $(CC) -Wl,-s/s:$: -Wl,--relax:' Makefile \ - || die "sed Makefile (ppc) failed" - ;; - sparc|hppa) - sed -i \ - -e '/^MY_CPU/s:i386:risc:' Makefile \ - || die "sed Makefile (sparc|hppa) failed" - ;; - alpha) - sed -i \ - -e '/^MY_CPU/s:i386:alpha:' Makefile \ - || die "sed Makefile (alpha) failed" - ;; - mips) - sed -i \ - -e '/^MY_CPU/s:i386:mips:' Makefile \ - || die "sed Makefile (mips) failed" - ;; - esac - - if use net ; then - sed -i \ - -e '/XMAME_NET/s:#::' Makefile \ - || die "sed Makefile (net) failed" - fi - if use esd ; then - sed -i \ - -e '/SOUND_ESOUND/s:#::' Makefile \ - || die "sed Makefile (esd) failed" - fi - if use alsa ; then - sed -i \ - -e '/SOUND_ALSA/s:#::' Makefile \ - || die "sed Makefile (alsa) failed" - fi - if use arts ; then - sed -i \ - -e '/SOUND_ARTS/s:#::' Makefile \ - || die "sed Makefile (arts) failed" - fi - if use sdl ; then - sed -i \ - -e '/SOUND_SDL/s:#::' Makefile \ - || die "sed Makefile (sdl) failed" - fi - if use dga ; then - sed -i \ - -e '/X11_DGA/s:#::' Makefile \ - || die "sed Makefile (dga) failed" - if use 3dfx ; then - sed -i \ - -e '/TDFX_DGA_WORKAROUND/s:#::' Makefile \ - || die "sed Makefile (dga) failed" - fi - fi - - if use xv ; then - sed -i \ - -e '/X11_XV/s:#::' Makefile \ - || die "sed Makefile (xv) failed" - fi - - case ${ARCH} in - x86|ia64) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math - [ $(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 - ;; - # amd64 no likey the -ffast-math - bug #54270 - amd64) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce - ;; - 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 "/^PREFIX/s:=.*:=/usr:" \ - -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 "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile \ - || die "sed Makefile 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 - fi - if use opengl ; then - emake DISPLAY_METHOD=xgl || die "emake failed (xgl)" - disp=1 - fi - if [ ${disp} -eq 0 ] || 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:Xmame:${TARGET}:g" \ - -e "s:xmame:${TARGET}:g" doc/*.6 \ - || die "sed man pages failed" - 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 - fi - if use opengl ; then - make DISPLAY_METHOD=xgl install || die "install failed (xgl)" - disp=1 - fi - if [ ${disp} -eq 0 ] || use X || use dga || use xv ; then - make DISPLAY_METHOD=x11 install || die "install failed (x11)" - 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 use opengl ; then - dosym "${TARGET}.xgl" "${GAMES_BINDIR}/${TARGET}" - elif [ ${disp} -eq 0 ] || 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 use X || use dga || use xv ; then - einfo " ${TARGET}.x11" - fi - use sdl > /dev/null && einfo " ${TARGET}.SDL" - use ggi > /dev/null && einfo " ${TARGET}.ggi" - use svga > /dev/null && einfo " ${TARGET}.svgalib" - use opengl > /dev/null && einfo " ${TARGET}.xgl" -} |