From 3b4acc0bc0b77136b371d8a3119066f80f221efe Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Jan 2023 17:44:39 +0000 Subject: gentoo auto-resync : 11:01:2023 - 17:44:39 --- games-emulation/nestopia/nestopia-1.52.0.ebuild | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 games-emulation/nestopia/nestopia-1.52.0.ebuild (limited to 'games-emulation/nestopia/nestopia-1.52.0.ebuild') 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 000000000000..646a1b125a96 --- /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) +} -- cgit v1.2.3