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 8DBEF1382C5 for ; Mon, 22 Mar 2021 19:20:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C80F9E0857; Mon, 22 Mar 2021 19:20:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 AD8D7E0857 for ; Mon, 22 Mar 2021 19:20:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 5A84033BE61 for ; Mon, 22 Mar 2021 19:20:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D16946C for ; Mon, 22 Mar 2021 19:20:54 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616440847.6ae030c230c3b8039f80e9ccbf4439846cb8fc5e.sam@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.2.ebuild X-VCS-Directories: games-emulation/stella/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6ae030c230c3b8039f80e9ccbf4439846cb8fc5e X-VCS-Branch: master Date: Mon, 22 Mar 2021 19:20:54 +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: f46b2b2c-beaa-49e4-903f-c7ae93f470fa X-Archives-Hash: 4818eb1de344fec49cb95f010f4c9498 commit: 6ae030c230c3b8039f80e9ccbf4439846cb8fc5e Author: Sam James gentoo org> AuthorDate: Mon Mar 22 19:17:07 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 22 19:20:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae030c2 games-emulation/stella: add 6.5.2 Closes: https://bugs.gentoo.org/680776 Closes: https://bugs.gentoo.org/765820 Signed-off-by: Sam James gentoo.org> games-emulation/stella/Manifest | 1 + games-emulation/stella/stella-6.5.2.ebuild | 69 ++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest index f5dbcd55867..7fc59ace4a2 100644 --- a/games-emulation/stella/Manifest +++ b/games-emulation/stella/Manifest @@ -1 +1,2 @@ DIST stella-5.1.3-src.tar.xz 1828448 BLAKE2B 1588e4da3c21ab51d967aa3fae49b14ef5f3121e3907aa83629dbabeab5c190660ad5a53319429f721cc93560c212f530a58675b7c543c9a3fed3e395669c145 SHA512 9aaf6118c999e90e4947e490f61ccebb82ba1ebeccb29b2e4ec1226bdeef83bb36d944791d6f915522c5c6fec74a0bd17ac5ce8fcc5f369281f9cedf06a380a5 +DIST stella-6.5.2-src.tar.xz 6220652 BLAKE2B 8bb51ff15b28436eb83b918ca6123956482e4342c4f9560dcea608a856899a65176c9012146d1a2affe22ee0a589e945424e897853890e23ff503d97b893e32f SHA512 dc7685fd166fad578bce62c961419755db7c4b8ac6e6e2e10f0edfa3b0f63bf43d64119483cc47fc86dfe95e09bc800c27392239aeb68a2ccf37d0f224d6493c diff --git a/games-emulation/stella/stella-6.5.2.ebuild b/games-emulation/stella/stella-6.5.2.ebuild new file mode 100644 index 00000000000..c27cb7cd25b --- /dev/null +++ b/games-emulation/stella/stella-6.5.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop flag-o-matic gnome2-utils toolchain-funcs + +DESCRIPTION="Multi-platform Atari 2600 VCS Emulator" +HOMEPAGE="https://stella-emu.github.io" +SRC_URI="https://github.com/stella-emu/${PN}/releases/download/${PV}/${P}-src.tar.xz" + +LICENSE="GPL-2+ BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="joystick" + +RDEPEND=" + media-libs/libsdl2[joystick?,opengl,video] + media-libs/libpng:0= + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +DOCS=( Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt ) +HTML_DOCS=( docs/. ) + +src_prepare() { + default + + sed -i \ + -e '/INSTALL/s/-s //' \ + -e '/STRIP/d' \ + -e "/icons/d" \ + -e '/INSTALL.*DOCDIR/d' \ + -e '/INSTALL.*\/applications/d' \ + -e '/CXXFLAGS+=/s/-fomit-frame-pointer//' \ + Makefile || die +} + +src_configure() { + # not an autoconf script + CXX="$(tc-getCXX)" ./configure \ + --prefix="/usr" \ + --bindir="/usr/bin" \ + --docdir="/usr/share/doc/${PF}" \ + --datadir="/usr/share" \ + $(use_enable joystick) \ + || die +} + +src_install() { + default + + local i + for i in 16 22 24 32 48 64 128 ; do + newicon -s ${i} src/common/stella-${i}x${i}.png stella.png + done + + domenu src/unix/stella.desktop + einstalldocs +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}