commit:     f99bac46546b7ff9b692392e914c123646499284
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Jul  8 08:41:22 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul  8 08:41:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f99bac46

games-emulation/np2kai: treeclean

Closes: https://bugs.gentoo.org/921910 (pkgremoved)
Closes: https://bugs.gentoo.org/928264 (pkgremoved)
Closes: https://bugs.gentoo.org/887647 (pkgremoved)
Closes: https://bugs.gentoo.org/859979 (pkgremoved)
Closes: https://bugs.gentoo.org/782982 (pkgremoved)
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 games-emulation/np2kai/Manifest                    |  3 -
 .../np2kai/files/np2kai-22-autogen.patch           | 10 ---
 games-emulation/np2kai/metadata.xml                | 28 -------
 games-emulation/np2kai/np2kai-22.ebuild            | 79 -------------------
 games-emulation/np2kai/np2kai-22_p20210211.ebuild  | 90 ----------------------
 profiles/package.mask                              |  6 --
 6 files changed, 216 deletions(-)

diff --git a/games-emulation/np2kai/Manifest b/games-emulation/np2kai/Manifest
deleted file mode 100644
index 48529de630..0000000000
--- a/games-emulation/np2kai/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST np2kai-22.tar.gz 3189290 BLAKE2B 
74856a40ae57a71b1958f5c546ee3c907b1b1f5975715b21ce5a6c3a044a4c9ebf425e6ed1819e2d688e48be3853bb5f161e3e0c5031cd316359f7ebce0d5418
 SHA512 
47cd75b251dc0382537769225297dd155bb7b95a1fba7417a9c06b56f4fc89b0c38de101a68da8e8d776d456574aa6bf7f4e1490b3666f20469d4bf18e72b6dd
-DIST np2kai-22_p20210211.tar.gz 3121849 BLAKE2B 
21679e1d2a6bc9877ffeb256ddb19ca613e6f1abaf643087bdcff8b92e77aee9099d6dc7c574fe25407f092e6401f3d974463bedd6898e09d56d6e3a1465f93e
 SHA512 
a9e9413a9257496498e5b289d4346072bc9582437691a4e2aa68d93fb1a1a5b12a0ff526cd436a6492629f77724e87564635dc83b53c4c1fe9341ea36597c251
-DIST sdl2-cmake-modules-ad006a3daae65a612ed87415037e32188b81071e.tar.gz 11996 
BLAKE2B 
751cde3370594b20520fdedef35fc6aa1806932f3fbe01c6068b0dbe696d113df1afbfe6e84eb7c5166afb4cb12a619282855e7f050374bc49d7cd948e5cb808
 SHA512 
72b20cce9073d554df67c6efa23e77da07fadce064535d03d943aab05a0bfab2b0253fa4fc04e98f9e9aa169429f0597f825867cebf71c4048032fe85cf61de3

diff --git a/games-emulation/np2kai/files/np2kai-22-autogen.patch 
b/games-emulation/np2kai/files/np2kai-22-autogen.patch
deleted file mode 100644
index d847feec1b..0000000000
--- a/games-emulation/np2kai/files/np2kai-22-autogen.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- x11/autogen.sh     2021-04-14 11:11:20.183543382 -0300
-+++ x11/autogen.sh     2021-04-14 11:12:06.520539255 -0300
-@@ -4,7 +4,6 @@
- automake -aci --foreign
- autoconf
- rm -f config.h.in~
--./configure "$@"
- rm -f ../np2tool/np2tool.d88
- ( cd ../np2tool && unzip -j -o np2tool.zip )
- make maintainer-clean > /dev/null 2>&1

