From 105caf31efb9576c3073f03517c2d7f9361f9319 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 19 Feb 2017 13:03:07 -0600 Subject: app-emulation/BasiliskII: New package --- .../BasiliskII/BasiliskII-1.0_p20161217.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 app-emulation/BasiliskII/BasiliskII-1.0_p20161217.ebuild (limited to 'app-emulation/BasiliskII/BasiliskII-1.0_p20161217.ebuild') 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) +} -- cgit v1.2.3-70-g09d2