games-emulation/nestopia-jg: drop 1.52.1-r1

Closes: https://github.com/gentoo/gentoo/pull/41229
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
orbea
2025-03-22 21:06:46 -07:00
committed by Michael Orlitzky
parent e10595283b
commit 2c044450b8
3 changed files with 0 additions and 107 deletions

View File

@@ -1,3 +1,2 @@
DIST nestopia-1.52.1.tar.bz2 660171 BLAKE2B 1c5c17d84bb13b19703cd552d844cf42d8d7e72f72b9879cf10249cd091a5d3db0cef5be9afc04728a57d1fdd3f8c4d1ed7105b872ea4df114c30dd8e69fd5be SHA512 b9c606a9becd094bd1bec1aa8d57f57eb596aefaa91a4e09a10c17535c1e38c1b17a56160ffa48b2e240fb7e7d56a4227ffdf3ea0ef6dc401d347bc7e498d015
DIST nestopia-1.53.0.tar.bz2 662401 BLAKE2B ee0a9da2f6ad0649cac57cae6be0e2f9d8e241a6094ff304dc1d801c70b70d3825214fd5f2f550da789a4b9a95f2d16c8c39c6dfa771404dff66977056e08b10 SHA512 9a51b61c562c44429ecb9b9f3cbfc2201240e3cba71ab0d02fdb5788d1c4ad7c7e20159028e10d9fea37b0dcc24547e0865bee81d70c7e7cda488659993349bf
DIST nestopia-1.53.1.tar.bz2 666754 BLAKE2B ef23fa7670a31cca6b75500655e54331bb85e78abe4bae7ae3a4422dfa46f976634f28f1058dbda9e24d84cfa6b00d8ff0a7e92e933606b25e51c53ad3d2f660 SHA512 311128e6f8357de00e79f538ba36ff123809299f2419794642b243c1927a1591427fca4464a905cc495440549b709a7d1c924d5a7915241d9d88aa6a26415035

View File

@@ -1,56 +0,0 @@
https://bugs.gentoo.org/945404
https://gitlab.com/jgemu/nestopia/-/commit/7f6b5bf12e02011533c054d587dba6297defe868
From 7f6b5bf12e02011533c054d587dba6297defe868 Mon Sep 17 00:00:00 2001
From: Rupert Carmichael <5050061-carmiker@users.noreply.gitlab.com>
Date: Sat, 30 Nov 2024 11:24:58 -0500
Subject: [PATCH] NstVideoRenderer: Move filter disable defines into the Video
API header
---
src/NstVideoRenderer.cpp | 6 ------
src/api/NstApiVideo.hpp | 5 +++++
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/NstVideoRenderer.cpp b/src/NstVideoRenderer.cpp
index 22ac092..e55d264 100644
--- a/src/NstVideoRenderer.cpp
+++ b/src/NstVideoRenderer.cpp
@@ -22,18 +22,12 @@
//
////////////////////////////////////////////////////////////////////////////////////////
-#define NST_NO_SCALEX 1
-#define NST_NO_HQ2X 1
-#define NST_NO_2XSAI 1
-#define NST_NO_XBR 1
-
#include <cstring>
#include <cmath>
#include <new>
#include "NstCore.hpp"
#include "NstAssert.hpp"
#include "NstFpuPrecision.hpp"
-#include "api/NstApiVideo.hpp"
#include "NstVideoRenderer.hpp"
#include "NstVideoFilterNone.hpp"
diff --git a/src/api/NstApiVideo.hpp b/src/api/NstApiVideo.hpp
index 4b137ae..30bd9fb 100644
--- a/src/api/NstApiVideo.hpp
+++ b/src/api/NstApiVideo.hpp
@@ -39,6 +39,11 @@
#pragma warning( disable : 4512 )
#endif
+#define NST_NO_SCALEX 1
+#define NST_NO_HQ2X 1
+#define NST_NO_2XSAI 1
+#define NST_NO_XBR 1
+
namespace Nes
{
namespace Core
--
GitLab

View File

@@ -1,50 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
MY_PN=${PN%-*}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Jolly Good Fork of Nestopia"
HOMEPAGE="https://gitlab.com/jgemu/nestopia"
if [[ "${PV}" == *9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git"
else
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
LICENSE="GPL-2+"
SLOT="1"
DEPEND="
media-libs/jg:1=
"
RDEPEND="
${DEPEND}
games-emulation/jgrf
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
# https://bugs.gentoo.org/945404
"${FILESDIR}"/${P}-odr.patch
)
src_compile() {
emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
emake install \
DESTDIR="${D}" \
PREFIX="${EPREFIX}"/usr \
DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}