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 6B130139345 for ; Sun, 4 Jul 2021 11:53:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0C92E0826; Sun, 4 Jul 2021 11:53:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 36FFAE0825 for ; Sun, 4 Jul 2021 11:53:33 +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 C9FAB342AB8 for ; Sun, 4 Jul 2021 11:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F66C7C4 for ; Sun, 4 Jul 2021 11:53:30 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1625399140.2b68c46e3574a74e55d377fa47e68ca3c7c931e3.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/stella/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/stella/Manifest games-emulation/stella/stella-6.5.3.ebuild X-VCS-Directories: games-emulation/stella/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 2b68c46e3574a74e55d377fa47e68ca3c7c931e3 X-VCS-Branch: master Date: Sun, 4 Jul 2021 11:53:30 +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: 876fb38f-f674-4a49-99d7-8375a800d6d3 X-Archives-Hash: 93b9677ebf4dc5bb3b989811106f2e11 commit: 2b68c46e3574a74e55d377fa47e68ca3c7c931e3 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Jul 4 09:55:08 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Jul 4 11:45:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b68c46e games-emulation/stella: add 6.5.3 Most old ebuild workarounds haven't been needed for some time. Simplified, EAPI 8, prefix support, xdg eclass, and png/zlib IUSE. Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/stella/Manifest | 1 + games-emulation/stella/stella-6.5.3.ebuild | 58 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest index 7736606d3b5..3dd6eea9941 100644 --- a/games-emulation/stella/Manifest +++ b/games-emulation/stella/Manifest @@ -1 +1,2 @@ DIST stella-6.5.2-src.tar.xz 6220652 BLAKE2B 8bb51ff15b28436eb83b918ca6123956482e4342c4f9560dcea608a856899a65176c9012146d1a2affe22ee0a589e945424e897853890e23ff503d97b893e32f SHA512 dc7685fd166fad578bce62c961419755db7c4b8ac6e6e2e10f0edfa3b0f63bf43d64119483cc47fc86dfe95e09bc800c27392239aeb68a2ccf37d0f224d6493c +DIST stella-6.5.3-src.tar.xz 6221588 BLAKE2B 1cee75cd27c14db5a2eaf3a6d88af5b3d081c2577afd4b46b27ef33dd11d676cd5fe981d8ae918373b16d7f50e0151a9e0fc00765fb39370ea50f8322a90b963 SHA512 67fe45c0be510494e4c3ead91ee5f7c9a8ba7059b76beb15e794ef49144c8f0fb57d7c7476f4f299e573e37ea1c41f2fb094ca10974f3bcda797fc69c9bd2986 diff --git a/games-emulation/stella/stella-6.5.3.ebuild b/games-emulation/stella/stella-6.5.3.ebuild new file mode 100644 index 00000000000..0834d742503 --- /dev/null +++ b/games-emulation/stella/stella-6.5.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="BSD GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+joystick png zlib" +REQUIRED_USE="png? ( zlib )" + +RDEPEND=" + media-libs/libsdl2[joystick?,opengl,sound,video] + png? ( media-libs/libpng:= ) + zlib? ( sys-libs/zlib:= )" +DEPEND="${RDEPEND}" + +DOCS=( + Announce.txt Changes.txt README-SDL.txt + Readme.txt docs/R77_readme.txt Todo.txt +) + +src_prepare() { + default + + sed -i '/CXXFLAGS+=/s/-fomit-frame-pointer//' Makefile || die +} + +src_configure() { + tc-export CC CXX + + # not an autotools generated script + 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() { + default + + rm "${ED}"/usr/share/doc/${PF}/html/*.txt || die +}