diff --git a/games-emulation/nestopia/Manifest b/games-emulation/nestopia/Manifest index 5530cb20cef35..95ab75373350f 100644 --- a/games-emulation/nestopia/Manifest +++ b/games-emulation/nestopia/Manifest @@ -1 +1,2 @@ DIST nestopia-1.51.1.tar.gz 1578970 BLAKE2B 5db7a380239c207843d5edadf5a174059d4566cd7b68aca01515db4940be3a6f6d02421f1499df28d4ac026ec435650452eb43306d1e49487063a06bce16b961 SHA512 68da5e9ab7b848d895a8893a18ef50d90758258fbf7f86ca5df0fe95e74bad761aa436dca79b402439a12fd4dd1430b22e45ee202168be3f9f751190a7ae6131 +DIST nestopia-1.52.0.tar.gz 1589971 BLAKE2B faa2418ae79a19448df411303c1c6740f74f42501d7232fee5e4bc8c60f26ee5187e106cb76fb2f8286a1b14ecb0ced1376a15381775ab67dc62e720ebae4601 SHA512 d7b36a07c1def146b3596124d3d084c39865916069092eceb3c1a22a030573c94fff7f3525e161d671fedd672f81ef536a42b4d0b37779c5993ffc158cdd3c0b diff --git a/games-emulation/nestopia/nestopia-1.52.0.ebuild b/games-emulation/nestopia/nestopia-1.52.0.ebuild new file mode 100644 index 0000000000000..646a1b125a968 --- /dev/null +++ b/games-emulation/nestopia/nestopia-1.52.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/0ldsk00l/nestopia.git" +else + SRC_URI="https://github.com/0ldsk00l/nestopia/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +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=" + sys-devel/autoconf-archive + virtual/pkgconfig" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # silence the narrowing warnings on clang (#830469) + append-cxxflags -Wno-narrowing + + econf $(use_enable doc) +}