diff options
Diffstat (limited to 'games-emulation/atari800')
-rw-r--r-- | games-emulation/atari800/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/atari800/atari800-4.2.0.ebuild | 73 | ||||
-rw-r--r-- | games-emulation/atari800/files/atari800-4.2.0.cfg | 31 |
3 files changed, 105 insertions, 0 deletions
diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest index 825004ae740c..c03a9b49edc5 100644 --- a/games-emulation/atari800/Manifest +++ b/games-emulation/atari800/Manifest @@ -1,2 +1,3 @@ DIST atari800-3.1.0.tar.gz 1492289 BLAKE2B cad7a3111bf714321d01aff1f8b30408efc1eca0876d9b795395d62d18eabdf78b71d3b2af887e8ba03e33e3824fcd5b45070e39cddd0e5ad0bda2d853f724b1 SHA512 c8f035c9be000c67dd854a14a236d165e6e2d30b5138f8772c6ea5c5290b0410525570e3ed9dcb2f9bcb129f97a36e6eef5993f0a5ad3cc993c6b59b127bcabe +DIST atari800-4.2.0-src.tgz 7047710 BLAKE2B eac4b2da03d2ff5ec9e18dda41e0345975ed16c1cee23d15d2633211b7d4835b7a26c79fbf1672bb9ce3b82d52c7273e717371a0065ba29807f76d823eeb9855 SHA512 1236a8e05bf878e4514ae8e9f1556e0961a7f11ff0333eef415af455d217f712d5c6ededdd343dff6ba1aab777e19997bf9ecb859408187d69fc141301ecba31 DIST xf25.zip 188942 BLAKE2B c10b9108eebc571ac334ea6fca76d227e3d2fcde1595e8823a3d178dc31d9efa9b209572ee03875461289093615470192cf5c9a06cf0b4363d097a9eac201db4 SHA512 306612fc2af41ed10d76103af83e141cfd8bd3ba2ea3cbd1d0b81d4d5b0108c06948a5c626648c8a2424536757a42a3f8b9af1fb63fa3c31096447ffed0f9923 diff --git a/games-emulation/atari800/atari800-4.2.0.ebuild b/games-emulation/atari800/atari800-4.2.0.ebuild new file mode 100644 index 000000000000..dd1008578547 --- /dev/null +++ b/games-emulation/atari800/atari800-4.2.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop autotools + +DESCRIPTION="Atari 800 emulator" +HOMEPAGE="https://atari800.github.io/" +SRC_URI=" + https://github.com/atari800/atari800/releases/download/ATARI800_${PV//./_}/${P}-src.tgz + https://sourceforge.net/projects/${PN}/files/ROM/Original%20XL%20ROM/xf25.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="opengl readline +sdl +sound" + +RDEPEND=" + sdl? ( + >=media-libs/libsdl-1.2.0[opengl?,sound?,video] + ) + !sdl? ( + sys-libs/ncurses:= + ) + readline? ( + sys-libs/readline:= + sys-libs/ncurses:= + ) + media-libs/libpng:= + sys-libs/zlib +" +DEPEND=${RDEPEND} +BDEPEND=" + app-arch/unzip +" + +src_prepare() { + default + + # Bug 544608 + eapply -p2 "${FILESDIR}/atari800-3.1.0-tgetent-detection.patch" + eautoreconf +} + +src_configure() { + local video=ncurses + local sound=no + + if use sdl; then + video=sdl + use sound && sound=sdl + elif use sound; then + sound=oss + fi + + local myconf=( + $(use_with opengl) + $(use_with readline) + --with-video=${video} + --with-sound=${sound} + ) + econf "${myconf[@]}" +} + +src_install() { + default + insinto "/usr/share/${PN}" + doins "${WORKDIR}/"*.ROM + insinto /etc + newins "${FILESDIR}"/atari800-4.2.0.cfg atari800.cfg + newicon data/atari2.svg ${PN}.svg + make_desktop_entry ${PN} "Atari 800 emulator" +} diff --git a/games-emulation/atari800/files/atari800-4.2.0.cfg b/games-emulation/atari800/files/atari800-4.2.0.cfg new file mode 100644 index 000000000000..6e79c110dbd8 --- /dev/null +++ b/games-emulation/atari800/files/atari800-4.2.0.cfg @@ -0,0 +1,31 @@ +Atari 800 Emulator, Version 4.2.0 +ROM_OS_A_NTSC= +ROM_OS_A_PAL= +ROM_OS_B_NTSC= +ROM_OS_AA00R10= +ROM_OS_AA00R11= +ROM_OS_BB00R1= +ROM_OS_BB01R2=/usr/share/atari800/ATARIXL.ROM +ROM_OS_BB02R3= +ROM_OS_BB02R3V4= +ROM_OS_CC01R4= +ROM_OS_BB01R3= +ROM_OS_BB01R4= +ROM_OS_BB01R59= +ROM_OS_BB01R59A= +ROM_5200= +ROM_5200_A= +ROM_BASIC_A= +ROM_BASIC_B= +ROM_BASIC_C=/usr/share/atari800/ATARIBAS.ROM +ROM_XEGAME= +ROM_400/800_CUSTOM=/usr/share/atari800/ATARIOSB.ROM +ROM_XL/XE_CUSTOM=/usr/share/atari800/ATARIXL.ROM +ROM_5200_CUSTOM= +ROM_BASIC_CUSTOM=/usr/share/atari800/ATARIBAS.ROM +ROM_XEGAME_CUSTOM= +OS_400/800_VERSION=AUTO +OS_XL/XE_VERSION=AUTO +OS_5200_VERSION=AUTO +BASIC_VERSION=AUTO +XEGS_GAME_VERSION=AUTO |