diff --git a/games-emulation/np2kai/metadata.xml 
b/games-emulation/np2kai/metadata.xml
deleted file mode 100644
index 2790dd2c42..0000000000
--- a/games-emulation/np2kai/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Lino Bigatti</name>
-       </maintainer>
-       <longdescription lang="en">
-               Neko project 2 kai (np2kai for short) is a PC-9801 emulator
-               written in C and C++. It allows for i286, ia32 and haxm 
emulation.
-               It is based on Neko project II.
-       </longdescription>
-       <use>
-               <flag name="haxm">Enable haxm emulation</flag>
-               <flag name="i286">
-                       Enable i286 emulation
-                       USE="ia32" or USE="haxm" will disable it,
-                       unless all 3 emulation USE flags are set
-               </flag>
-               <flag name="ia32">Enable ia32 emulation</flag>
-               <flag name="sdl">Use <pkg>media-libs/libsdl</pkg> instead of 
<pkg>media-libs/libsdl2</pkg></flag>
-               <flag name="sdl2">Use <pkg>media-libs/libsdl2</pkg> instead of 
<pkg>media-libs/libsdl</pkg></flag>
-               <flag name="X">Build support for X</flag>
-       </use>
-       <upstream>
-               <remote-id type="github">AZO234/NP2kai</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/games-emulation/np2kai/np2kai-22.ebuild 
b/games-emulation/np2kai/np2kai-22.ebuild
deleted file mode 100644
index 92817c60bd..0000000000
--- a/games-emulation/np2kai/np2kai-22.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="NP2kai is an emulator for the japanese PC-98 series of computers"
-HOMEPAGE="https://domisan.sakura.ne.jp/article/np2kai/np2kai.html";
-SRC_URI="https://github.com/AZO234/NP2kai/archive/refs/tags/rev.${PV}.tar.gz 
-> ${P}.tar.gz"
-
-S="${WORKDIR}/NP2kai-rev.${PV}/x11"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="sdl +sdl2 +i286 ia32 haxm"
-REQUIRED_USE="^^ ( sdl sdl2 )"
-
-# Configure crashes if sdl AND sdl2 are not present, even if the options are 
off
-# It also requires sdl2-ttf even when building for sdl
-# TODO: test musl
-# TODO: migrate from gtk2 to gtk3
-DEPEND="media-libs/libsdl
-       media-libs/libsdl2
-       sdl? (
-               media-libs/sdl-mixer
-               media-libs/sdl-ttf
-       )
-       sdl2? (
-               media-libs/sdl2-mixer
-       )
-       media-libs/sdl2-ttf
-       virtual/libusb:1
-       x11-base/xorg-server
-       x11-libs/gtk+:2"
-RDEPEND="${DEPEND}"
-BDEPEND="dev-build/automake"
-
-PATCHES=(
-       "${FILESDIR}/${P}-autogen.patch"
-)
-
-# TODO: add a die statement to autogen
-src_configure() {
-       bash "${S}/autogen.sh"
-       if use i286 && use ia32 && use haxm ; then
-               features=("--enable-build-all")
-       else
-               features=($(use_enable ia32) $(use_enable haxm))
-       fi
-       local myeconfargs=(
-               $(use_enable sdl)
-               $(use_enable sdl sdlmixer)
-               $(use_enable sdl sdlttf)
-               $(use_enable sdl2)
-               $(use_enable sdl2 sdl2mixer)
-               $(use_enable sdl2 sdl2ttf)
-       )
-       econf "${myeconfargs[@]}" "${features}"
-}
-
-pkg_postinst() {
-       if [[ -z ${REPLACING_VERSIONS} ]] ; then
-               if [ use i286 && use ia32 && use haxm ] ; then
-                       cfgname="{xnp2kai, xnp21kai}"
-               elif [ ! use ia32 && ! use haxm ] ; then
-                       cfgname="xnp2kai"
-               else
-                       cfgname="xnp21kai"
-               fi
-
-               elog    "Japanese fonts are needed to use the emulator."
-               elog    "Please run the following command to configure them:"
-               elog    "mkdir -p ~/.config/${cfgname} && ln -s 
/path/to/font.ttf ~/.config/${cfgname}/default.ttf && rm 
~/.config/${cfgname}/font.tmp"
-
-               elog    "Neko project 2 requires a BIOS dump to work."
-               elog    "Please dump the BIOS from your device and put the 
files under ~/.config/${cfgname}"
-       fi
-}

