diff options
author | Peter Volkov <pva@gentoo.org> | 2006-12-14 17:50:32 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2006-12-14 17:50:32 +0000 |
commit | 60c7c5218891d372aa1c71f8fd7bfdb8054a16ae (patch) | |
tree | ee7d75f7ed2af1173c9787fdf13ad80fe607ffad /app-emulation/uae | |
parent | Bumping version in hope that somebody take a look at this package and attach ... (diff) | |
download | gentoo-2-60c7c5218891d372aa1c71f8fd7bfdb8054a16ae.tar.gz gentoo-2-60c7c5218891d372aa1c71f8fd7bfdb8054a16ae.tar.bz2 gentoo-2-60c7c5218891d372aa1c71f8fd7bfdb8054a16ae.zip |
Bumping version in hope that somebody take a look at this package and attach patches at b.g.o. Cleaning out old versions.
(Portage version: 2.1.1-r2)
(Unsigned Manifest commit)
Diffstat (limited to 'app-emulation/uae')
-rw-r--r-- | app-emulation/uae/Manifest | 39 | ||||
-rw-r--r-- | app-emulation/uae/files/digest-uae-0.8.22 | 1 | ||||
-rw-r--r-- | app-emulation/uae/files/digest-uae-0.8.22-r1 | 1 | ||||
-rw-r--r-- | app-emulation/uae/files/digest-uae-0.8.24 | 1 | ||||
-rw-r--r-- | app-emulation/uae/files/uae-0.8.22-alsa-support.diff | 323 | ||||
-rw-r--r-- | app-emulation/uae/files/uae-patch.diff | 10 | ||||
-rw-r--r-- | app-emulation/uae/uae-0.8.22-r1.ebuild | 67 | ||||
-rw-r--r-- | app-emulation/uae/uae-0.8.22.ebuild | 62 | ||||
-rw-r--r-- | app-emulation/uae/uae-0.8.24.ebuild | 60 |
9 files changed, 19 insertions, 545 deletions
diff --git a/app-emulation/uae/Manifest b/app-emulation/uae/Manifest index 778bf7fb886f..2fed32e0da19 100644 --- a/app-emulation/uae/Manifest +++ b/app-emulation/uae/Manifest @@ -1,21 +1,20 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 6feb17ff442210f38ae20e0aa5558c3b uae-0.8.22.ebuild 1293 -MD5 807e92f7fa89c3f028725141b97a8e51 uae-0.8.24.ebuild 1273 -MD5 ffdbea5c29ac3b103ff6ace56db8a770 uae-0.8.22-r1.ebuild 1399 -MD5 800d59bca6b74f54268ca8c63af928ee metadata.xml 668 -MD5 a4074dae5e75fe11b88de59b4c98e02c ChangeLog 4057 -MD5 827829b7999933c091736f210ef9903e files/uae-0.8.22-alsa-support.diff 10321 +AUX split_cpuemu.pl 498 RMD160 90013cfcd99bdc4841e3dcf80140294b5f4be19a SHA1 a810ff551a79d272979941b7702efd9dc70d49da SHA256 90e12bb45cc2fdb481da2fa69b23083bcccad65bed772c9d983fb768e9917ee5 MD5 77b204c71d52f0a0423054b5a9b8a0cb files/split_cpuemu.pl 498 -MD5 1ff2a8aad09cc3871732f041caacd162 files/digest-uae-0.8.24 62 -MD5 b2fac0f21ee34abaa6279cf7ad023119 files/digest-uae-0.8.22-r1 62 -MD5 4d3af2d2cc2945b006249066cb8c7adb files/uae-patch.diff 364 -MD5 b2fac0f21ee34abaa6279cf7ad023119 files/digest-uae-0.8.22 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDKzWLLLFUmVNQ7rkRAoXIAJwNU9lw2g92YG1KTSGYuafbYK7IXQCguZtE -NzFJ0YQ5hXV6lm+5uUEtZQg= -=1V3w ------END PGP SIGNATURE----- +RMD160 90013cfcd99bdc4841e3dcf80140294b5f4be19a files/split_cpuemu.pl 498 +SHA256 90e12bb45cc2fdb481da2fa69b23083bcccad65bed772c9d983fb768e9917ee5 files/split_cpuemu.pl 498 +DIST uae-0.8.25.tar.gz 970727 RMD160 6990dc7aaf43c8bda0d7b86e6d0ae164209d1eb1 SHA1 41b7a70cf672d3cc516bd3856a051459a95a6517 SHA256 611a7e04dd77080d87c7e9680aed997ed2be45116eec91613eb36a85235a686a +EBUILD uae-0.8.25.ebuild 2398 RMD160 a14eec228330ffda57b03957b7f9b27cabe3dbcf SHA1 1c310552d3752f60d4b54476f33100afa358931e SHA256 7b9b71ab2a38f9924f3fb4cdb3ad142760bdf4ade54ecc9d65ac49a81ef3fa20 +MD5 11980ca8da32c87f373f5ded3c648f66 uae-0.8.25.ebuild 2398 +RMD160 a14eec228330ffda57b03957b7f9b27cabe3dbcf uae-0.8.25.ebuild 2398 +SHA256 7b9b71ab2a38f9924f3fb4cdb3ad142760bdf4ade54ecc9d65ac49a81ef3fa20 uae-0.8.25.ebuild 2398 +MISC ChangeLog 4401 RMD160 e66162cea2a90478ab6f025b5b076db8ed57ea60 SHA1 e2a88dbd314d59d1b9f085e80bda943c8f3fb270 SHA256 cf6de140b88c32bcf898d0c691bf577f00979acb46353a076c4cf1ed21405aef +MD5 77b843ae2663ccfbd4e81fc89adb5a00 ChangeLog 4401 +RMD160 e66162cea2a90478ab6f025b5b076db8ed57ea60 ChangeLog 4401 +SHA256 cf6de140b88c32bcf898d0c691bf577f00979acb46353a076c4cf1ed21405aef ChangeLog 4401 +MISC metadata.xml 668 RMD160 b7ba19a061d3ca237bfeca2709346e8cf3fe86f3 SHA1 910d7f0379c233559cb51ebca71a2fe8009689fa SHA256 afa4747772ac1eaa54ff9a14804f1b466500192c932d6849ce1a27ff2af29bcc +MD5 800d59bca6b74f54268ca8c63af928ee metadata.xml 668 +RMD160 b7ba19a061d3ca237bfeca2709346e8cf3fe86f3 metadata.xml 668 +SHA256 afa4747772ac1eaa54ff9a14804f1b466500192c932d6849ce1a27ff2af29bcc metadata.xml 668 +MD5 a8bc45a7e84ed5c37b6181d628edbfe4 files/digest-uae-0.8.25 232 +RMD160 e19483b6ed38d300d83062a22cdd2eb8d9b432ba files/digest-uae-0.8.25 232 +SHA256 f63c9f0dbc9851c5809d8f55e5c62f14376dc0ab0a4873da6b41be8eb50cbb14 files/digest-uae-0.8.25 232 diff --git a/app-emulation/uae/files/digest-uae-0.8.22 b/app-emulation/uae/files/digest-uae-0.8.22 deleted file mode 100644 index 758316cf25dc..000000000000 --- a/app-emulation/uae/files/digest-uae-0.8.22 +++ /dev/null @@ -1 +0,0 @@ -MD5 f3d1d0fabf6fa626dc531687cb2bb94d uae-0.8.22.tar.gz 937486 diff --git a/app-emulation/uae/files/digest-uae-0.8.22-r1 b/app-emulation/uae/files/digest-uae-0.8.22-r1 deleted file mode 100644 index 758316cf25dc..000000000000 --- a/app-emulation/uae/files/digest-uae-0.8.22-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 f3d1d0fabf6fa626dc531687cb2bb94d uae-0.8.22.tar.gz 937486 diff --git a/app-emulation/uae/files/digest-uae-0.8.24 b/app-emulation/uae/files/digest-uae-0.8.24 deleted file mode 100644 index 66235bf7e971..000000000000 --- a/app-emulation/uae/files/digest-uae-0.8.24 +++ /dev/null @@ -1 +0,0 @@ -MD5 0f6f7d605dc0b6048f3c1bda63e052bc uae-0.8.24.tar.gz 947439 diff --git a/app-emulation/uae/files/uae-0.8.22-alsa-support.diff b/app-emulation/uae/files/uae-0.8.22-alsa-support.diff deleted file mode 100644 index 2e13fbbc7374..000000000000 --- a/app-emulation/uae/files/uae-0.8.22-alsa-support.diff +++ /dev/null @@ -1,323 +0,0 @@ -diff -uNr uae-0.8.22-org/configure.in uae-0.8.22/configure.in ---- uae-0.8.22-org/configure.in 2004-09-11 20:16:30.151434416 +0300 -+++ uae-0.8.22/configure.in 2004-09-11 20:16:41.469713776 +0300 -@@ -230,7 +230,8 @@ - AC_ARG_WITH(svgalib,[ --with-svgalib Use SVGAlib for graphics output],[WANT_SVGALIB=$withval],[]) - AC_ARG_WITH(sdl,[ --with-sdl Use SDL library for low-level functions],[WANT_SDL=$withval],[]) - AC_ARG_WITH(sdl-sound,[ --with-sdl-sound Use SDL library for sound],[WANT_SDLSND=$withval],[]) --AC_ARG_WITH(sdl-gfx,[ --with-sdl-gfx Use SDL library for graphics],[WANT_SDLGFX=$withval],[]) -+AC_ARG_WITH(sdl-gfx,[ --with-sdl-gfx Use SDL library for graphics],[WANT_SDLGFX=$withval],[]) -+AC_ARG_WITH(alsa,[ --with-alsa Use ALSA library for sound],[WANT_ALSA=$withval],[]) - AC_ARG_WITH(asciiart,[ --with-asciiart Use ncurses ascii art for graphics output],[WANT_ASCIIART=$withval],[]) - AC_ARG_ENABLE(dga,[ --enable-dga X11 version: Use the DGA extension],[WANT_DGA=$enableval],[]) - AC_ARG_ENABLE(vidmode,[ --enable-vidmode X11 version: Use the XF86VidMode extension],[WANT_VIDMODE=$enableval],[]) -@@ -256,6 +257,10 @@ - fi - fi - -+if [[ "x$WANT_ALSA" = "xyes" ]]; then -+ LIBS="$LIBS -lasound" -+fi -+ - if [[ "x$WANT_DGA" = "xyes" ]]; then - if [[ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]]; then - echo "You can't enable DGA for SVGAlib, SDL and ncurses targets!" -@@ -853,6 +858,10 @@ - SOUNDDEP=sd-sdl - USE_SOUND=yes - NEED_THREAD_SUPPORT=yes -+else if [[ "x$WANT_ALSA" = "xyes" ]]; then -+ AC_MSG_RESULT(ALSA) -+ SOUNDDEP=sd-alsa -+ USE_SOUND=yes - else if [[ "x$HAVE_USS_SOUND" = "xyes" ]]; then - AC_MSG_RESULT(USS) - SOUNDDEP=sd-uss -@@ -910,6 +919,7 @@ - fi - fi - fi -+fi - - if [[ "x$NEED_THREAD_SUPPORT" = "xyes" ]]; then - if [[ "x$USE_THREADS" != "xyes" ]]; then -diff -uNr uae-0.8.22-org/src/sd-alsa/sound.c uae-0.8.22/src/sd-alsa/sound.c ---- uae-0.8.22-org/src/sd-alsa/sound.c 1970-01-01 02:00:00.000000000 +0200 -+++ uae-0.8.22/src/sd-alsa/sound.c 2004-09-11 20:17:00.390837328 +0300 -@@ -0,0 +1,188 @@ -+ /* -+ * UAE - The Un*x Amiga Emulator -+ * -+ * Support for Linux/ALSA sound -+ * -+ * Copyright 1997 Bernd Schmidt -+ * Copyright 2004 Heikki Orsila -+ * -+ * BUGS: certainly -+ * TODO: -+ * - if setup_sound() fails, there may still be hope to get the -+ * sound device, but we totally give up.. see sd-uss. -+ */ -+ -+#include "sysconfig.h" -+#include "sysdeps.h" -+ -+#include "config.h" -+#include "options.h" -+#include "memory.h" -+#include "events.h" -+#include "custom.h" -+#include "gensound.h" -+#include "sounddep/sound.h" -+ -+#include <alsa/asoundlib.h> -+ -+int sound_fd; -+static int have_sound = 0; -+static unsigned long formats; -+ -+uae_u16 sndbuffer[44100]; -+uae_u16 *sndbufpt; -+int sndbufsize; -+ -+snd_pcm_t *alsa_playback_handle = 0; -+int alsa_to_frames_divisor = 4; -+ -+void close_sound (void) -+{ -+ if (alsa_playback_handle) { -+ snd_pcm_close (alsa_playback_handle); -+ alsa_playback_handle = 0; -+ } -+} -+ -+static int open_sound(void) -+{ -+ return snd_pcm_open (&alsa_playback_handle, "default", SND_PCM_STREAM_PLAYBACK, 0); -+} -+ -+/* Try to determine whether sound is available. This is only for GUI purposes. */ -+int setup_sound (void) -+{ -+ int err; -+ sound_available = 0; -+ if ((err = open_sound()) < 0) { -+ /* TODO: if the pcm was busy, we should the same as sd-uss does. -+ tell the caller that sound is available. in any other -+ condition we should just return 0. */ -+ fprintf (stderr, "cannot open audio device (%s)\n", snd_strerror (err)); -+ return 0; -+ } -+ snd_pcm_close (alsa_playback_handle); -+ alsa_playback_handle = 0; -+ sound_available = 1; -+ return 1; -+} -+ -+int init_sound (void) -+{ -+ int tmp; -+ int rate; -+ int dspbits; -+ int alsamode; -+ int channels; -+ int err; -+ snd_pcm_hw_params_t *hw_params; -+ snd_pcm_uframes_t buffer_frames; -+ -+ dspbits = currprefs.sound_bits; -+ channels = currprefs.stereo ? 2 : 1; -+ rate = currprefs.sound_freq; -+ -+ have_sound = 0; -+ alsa_playback_handle = 0; -+ if ((err = open_sound()) < 0) { -+ fprintf (stderr, "cannot open audio device (%s)\n", snd_strerror (err)); -+ goto nosound; -+ } -+ -+ if (currprefs.sound_maxbsiz < 128 || currprefs.sound_maxbsiz > 16384) { -+ fprintf (stderr, "Sound buffer size %d out of range.\n", currprefs.sound_maxbsiz); -+ currprefs.sound_maxbsiz = 8192; -+ } -+ sndbufsize = currprefs.sound_maxbsiz; -+ -+ if ((err = snd_pcm_hw_params_malloc (&hw_params)) < 0) { -+ fprintf (stderr, "cannot allocate hardware parameter structure (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ if ((err = snd_pcm_hw_params_any (alsa_playback_handle, hw_params)) < 0) { -+ fprintf (stderr, "cannot initialize hardware parameter structure (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ if ((err = snd_pcm_hw_params_set_access (alsa_playback_handle, hw_params, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) { -+ fprintf (stderr, "cannot set access type (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ switch (dspbits) { -+ case 8: -+ alsamode = SND_PCM_FORMAT_U8; -+ break; -+ case 16: -+ alsamode = SND_PCM_FORMAT_S16; -+ break; -+ default: -+ fprintf(stderr, "%d bit samples not supported with uae's alsa\n", dspbits); -+ goto nosound; -+ } -+ -+ if ((err = snd_pcm_hw_params_set_format (alsa_playback_handle, hw_params, alsamode)) < 0) { -+ fprintf (stderr, "cannot set sample format (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ if ((err = snd_pcm_hw_params_set_channels (alsa_playback_handle, hw_params, channels)) < 0) { -+ fprintf (stderr, "cannot set channel count (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ if ((err = snd_pcm_hw_params_set_rate_near (alsa_playback_handle, hw_params, &rate, 0)) < 0) { -+ fprintf (stderr, "cannot set sample rate (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ alsa_to_frames_divisor = channels * dspbits / 8; -+ buffer_frames = sndbufsize / alsa_to_frames_divisor; -+ if ((err = snd_pcm_hw_params_set_period_size_near(alsa_playback_handle, hw_params, &buffer_frames, 0)) < 0) { -+ fprintf (stderr, "cannot set period size near (%s)\n", snd_strerror (err)); -+ goto nosound; -+ } -+ -+ if ((err = snd_pcm_hw_params (alsa_playback_handle, hw_params)) < 0) { -+ fprintf (stderr, "cannot set parameters (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ snd_pcm_hw_params_free (hw_params); -+ -+ if ((err = snd_pcm_prepare (alsa_playback_handle)) < 0) { -+ fprintf (stderr, "cannot prepare audio interface for use (%s)\n", -+ snd_strerror (err)); -+ goto nosound; -+ } -+ -+ scaled_sample_evtime = (unsigned long) MAXHPOS_PAL * MAXVPOS_PAL * VBLANK_HZ_PAL * CYCLE_UNIT / rate; -+ scaled_sample_evtime_ok = 1; -+ -+ if (dspbits == 16) { -+ init_sound_table16 (); -+ sample_handler = currprefs.stereo ? sample16s_handler : sample16_handler; -+ } else { -+ init_sound_table8 (); -+ sample_handler = currprefs.stereo ? sample8s_handler : sample8_handler; -+ } -+ have_sound = 1; -+ sound_available = 1; -+ printf ("Sound driver found and configured for %d bits at %d Hz, buffer is %d bytes\n", dspbits, rate, sndbufsize); -+ -+ sndbufpt = sndbuffer; -+ return 1; -+ -+ nosound: -+ have_sound = 0; -+ close_sound(); -+ return 0; -+} -diff -uNr uae-0.8.22-org/src/sd-alsa/sound.h uae-0.8.22/src/sd-alsa/sound.h ---- uae-0.8.22-org/src/sd-alsa/sound.h 1970-01-01 02:00:00.000000000 +0200 -+++ uae-0.8.22/src/sd-alsa/sound.h 2004-09-11 20:16:41.470713624 +0300 -@@ -0,0 +1,84 @@ -+ /* -+ * UAE - The Un*x Amiga Emulator -+ * -+ * Support for Linux/ALSA sound -+ * -+ * Copyright 1997 Bernd Schmidt -+ * Copyright 2004 Heikki Orsila -+ */ -+ -+#include <alsa/asoundlib.h> -+ -+extern int sound_fd; -+extern uae_u16 sndbuffer[]; -+extern uae_u16 *sndbufpt; -+extern int sndbufsize; -+extern snd_pcm_t *alsa_playback_handle; -+extern int alsa_to_frames_divisor; -+ -+/* alsa_xrun_recovery() function is copied from ALSA manual. why the hell did -+ they make ALSA this hard?! i bet 95% of ALSA programmers would like a -+ simpler way to do error handling.. let the 5% use tricky APIs. -+*/ -+static int alsa_xrun_recovery(snd_pcm_t *handle, int err) -+{ -+ if (err == -EPIPE) { -+ /* under-run */ -+ err = snd_pcm_prepare(handle); -+ if (err < 0) -+ fprintf(stderr, "uae: no recovery with alsa from underrun, prepare failed: %s\n", snd_strerror(err)); -+ return 0; -+ } else if (err == -ESTRPIPE) { -+ while ((err = snd_pcm_resume(handle)) == -EAGAIN) { -+ /* wait until the suspend flag is released */ -+ fprintf(stderr, "uae: sleeping for alsa.\n"); -+ sleep(1); -+ } -+ if (err < 0) { -+ err = snd_pcm_prepare(handle); -+ if (err < 0) -+ fprintf(stderr, "uae: no recovery with alsa from suspend, prepare failed: %s\n", snd_strerror(err)); -+ } -+ return 0; -+ } -+ return err; -+} -+ -+static void check_sound_buffers (void) -+{ -+ if ((char *)sndbufpt - (char *)sndbuffer >= sndbufsize) { -+ int frames = sndbufsize / alsa_to_frames_divisor; -+ char *buf = (char *) sndbuffer; -+ int ret; -+ while (frames > 0) { -+ ret = snd_pcm_writei(alsa_playback_handle, buf, frames); -+ if (ret < 0) { -+ if (ret == -EAGAIN || ret == -EINTR) -+ continue; -+ if (alsa_xrun_recovery(alsa_playback_handle, ret) < 0) { -+ fprintf(stderr, "uae: write error with alsa: %s\n", snd_strerror(ret)); -+ exit(-1); -+ } -+ continue; -+ } -+ frames -= ret; -+ buf += ret * alsa_to_frames_divisor; -+ } -+ sndbufpt = sndbuffer; -+ } -+} -+ -+#define PUT_SOUND_BYTE(b) do { *(uae_u8 *)sndbufpt = b; sndbufpt = (uae_u16 *)(((uae_u8 *)sndbufpt) + 1); } while (0) -+#define PUT_SOUND_WORD(b) do { *(uae_u16 *)sndbufpt = b; sndbufpt = (uae_u16 *)(((uae_u8 *)sndbufpt) + 2); } while (0) -+#define PUT_SOUND_BYTE_LEFT(b) PUT_SOUND_BYTE(b) -+#define PUT_SOUND_WORD_LEFT(b) PUT_SOUND_WORD(b) -+#define PUT_SOUND_BYTE_RIGHT(b) PUT_SOUND_BYTE(b) -+#define PUT_SOUND_WORD_RIGHT(b) PUT_SOUND_WORD(b) -+#define SOUND16_BASE_VAL 0 -+#define SOUND8_BASE_VAL 128 -+ -+#define DEFAULT_SOUND_MAXB 8192 -+#define DEFAULT_SOUND_MINB 8192 -+#define DEFAULT_SOUND_BITS 16 -+#define DEFAULT_SOUND_FREQ 44100 -+#define HAVE_STEREO_SUPPORT diff --git a/app-emulation/uae/files/uae-patch.diff b/app-emulation/uae/files/uae-patch.diff deleted file mode 100644 index b8d5f125831b..000000000000 --- a/app-emulation/uae/files/uae-patch.diff +++ /dev/null @@ -1,10 +0,0 @@ -diff -u src.orig/Makefile.in src/Makefile.in ---- src.orig/Makefile.in Wed Sep 25 23:26:37 2002 -+++ src/Makefile.in Wed Sep 25 23:27:09 2002 -@@ -122,7 +122,7 @@ - - cpufast.s: cpuemu.c tools/cpuopti - $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp.s -- ./tools/cpuopti <cputmp.s >$@ -+ cp cputmp.s $@ - rm cputmp.s diff --git a/app-emulation/uae/uae-0.8.22-r1.ebuild b/app-emulation/uae/uae-0.8.22-r1.ebuild deleted file mode 100644 index 1388512a9b15..000000000000 --- a/app-emulation/uae/uae-0.8.22-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.22-r1.ebuild,v 1.3 2005/01/01 14:18:27 eradicator Exp $ - -inherit eutils - -DESCRIPTION="The Umiquious Amiga Emulator" -HOMEPAGE="http://www.freiburg.linux.de/~uae/" -SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="X gtk svga sdl alsa" - -DEPEND="virtual/libc - X? ( - virtual/x11 - gtk? ( x11-libs/gtk+ ) - ) - !X? ( - sys-libs/ncurses - svga? ( media-libs/svgalib ) - ) - sdl? ( media-libs/libsdl )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/uae-patch.diff - epatch ${FILESDIR}/${P}-alsa-support.diff -} - -src_compile() { - local myconf="" - - if use X; then - myconf="--with-x --enable-dga --enable-vidmode --with-sdl --with-sdl-sound --with-sdl-gfx" - myconf="$myconf `use_enable gtk ui`" - else - if use svga; then - myconf="--with-svgalib"; - else - myconf="--with-asciiart"; - fi - fi - - if use alsa; then - myconf="$myconf --with-alsa" - fi - - econf \ - --enable-threads \ - --enable-scsi-device \ - ${myconf} || die "./configure failed" - - emake -j1 || die "emake failed" -} - -src_install() { - dobin uae readdisk || die - cp docs/unix/README docs/README.unix - dodoc docs/* - - insinto /usr/share/uae/amiga-tools - doins amiga/{*hack,trans*,uae*} -} diff --git a/app-emulation/uae/uae-0.8.22.ebuild b/app-emulation/uae/uae-0.8.22.ebuild deleted file mode 100644 index e83a92110abe..000000000000 --- a/app-emulation/uae/uae-0.8.22.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.22.ebuild,v 1.18 2005/01/01 14:18:27 eradicator Exp $ - -inherit eutils - -DESCRIPTION="The Umiquious Amiga Emulator" -HOMEPAGE="http://www.freiburg.linux.de/~uae/" -SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc amd64" -IUSE="X gtk svga sdl" - -DEPEND="virtual/libc - X? ( - virtual/x11 - gtk? ( x11-libs/gtk+ ) - ) - !X? ( - sys-libs/ncurses - svga? ( media-libs/svgalib ) - ) - sdl? ( media-libs/libsdl )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/uae-patch.diff -} - -src_compile() { - local myconf="" - - if use X ; then - myconf="--with-x --enable-dga --enable-vidmode --with-sdl --with-sdl-sound --with-sdl-gfx" - myconf="$myconf `use_enable gtk ui`" - else - if use svga ; then - myconf="--with-svgalib"; - else - myconf="--with-asciiart"; - fi - fi - - econf \ - --enable-threads \ - --enable-scsi-device \ - ${myconf} || die "./configure failed" - - emake -j1 || die "emake failed" -} - -src_install() { - dobin uae readdisk || die - cp docs/unix/README docs/README.unix - dodoc docs/* - - insinto /usr/share/uae/amiga-tools - doins amiga/{*hack,trans*,uae*} -} diff --git a/app-emulation/uae/uae-0.8.24.ebuild b/app-emulation/uae/uae-0.8.24.ebuild deleted file mode 100644 index 8070176af400..000000000000 --- a/app-emulation/uae/uae-0.8.24.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.24.ebuild,v 1.1 2005/07/09 22:57:09 dholm Exp $ - -inherit eutils - -DESCRIPTION="The Umiquious Amiga Emulator" -HOMEPAGE="http://www.freiburg.linux.de/~uae/" -SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="X gtk svga sdl alsa" - -DEPEND="virtual/libc - X? ( - virtual/x11 - gtk? ( x11-libs/gtk+ ) - ) - !X? ( - sys-libs/ncurses - svga? ( media-libs/svgalib ) - ) - sdl? ( media-libs/libsdl )" - -src_compile() { - local myconf="" - - if use X; then - myconf="--with-x --enable-dga --enable-vidmode --with-sdl --with-sdl-sound --with-sdl-gfx" - myconf="$myconf `use_enable gtk ui`" - else - if use svga; then - myconf="--with-svgalib"; - else - myconf="--with-asciiart"; - fi - fi - - if use alsa; then - myconf="$myconf --with-alsa" - fi - - econf \ - --enable-threads \ - --enable-scsi-device \ - ${myconf} || die "./configure failed" - - emake -j1 || die "emake failed" -} - -src_install() { - dobin uae readdisk || die - cp docs/unix/README docs/README.unix - dodoc docs/* - - insinto /usr/share/uae/amiga-tools - doins amiga/{*hack,trans*,uae*} -} |