From be1ebea833b77f3a3a7b2fd67f33062d589afa85 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 24 Dec 2024 02:12:12 -0500 Subject: [PATCH] games-emulation/nestopia: add 1.53.0 Signed-off-by: Ionen Wolkens --- games-emulation/nestopia/Manifest | 1 + .../nestopia/nestopia-1.53.0.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 games-emulation/nestopia/nestopia-1.53.0.ebuild diff --git a/games-emulation/nestopia/Manifest b/games-emulation/nestopia/Manifest index 8816a763c6601..4b787775bf17e 100644 --- a/games-emulation/nestopia/Manifest +++ b/games-emulation/nestopia/Manifest @@ -1 +1,2 @@ DIST nestopia-1.52.1.tar.gz 1593358 BLAKE2B 31010b0b85e76a2cadcc48075be185076c728cb5742ef6a557e4f90a471ef4f2dd4c62e3580a01610b436b780747af4ef57c43f20cc0a000af01aef0899f97df SHA512 600f539e64e71ae732073a9e6781c67e54bd37d3253cf48b77d433396516d6ecf3e519e0f19107aca9dd81b3802b3948d9d242c44956682c988d4630b090273e +DIST nestopia-1.53.0.tar.gz 1701136 BLAKE2B ca5362e7491a01a9824fff8e7594cf1c19076f6d2bbfc5c792f25afa1fd0e94b0d7a18ee069162fdf94c441b97b8a9eb90d51d3a25b0673e71cc1a932ba47627 SHA512 675570025abfe7d58f2238d6b235c6f13f39641b30317f2289e5ab2afeb58ac85657b4b91de455d0da24d0158d2380613359df3daa9f5dc2c058d1949d87ef78 diff --git a/games-emulation/nestopia/nestopia-1.53.0.ebuild b/games-emulation/nestopia/nestopia-1.53.0.ebuild new file mode 100644 index 0000000000000..bfe33153ee28a --- /dev/null +++ b/games-emulation/nestopia/nestopia-1.53.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic xdg + +DESCRIPTION="Portable Nintendo Entertainment System emulator written in C++" +HOMEPAGE="http://0ldsk00l.ca/nestopia/" +SRC_URI=" + https://github.com/0ldsk00l/nestopia/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + app-arch/libarchive:= + media-libs/libepoxy + media-libs/libsamplerate + media-libs/libsdl2[joystick,sound] + sys-libs/zlib:= + x11-libs/fltk:1[opengl] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-build/autoconf-archive + virtual/pkgconfig +" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # silence the narrowing warnings on clang (bug #830469) + append-cxxflags -Wno-narrowing + + econf $(use_enable doc) +}