diff --git a/games-emulation/np2kai/np2kai-22_p20210211.ebuild 
b/games-emulation/np2kai/np2kai-22_p20210211.ebuild
deleted file mode 100644
index e08fafd79a..0000000000
--- a/games-emulation/np2kai/np2kai-22_p20210211.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg cmake
-
-MY_REV=3e8fedc7c1c6f68faa26589187512474a766ee9e
-MY_SDL2_CMAKE_MODULES_REV=ad006a3daae65a612ed87415037e32188b81071e
-
-DESCRIPTION="NP2kai is an emulator for the japanese PC-98 series of computers"
-HOMEPAGE="https://domisan.sakura.ne.jp/article/np2kai/np2kai.html";
-SRC_URI="
-       https://github.com/AZO234/NP2kai/archive/${MY_REV}.tar.gz -> ${P}.tar.gz
-       
https://github.com/aminosbh/sdl2-cmake-modules/archive/${MY_SDL2_CMAKE_MODULES_REV}.tar.gz
 \
-               -> sdl2-cmake-modules-${MY_SDL2_CMAKE_MODULES_REV}.tar.gz
-"
-
-S="${WORKDIR}/NP2kai-${MY_REV}"
-
-LICENSE="MIT BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="+i286 ia32 haxm +sdl2 +X"
-REQUIRED_USE="|| ( X sdl2 ) ^^ ( i286 ia32 )"
-
-# TODO: migrate from gtk2 to gtk3
-DEPEND="
-       dev-libs/openssl:=
-       virtual/libusb:1
-       sdl2? (
-               media-libs/libsdl2
-               media-libs/sdl2-ttf
-               media-libs/sdl2-mixer
-       )
-       !sdl2? (
-               media-libs/libsdl
-               media-libs/sdl-mixer
-               media-libs/sdl-ttf
-       )
-       X? (
-               dev-libs/glib
-               media-libs/freetype
-               media-libs/fontconfig
-               x11-libs/gtk+:2
-               x11-libs/libX11
-       )
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-       sed -i '+s/CONFIGURATIONS Release/CONFIGURATIONS Gentoo/g' 
CMakeLists.txt || die
-       mv "${WORKDIR}"/sdl2-cmake-modules-${MY_SDL2_CMAKE_MODULES_REV}/* \
-               "${S}"/cmake/sdl2-cmake-modules/ || die
-
-       cmake_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -D BUILD_I286=$(usex i286)
-               -D BUILD_HAXM=$(usex haxm)
-               -D BUILD_SDL=ON
-               -D BUILD_X=$(usex X)
-               -D USE_SDL2=$(usex sdl2)
-       )
-
-       NP2KAI_VERSION=${PV} NP2KAI_HASH=${MY_REV} cmake_src_configure
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-       if [[ -z ${REPLACING_VERSIONS} ]]; then
-               if use i286 && use haxm; then
-                       local cfgname="{xnp2kai,xnp21kai}"
-               elif use i286 && ! use haxm; then
-                       local cfgname="xnp2kai"
-               else
-                       local cfgname="xnp21kai"
-               fi
-
-               elog    "Japanese fonts are needed to use the emulator."
-               elog    "Please run the following command to configure them:"
-               elog    "mkdir -p ~/.config/${cfgname} && ln -s 
/path/to/font.ttf ~/.config/${cfgname}/default.ttf && rm 
~/.config/${cfgname}/font.tmp"
-               elog
-               elog    "Neko project 2 requires a BIOS dump to work."
-               elog    "Please dump the BIOS from your device and put the 
files under ~/.config/${cfgname}"
-       fi
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index b085fd6c36..9f1a702ae3 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -67,12 +67,6 @@ app-misc/anki-bin
 # Removal on 2025-07-30
 app-crypt/uacme
 
-# David (stkw0) Roman <[email protected]> (2025-06-03)
-# Unmaintained, fails to compile and the maintainer doesn seems to be active.
-# Bugs #782982 #859979 #887647 #921910 #928264
-# Removal on 2025-07-03
-games-emulation/np2kai
-
 # Anna (cybertailor) Vyalkova <[email protected]> (2025-05-24)
 # Depends on masked net-libs/stem.
 # Masked until upstream supports running without stem.

Reply via email to