commit:     9bf593bfef121bf8bd42fec5938742aedf4c1ada
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun May  5 22:37:16 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun May  5 23:43:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf593bf

games-emulation/nestopia: add 1.52.1

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

 games-emulation/nestopia/Manifest               |  1 +
 games-emulation/nestopia/nestopia-1.52.1.ebuild | 44 +++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/games-emulation/nestopia/Manifest 
b/games-emulation/nestopia/Manifest
index 6326873a9351..e8a623bb9af0 100644
--- a/games-emulation/nestopia/Manifest
+++ b/games-emulation/nestopia/Manifest
@@ -1 +1,2 @@
 DIST nestopia-1.52.0.tar.gz 1589971 BLAKE2B 
faa2418ae79a19448df411303c1c6740f74f42501d7232fee5e4bc8c60f26ee5187e106cb76fb2f8286a1b14ecb0ced1376a15381775ab67dc62e720ebae4601
 SHA512 
d7b36a07c1def146b3596124d3d084c39865916069092eceb3c1a22a030573c94fff7f3525e161d671fedd672f81ef536a42b4d0b37779c5993ffc158cdd3c0b
+DIST nestopia-1.52.1.tar.gz 1593358 BLAKE2B 
31010b0b85e76a2cadcc48075be185076c728cb5742ef6a557e4f90a471ef4f2dd4c62e3580a01610b436b780747af4ef57c43f20cc0a000af01aef0899f97df
 SHA512 
600f539e64e71ae732073a9e6781c67e54bd37d3253cf48b77d433396516d6ecf3e519e0f19107aca9dd81b3802b3948d9d242c44956682c988d4630b090273e

diff --git a/games-emulation/nestopia/nestopia-1.52.1.ebuild 
b/games-emulation/nestopia/nestopia-1.52.1.ebuild
new file mode 100644
index 000000000000..f052df2b46cc
--- /dev/null
+++ b/games-emulation/nestopia/nestopia-1.52.1.ebuild
@@ -0,0 +1,44 @@
+# 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/libglvnd
+       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)
+}

Reply via email to