games-emulation/nestopia: add 1.53.0

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-12-24 02:12:12 -05:00
parent ff2a4efd3f
commit be1ebea833
2 changed files with 46 additions and 0 deletions

View File

@@ -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

View File

@@ -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)
}