summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-02-19 13:03:07 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-02-19 13:03:07 -0600
commit105caf31efb9576c3073f03517c2d7f9361f9319 (patch)
tree9cf34f3c41e638aada3bebb62dd78359e064ec46 /app-emulation
parent8e62aae4e2010137de56d8ff8e5ed0e423e1643a (diff)
downloadpackages-105caf31efb9576c3073f03517c2d7f9361f9319.tar.gz
packages-105caf31efb9576c3073f03517c2d7f9361f9319.tar.bz2
packages-105caf31efb9576c3073f03517c2d7f9361f9319.tar.xz
packages-105caf31efb9576c3073f03517c2d7f9361f9319.zip
app-emulation/BasiliskII: New package
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/BasiliskII/BasiliskII-1.0_p20161217.ebuild45
-rw-r--r--app-emulation/BasiliskII/Manifest1
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emulation/BasiliskII/BasiliskII-1.0_p20161217.ebuild b/app-emulation/BasiliskII/BasiliskII-1.0_p20161217.ebuild
new file mode 100644
index 000000000..23416df16
--- /dev/null
+++ b/app-emulation/BasiliskII/BasiliskII-1.0_p20161217.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2017 Adélie Linux Team
+# Distributed under the terms of the NCSA License
+
+EAPI=6
+
+S="${WORKDIR}/${PN}/src/Unix"
+AT_M4DIR="${S}/m4"
+
+inherit autotools
+
+DESCRIPTION="A cross-platform 68k Macintosh emulator"
+HOMEPAGE="http://basilisk.cebix.net/"
+SRC_URI="mirror://foxkit/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 m68k ppc ppc64 sparc64 x86 x86_64"
+IUSE="bincue gtk +jit +sdl"
+
+REQUIRED_USE="bincue? ( sdl )"
+
+DEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ sdl? ( media-libs/libsdl[sound,video] )
+ !sdl? (
+ x11-libs/libXext
+ x11-libs/libX11
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare () {
+ default
+ eautoreconf
+}
+
+src_configure () {
+ econf \
+ $(use_enable jit jit-compiler) \
+ $(use_enable sdl sdl-video) \
+ $(use_enable sdl sdl-audio) \
+ --enable-addressing=direct \
+ $(use_with gtk) \
+ $(use_with bincue)
+}
diff --git a/app-emulation/BasiliskII/Manifest b/app-emulation/BasiliskII/Manifest
new file mode 100644
index 000000000..2575ce548
--- /dev/null
+++ b/app-emulation/BasiliskII/Manifest
@@ -0,0 +1 @@
+DIST BasiliskII-1.0_p20161217.tar.xz 824416 SHA256 5a68e0733d0c5cd860999baf4c00d19821b60dbdfc4f996468799f53c425701f SHA512 dec5e9bbebfc24ae10a36805d9fd72ab03532466b06870e8eb0fdb771b775d6024634a3a8a693d0edeefa86b4fe3b69ef9596f074bd8b195a2db5f544f6f967a WHIRLPOOL f9038ec6d18596c6c6af65cebb532de72f8c5629ca5b40d9127a02c2653367000bb9ba83d6883e37a9b24fb7160d0d88596496dbb8c6738c02f89d337bf97ed2