summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/basiliskII')
-rw-r--r--app-emulation/basiliskII/ChangeLog8
-rw-r--r--app-emulation/basiliskII/Manifest2
-rw-r--r--app-emulation/basiliskII/basiliskII-1.0.0_pre20050412.ebuild79
-rw-r--r--app-emulation/basiliskII/files/digest-basiliskII-1.0.0_pre200504121
4 files changed, 89 insertions, 1 deletions
diff --git a/app-emulation/basiliskII/ChangeLog b/app-emulation/basiliskII/ChangeLog
index d53660be5178..97149f6699e5 100644
--- a/app-emulation/basiliskII/ChangeLog
+++ b/app-emulation/basiliskII/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/basiliskII
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/ChangeLog,v 1.15 2005/01/01 14:08:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/ChangeLog,v 1.16 2005/04/12 09:56:07 dholm Exp $
+
+*basiliskII-1.0.0_pre20050412 (12 Apr 2005)
+
+ 12 Apr 2005; David Holm <dholm@gentoo.org>
+ +basiliskII-1.0.0_pre20050412.ebuild:
+ Version bumped (hoping to fix bug #68644)
28 Sep 2004; Daniel Black <dragonheart@gentoo.org>
basiliskII-1.0.0_pre20020115.ebuild:
diff --git a/app-emulation/basiliskII/Manifest b/app-emulation/basiliskII/Manifest
index 2b11b942451e..0ca62ab35ba4 100644
--- a/app-emulation/basiliskII/Manifest
+++ b/app-emulation/basiliskII/Manifest
@@ -1,5 +1,7 @@
MD5 6bc9965ffbb334031fe83516cd397f61 ChangeLog 2542
MD5 0874cb7c09fbbb4301a43dc9ec7d50de basiliskII-1.0.0_pre20020115.ebuild 2685
MD5 53062b17bc63eab61e30867d93446703 metadata.xml 454
+MD5 bbbc29d53d9778cc8d8b610e03551614 basiliskII-1.0.0_pre20050412.ebuild 2550
MD5 8d473aa97b40ed58727e0e364223a39c files/digest-basiliskII-1.0.0_pre20020115 75
MD5 6873919eb3ff20c0acc6b1a7525fbd56 files/basiliskII-gcc34.patch 2193
+MD5 63ff1a9ccaba02f8135a8319b00071bb files/digest-basiliskII-1.0.0_pre20050412 82
diff --git a/app-emulation/basiliskII/basiliskII-1.0.0_pre20050412.ebuild b/app-emulation/basiliskII/basiliskII-1.0.0_pre20050412.ebuild
new file mode 100644
index 000000000000..13a98f4ba47f
--- /dev/null
+++ b/app-emulation/basiliskII/basiliskII-1.0.0_pre20050412.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/basiliskII-1.0.0_pre20050412.ebuild,v 1.1 2005/04/12 09:56:07 dholm Exp $
+
+inherit flag-o-matic eutils
+
+### This package requires a Mac II/Classic ROM, A Mac OS Image
+### Mac OS 7.5.3r2 is available freely from the Apple Homepage
+### System ROMS can be retreived from a 'real' Mac, See info/man pages
+
+DESCRIPTION="Basilisk II Macintosh Emulator"
+HOMEPAGE="http://www.uni-mainz.de/~bauec002/B2Main.html"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X gtk xv esd dga"
+
+### We'll set $S Manually, it's version dependant, and nested strangely.
+S=${WORKDIR}/${P}/src/Unix
+
+### fbdev support in the stable release... the cvs branch is broken, period!
+### gtk and esd support are compile time options, we'll check the usual
+### use variables here and set ./configure options accordingly
+
+DEPEND="esd? ( media-sound/esound )
+ gtk? ( =x11-libs/gtk+-1.2* )"
+
+
+src_compile() {
+ #fpu_x86 doesnt compile properly if -O3 or greater :(
+ replace-flags -O[3-9] -O2
+
+ strip-flags -mpowerpc-gfxopt
+
+ local myflags
+
+### Default ./configure options are all =yes by default. we'll check for
+### and use -values and switch them accordingly
+
+ use X || myflags="${myflags} --with-x=no"
+ use esd || myflags="${myflags} --with-esd=no"
+ use gtk || myflags="${myflags} --with-gtk=no"
+ use dga || myflags="${myflags} --with-dga=no"
+ use xv || myflags="${myflags} --enable-xf86-vidmode=no"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ ${myflags} || die "BasiliskII ./configure Failed"
+
+ #hack to link against libstdc++ for gcc3.x compatibility
+ cp Makefile Makefile.old
+ sed -e 's:-o $(OBJ_DIR)/gencpu:-lstdc++ -o $(OBJ_DIR)/gencpu:' \
+ Makefile.old > Makefile
+
+ emake -j1 || die "BasiliskII Make Failed"
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die "BasiliskII Make Install Failed"
+
+### Networking is _disabled_ in this revision, hopefully -r2 will
+### resolve the permissions issue / linux src compilation problem
+### that prevents it's inclusion
+
+### Uncomment the following, and read the manual _carefully_ if you really
+### need networking, this will create a sheep_net.o kernel module that
+### provides (effectivly) an ethernet bridge between basliskII and the kernel
+
+# make modules
+}
diff --git a/app-emulation/basiliskII/files/digest-basiliskII-1.0.0_pre20050412 b/app-emulation/basiliskII/files/digest-basiliskII-1.0.0_pre20050412
new file mode 100644
index 000000000000..96b031e21888
--- /dev/null
+++ b/app-emulation/basiliskII/files/digest-basiliskII-1.0.0_pre20050412
@@ -0,0 +1 @@
+MD5 385f96efa4e9a20a4d26f87e5545ac59 basiliskII-1.0.0_pre20050412.tar.bz2 1014307