public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/atari800/files/, games-emulation/atari800/
Date: Mon, 15 Jun 2020 15:06:58 +0000 (UTC)	[thread overview]
Message-ID: <1592233615.c54581f067392f4c49be7def53230f6d7b84ab66.mgorny@gentoo> (raw)

commit:     c54581f067392f4c49be7def53230f6d7b84ab66
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 12:49:20 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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


             reply	other threads:[~2020-06-15 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 15:06 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-19  7:34 [gentoo-commits] repo/gentoo:master commit in: games-emulation/atari800/files/, games-emulation/atari800/ Michał Górny
2020-09-18  9:38 Michał Górny
2020-06-15 15:05 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592233615.c54581f067392f4c49be7def53230f6d7b84ab66.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox