From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FBA51382C5 for ; Mon, 15 Jun 2020 15:07:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E567AE0968; Mon, 15 Jun 2020 15:07:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2F48E0967 for ; Mon, 15 Jun 2020 15:07:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83ECB34EFBB for ; Mon, 15 Jun 2020 15:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DFD61EF for ; Mon, 15 Jun 2020 15:06:58 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1592233615.c54581f067392f4c49be7def53230f6d7b84ab66.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/atari800/files/, games-emulation/atari800/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/atari800/Manifest games-emulation/atari800/atari800-4.2.0.ebuild games-emulation/atari800/files/atari800-4.2.0.cfg X-VCS-Directories: games-emulation/atari800/ games-emulation/atari800/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c54581f067392f4c49be7def53230f6d7b84ab66 X-VCS-Branch: master Date: Mon, 15 Jun 2020 15:06:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 09268d86-5bcd-44e8-a2b1-4eeb1ee0e916 X-Archives-Hash: b1d9898787de2ee6638442f35f0d3076 commit: c54581f067392f4c49be7def53230f6d7b84ab66 Author: Michał Górny gentoo org> AuthorDate: Mon Jun 15 12:49:20 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jun 15 15:06:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c54581f0 games-emulation/atari800: Bump to 4.2.0 Signed-off-by: Michał Górny gentoo.org> games-emulation/atari800/Manifest | 1 + games-emulation/atari800/atari800-4.2.0.ebuild | 73 +++++++++++++++++++++++ games-emulation/atari800/files/atari800-4.2.0.cfg | 31 ++++++++++ 3 files changed, 105 insertions(+) diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest index 825004ae740..c03a9b49edc 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 00000000000..dd100857854 --- /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 00000000000..6e79c110dbd --- /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