New package. Fixes #5893
authorRyan Phillips <rphillips@gentoo.org>
Wed, 9 Oct 2002 22:45:26 +0000 (22:45 +0000)
committerRyan Phillips <rphillips@gentoo.org>
Wed, 9 Oct 2002 22:45:26 +0000 (22:45 +0000)
app-emulation/uae/ChangeLog [new file with mode: 0644]
app-emulation/uae/files/digest-uae-0.8.22 [new file with mode: 0644]
app-emulation/uae/files/uae-patch.diff [new file with mode: 0644]
app-emulation/uae/uae-0.8.22.ebuild [new file with mode: 0644]

diff --git a/app-emulation/uae/ChangeLog b/app-emulation/uae/ChangeLog
new file mode 100644 (file)
index 0000000..9a83884
--- /dev/null
@@ -0,0 +1,14 @@
+# ChangeLog for app-emulation/uae
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/ChangeLog,v 1.1 2002/10/09 22:45:26 rphillips Exp $
+
+*uae-0.8.22 (9 Oct 2002)
+
+  9 Oct 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+  
+  Added initial ChangeLog which should be updated whenever the package is
+  updated in any way. This changelog is targetted to users. This means that the
+  comments should well explained and written in clean English. The details about
+  writing correct changelogs are explained in the skel.ChangeLog file which you
+  can find in the root directory of the portage repository.
+
diff --git a/app-emulation/uae/files/digest-uae-0.8.22 b/app-emulation/uae/files/digest-uae-0.8.22
new file mode 100644 (file)
index 0000000..758316c
--- /dev/null
@@ -0,0 +1 @@
+MD5 f3d1d0fabf6fa626dc531687cb2bb94d uae-0.8.22.tar.gz 937486
diff --git a/app-emulation/uae/files/uae-patch.diff b/app-emulation/uae/files/uae-patch.diff
new file mode 100644 (file)
index 0000000..b8d5f12
--- /dev/null
@@ -0,0 +1,10 @@
+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.ebuild b/app-emulation/uae/uae-0.8.22.ebuild
new file mode 100644 (file)
index 0000000..99ef7de
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# 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.1 2002/10/09 22:45:26 rphillips Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="An amiga emulator"
+HOMEPAGE="http://www.freiburg.linux.de/~uae/"
+LICENSE="GPL"
+DEPEND="X? ( virtual/x11 gtk? ( x11-libs/gtk+ ) ) : ( sys-libs/ncurses svgalib? ( media-libs/svgalib ) )
+               sdl? media-libs/libsdl"
+SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz"
+SLOT="0"
+KEYWORDS="x86"
+
+
+src_compile() {
+       local myopt
+       myopt="";
+
+       if [ `use X` ];
+          then
+             myopt="--with-x --enable-dga --enable-vidmode\
+                     --with-sdl --with-sdl-sound --with-sdl-gfx";
+
+               use gtk && myopt="$myopt --enable-ui";
+               use gtk || myopt="$myopt --disable-ui";
+          else
+              if [ `use svgalib` ];
+                 then
+                    myopt="--with-svgalib";
+                 else
+                    myopt="--with-asciiart";
+                 fi
+       fi
+
+       patch -p0 < ${FILESDIR}/uae-patch.diff
+       ./configure \
+               --host=${CHOST} \
+               --prefix=/usr \
+               --enable-threads \
+                --enable-scsi-device \
+                               ${myopt} || die "./configure failed"
+       
+       emake || die
+}
+
+src_install () {
+       dobin uae readdisk
+       mv docs/unix/README docs/README.unix
+       dodoc docs/*
+
+       insinto /usr/share/uae/amiga-tools
+       doins amiga/{*hack,trans*,uae*}
+}
+