Portage is a package management system used by Gentoo Linux
# ChangeLog for app-emulation/basiliskII-jit
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog,v 1.12 2008/07/30 17:07:45 darkside Exp $
30 Jul 2008; Jeremy Olexa
basiliskII-jit-1.0_pre20060501.ebuild:
Fix REDPEND to not block itself. Originally, this package was going to be
called something else, changed at last minute. Thanks to Mr_Bones_ in irc
for reporting
28 Jul 2008; Doug Goldstein
add GLEP 56 USE flag desc from use.local.desc
*basiliskII-jit-1.0_pre20060501 (17 Jul 2008)
17 Jul 2008; Jeremy Olexa
+basiliskII-jit-1.0_pre20060501.ebuild:
Version bump of sorts, merged code bases resulted in a lower version number
upstream. Thanks to Eric me262 Mason for the ebuild in bug #227763
21 Apr 2008; Christian Heim
Fix up metadata.xml. If there's no maintainer for the package, the metadata
also needs to contain m-needed@g.o.
25 Jan 2007; Marius Mauch
basiliskII-jit-1.0.0-r1.ebuild:
Replacing einfo with elog
20 Oct 2006; Stefan Schweizer
basiliskII-jit-1.0.0-r1.ebuild:
ebuild fixes thanks jakub, bug 152159
28 Sep 2004; Daniel Black
basiliskII-jit-1.0.0-r1.ebuild:
forgot -j1 as per prev bug report. Added inherit eutils too.
27 Sep 2004; Daniel Black
+files/basiliskII-jit-gcc34.patch, basiliskII-jit-1.0.0-r1.ebuild:
Patches to fix with gcc-3.4 by fn_x@hotmail.com in bug #65444
*basiliskII-jit-1.0.0-r1 (02 Sep 2004)
02 Sep 2004; David Holm
-basiliskII-jit-1.0.0.ebuild:
Renamed binary to BasiliskII-jit in order to avoid name conflict (bug #62571).
*basiliskII-jit-1.0.0 (21 Mar 2004)
21 Mar 2004; David Holm
metadata.xml:
This ebuild was incorrectly placed in the basiliskII directory. I have moved
it here since it is a fork of basiliskII and not the same project.
AUX basiliskII-jit-gcc34.patch 939 RMD160 5b4b323a8fba9bf9fa28d1b021d75ed4d38646ab SHA1 c2849bbe20842f7c77028d769e37bd49055b0630 SHA256 5d4b0cf5d95c23bdbe9a0bd7f4cc3fa4fe8ec6484e6b55566a4b3f7b76454b1b
DIST BasiliskII-jit-1.0-mdk-src.tar.bz2 597741 RMD160 de93a13c9f571aea17a4ed53a248dd3b3963036d SHA1 8dc31f7b2dfb2771963ae35526fa3ee440247718 SHA256 66ab2c7074ba3c60de51b40bfd2d42788cd91f8ac59e39dd77e811c48c02a7f5
DIST BasiliskII_src_01052006.tar.bz2 1310908 RMD160 bb1a061c504bd7d28b869e0eec2806cf8a79cf8d SHA1 6373b33adf6caec53c5d1ed46a00adcac89ad3bb SHA256 6782f2ed3587d7790557a0994f5b7472d7a27ded0f1598b9380efabde16bd3cc
EBUILD basiliskII-jit-1.0.0-r1.ebuild 3544 RMD160 3e593333971533031193e49201bbaf2629b29b22 SHA1 b45b56f7a0efbe060696d3fa07336c8fa759435f SHA256 4d016c6f40296dfc1cb8234aa98a30cdd6c5e2ea8480eae4a74e8815a6ebe51c
EBUILD basiliskII-jit-1.0_pre20060501.ebuild 2455 RMD160 6cc872c6182ebb7607155f07ee16c8ee80942cc7 SHA1 7e5eb8f16bc3e14e1d5558e3825585a06d767381 SHA256 d85c300162ff5da2a27252f77c7050ae523c220667bf2babc4cd0942200f9db9
MISC ChangeLog 2158 RMD160 ff1afa427c5b9b38c8f7643e542480a209490b76 SHA1 aa2c8f1f9eb0b0b1cfd022d87b2ffa9f3bd3d114 SHA256 bfff98eed7269db477418918cc9d2b3092a56f23e58ef7f0554ad68a53b9f203
MISC metadata.xml 794 RMD160 f41d54a0d44212abe56016055971b1c10d429f1e SHA1 ac922f9030eac85c864635fb374f84595f19a003 SHA256 1649e3b462de7c7247a5641ec8cfffbcee4c10bfb13f66e71fbf17dc96948565
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild,v 1.7 2007/01/25 21:59:36 genone 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
S="${WORKDIR}/BasiliskII-jit-1.0/src/Unix"
DESCRIPTION="Basilisk II/JIT Macintosh Emulator"
HOMEPAGE="http://gwenole.beauchesne.online.fr/basilisk2/"
SRC_URI="http://hometown.aol.de/wimdk/files/BasiliskII-jit-1.0-mdk-src.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2.1 )"
KEYWORDS="x86 -ppc"
SLOT="0"
IUSE="dga esd gtk nls sdl xv"
### 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
RDEPEND="esd? ( media-sound/esound )
gtk? ( =x11-libs/gtk+-1.2* gnome-base/libgnomeui )
!sdl? ( dga? ( x11-libs/libXxf86dga ) )
sdl? ( media-libs/libsdl )
nls? ( virtual/libintl )
x11-libs/libSM
x11-libs/libXi
x11-libs/libXxf86vm
!app-emulation/basiliskII"
DEPEND="${RDEPEND}
!sdl? ( dga? ( x11-proto/xf86dgaproto ) )
nls? ( sys-devel/gettext )
x11-proto/xf86vidmodeproto
x11-proto/xextproto
x11-proto/xproto
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/basiliskII-jit-gcc34.patch
# Fix up the vendor (bug 35352)
sed -i \
-e "s/Mandrake/Gentoo/g" ${S}/keycodes || \
die "sed keycods failed"
#prevent prestripped binary
cd "${S}"
sed -i -e '/^INSTALL_PROGRAM/s/-s//' Makefile.in
if use sdl && use dga ; then
elog "SDL support was requested, DGA will be disabled"
fi
}
src_compile() {
#fpu_x86 doesnt compile properly if -O3 or greater :(
replace-flags -O[3-9] -O2
local myflags
### Default ./configure options are all =yes by default. we'll check for
### and use -values and switch them accordingly
use esd || myflags="${myflags} --with-esd=no"
use gtk || myflags="${myflags} --with-gtk=no"
use dga || myflags="${myflags} --enable-xf86-dga=no"
use nls || myflags="${myflags} --disable-nls"
use sdl && myflags="${myflags} \
--enable-sdl-video=yes \
--enable-sdl-audio=yes"
use xv || myflags="${myflags} --enable-xf86-vidmode=no"
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--enable-jit-compiler \
${myflags} || die "./configure failed"
#hack to link against libstdc++ for gcc3.x compatibility
sed -i \
-e 's:-o $(OBJ_DIR)/gencpu:-lstdc++ -o $(OBJ_DIR)/gencpu:' \
Makefile || die "sed Makefile failed"
emake -j1 || die "emake failed"
}
src_install() {
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die "make install failed"
mv ${D}/usr/bin/BasiliskII ${D}/usr/bin/BasiliskII-jit
mv ${D}/usr/share/man/man1/BasiliskII.1 \
${D}/usr/share/man/man1/BasiliskII-jit.1
cd ../..
dodoc ChangeLog README TECH TODO TODO.JIT
### 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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0_pre20060501.ebuild,v 1.2 2008/07/30 17:07:45 darkside Exp $
inherit flag-o-matic eutils
S="${WORKDIR}/BasiliskII-1.0/src/Unix"
DESCRIPTION="Basilisk II Macintosh Emulator"
HOMEPAGE="http://gwenole.beauchesne.info/projects/basilisk2/"
SRC_URI="http://gwenole.beauchesne.info/projects/basilisk2/files/BasiliskII_src_01052006.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2.1 )"
KEYWORDS="~x86 -ppc"
SLOT="0"
IUSE="dga esd fbdev gtk jit nls sdl xv"
RDEPEND="esd? ( media-sound/esound )
!sdl? ( fbdev? ( x11-drivers/xf86-video-fbdev ) )
gtk? ( >=x11-libs/gtk+-1.3.15 gnome-base/libgnomeui )
!sdl? ( dga? ( x11-libs/libXxf86dga ) )
sdl? ( media-libs/libsdl )
nls? ( virtual/libintl )
x11-libs/libSM
x11-libs/libXi
x11-libs/libXxf86vm"
DEPEND="${RDEPEND}
!sdl? ( dga? ( x11-proto/xf86dgaproto ) )
nls? ( sys-devel/gettext )
x11-proto/xf86vidmodeproto
x11-proto/xextproto
x11-proto/xproto
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd "${S}"
# Fix up the vendor (bug 35352)
sed -i \
-e "s/Mandrake/Gentoo/g" keycodes || \
die "sed keycodes failed"
#prevent prestripped binary
sed -i -e '/^INSTALL_PROGRAM/s/-s//' Makefile.in
if ( use sdl && ( use fbdev || use dga ) ) ; then
elog "SDL support was requested, disabling DGA and fbdev"
elif ( use dga && use fbdev ) ; then
elog "DGA support was requested, disabling fbdev"
fi
}
src_compile() {
#fpu_x86 doesnt compile properly if -O3 or greater :(
replace-flags -O[3-9] -O2
local myflags
use jit && myflags="--enable-jit-compiler"
econf $(use_with esd) \
$(use_with gtk) \
$(use_with dga xf86-dga) \
$(use_with fbdev-dga) \
$(use_enable nls) \
$(use_enable sdl sdl-video) \
$(use_enable sdl sdl-audio) \
$(use_enable xv xf86-vidmode) \
${myflags}
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
cd ../../
dodoc ChangeLog README TECH TODO
}
pkg_postinst() {
einfo ""
einfo "Please read the README doc file for information on networking"
einfo "in Basilisk II."
einfo ""
einfo "Basilisk II requires a Mac II or Mac Classic ROM to work."
einfo ""
einfo "Mac OS 7.5.3r2 is available freely from the Apple Homepage."
einfo ""
einfo "System ROMs can be retreived from a real Mac, see info/man pages."
}
Basilisk II is an Open Source 680x0 Macintosh emulator developed by
Christian Bauer. The Basilisk II/JIT project aims at providing a
dynamically recompiling 680x0 cpu core to the original Basilisk II. This
is achieved thanks to the adaptation of Bernie Meyer's excellent
just-in-time (JIT) compiler for UAE to Basilisk II.