public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/stella/
Date: Tue, 23 Jan 2024 09:28:13 +0000 (UTC)	[thread overview]
Message-ID: <1706001635.ee0037688f9862c2977515c0959bcb3c8bca5fee.ionen@gentoo> (raw)

commit:     ee0037688f9862c2977515c0959bcb3c8bca5fee
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 09:20:35 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 09:20:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee003768

games-emulation/stella: add 6.7.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/stella/Manifest            |  1 +
 games-emulation/stella/stella-6.7.1.ebuild | 74 ++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest
index b43418f8105a..c41798dfcf4c 100644
--- a/games-emulation/stella/Manifest
+++ b/games-emulation/stella/Manifest
@@ -1 +1,2 @@
 DIST stella-6.7-src.tar.xz 10280224 BLAKE2B da2920384b6b254edd8f615c665ea1eef79030afffdf1b442f490f026c6f577ba4f7329531159767ba720207aeeb14388b5970bdd3e250b0db54e12d5f791396 SHA512 c20a2e9d98e1330f151e5f7d0e7cf15b2279b0d5f1175269f4084bf4964337b998118800615ae62eabf9d0f8abe0bb9cd02bddd1ee827121a49131888b4946ff
+DIST stella-6.7.1-src.tar.xz 10277788 BLAKE2B c40db17c2e91277f3ec4d6db275e9f3c197883888eff44a046fd9405437539f253628777e2230b006ace16105bb2e0d524d86d3b6d3071876d97d190b96dbcb0 SHA512 7ab3c46eb8a1243334222e69a5e6cb33eff18d43f7312f52f660b608dc21992e2c0a0bd43df3a2f1c2a0789e445b960970a866f1f0755edffe2f63ad930a0f3a

diff --git a/games-emulation/stella/stella-6.7.1.ebuild b/games-emulation/stella/stella-6.7.1.ebuild
new file mode 100644
index 000000000000..aad9eed45418
--- /dev/null
+++ b/games-emulation/stella/stella-6.7.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg
+
+DESCRIPTION="Multi-platform Atari 2600 VCS Emulator"
+HOMEPAGE="https://stella-emu.github.io/"
+SRC_URI="https://github.com/stella-emu/stella/releases/download/${PV}/${P}-src.tar.xz"
+
+LICENSE="GPL-2+ BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+joystick png zlib"
+REQUIRED_USE="png? ( zlib )"
+
+RDEPEND="
+	dev-db/sqlite:3
+	media-libs/libsdl2[joystick?,opengl,sound,video]
+	png? ( media-libs/libpng:= )
+	zlib? ( sys-libs/zlib:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	sed -i 's/pkg-config/${PKG_CONFIG}/' configure || die
+	sed -i '/CXXFLAGS+=/s/-fomit-frame-pointer//' Makefile || die
+}
+
+src_configure() {
+	tc-export CC CXX PKG_CONFIG
+
+	# not autotools-based
+	local configure=(
+		./configure
+		--host=${CHOST}
+		--prefix="${EPREFIX}"/usr
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}/html
+		$(use_enable joystick)
+		$(use_enable png)
+		$(use_enable zlib zip)
+		${EXTRA_ECONF}
+	)
+
+	echo ${configure[*]}
+	"${configure[@]}" || die
+}
+
+src_install() {
+	local DOCS=(
+		Announce.txt Changes.txt README-SDL.txt
+		Readme.txt docs/R77_readme.txt Todo.txt
+	)
+
+	default
+
+	rm -- "${ED}"/usr/share/doc/${PF}/html/*.txt || die
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 6.7; then
+		elog "With version >=6.7, because of fixes to JSON handling, all remappings"
+		elog "will be reset to defaults. If you had custom mappings, they will need"
+		elog "to be re-entered again."
+		elog
+		elog "Furthermore, because of internal changes, all old state files are invalid."
+	fi
+}


             reply	other threads:[~2024-01-23  9:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23  9:28 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-28 16:34 [gentoo-commits] repo/gentoo:master commit in: games-emulation/stella/ Ionen Wolkens
2022-07-03  5:33 Ionen Wolkens
2022-06-22  0:54 Ionen Wolkens
2021-12-02  5:13 Ionen Wolkens
2021-11-17 10:55 Ionen Wolkens
2021-07-17  8:16 Ionen Wolkens
2021-07-04 11:53 Ionen Wolkens
2021-07-04 11:53 Ionen Wolkens
2021-04-24 22:03 David Seifert
2021-03-22 19:42 Sam James
2021-03-22 19:20 Sam James
2018-11-10 21:12 James Le Cuirot
2018-11-10 21:12 James Le Cuirot
2018-11-10 21:12 James Le Cuirot
2018-04-29 13:06 Pacho Ramos
2018-04-29 13:06 Pacho Ramos
2016-06-06 14:31 Agostino Sarubbo
2016-04-12 23:13 Michael Sterrett

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=1706001635.ee0037688f9862c2977515c0959bcb3c8bca5fee.ionen@gentoo \
    --to=ionen@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