diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-02-13 06:05:41 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-02-13 06:32:48 -0500 |
commit | 8f5bee370d638eaa4e95ab39f1a07de6f4dc19ec (patch) | |
tree | 8da8ee28c0688416d3dee30b7e890796987d159e /games-emulation/fceux | |
parent | dev-util/maturin: drop 0.14.10 (diff) | |
download | gentoo-8f5bee370d638eaa4e95ab39f1a07de6f4dc19ec.tar.gz gentoo-8f5bee370d638eaa4e95ab39f1a07de6f4dc19ec.tar.bz2 gentoo-8f5bee370d638eaa4e95ab39f1a07de6f4dc19ec.zip |
games-emulation/fceux: drop 2.6.4
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation/fceux')
-rw-r--r-- | games-emulation/fceux/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/fceux/fceux-2.6.4.ebuild | 56 | ||||
-rw-r--r-- | games-emulation/fceux/files/fceux-2.2.2-warnings.patch | 31 |
3 files changed, 0 insertions, 88 deletions
diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest index f15c51a50550..ad1c6decc0a1 100644 --- a/games-emulation/fceux/Manifest +++ b/games-emulation/fceux/Manifest @@ -1,2 +1 @@ -DIST fceux-2.6.4.tar.gz 23372193 BLAKE2B 0a27bdc1637c4577f175f9afed6318d3020221a2823adc154baffbda005d28cfdf04a00bc0c7b3c9b51ec4b4f5a709e36cb686ec8f11c73f5e7c83e3b84b83e3 SHA512 9fd8b908b652b5b8f120d15bdd43fa1e3475a300e0f1ec7d44965c95ec4bf58f7f9fe9511ea975effaf37f2cc4900e74021b06111dcafecc27affdd9d4e12f2e DIST fceux-2.6.5.tar.gz 23299626 BLAKE2B 167fbe401635b96ad0c1c07826b1e7b032fa66806a2c395aebcae9d2b4295a327d2abad960a883751da43baf49f91276dd6521692406ce610df7c1ce167006ca SHA512 3d37583d1917783513f05bd215437401aacda3bd1930238212cbbdd6ba105236028066d7198bfd8182e6d55ded7ce293f1e5d23295d2b730ec800dc5e5652598 diff --git a/games-emulation/fceux/fceux-2.6.4.ebuild b/games-emulation/fceux/fceux-2.6.4.ebuild deleted file mode 100644 index ac55ef93a2b4..000000000000 --- a/games-emulation/fceux/fceux-2.6.4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 ) -inherit cmake lua-single xdg - -DESCRIPTION="Portable Famicom/NES emulator, an evolution of the original FCE Ultra" -HOMEPAGE="https://fceux.com/" -SRC_URI="mirror://sourceforge/fceultra/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ffmpeg x264 x265" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -# TODO: QT6 support (disabled by default) when available in Gentoo -RDEPEND=" - ${LUA_DEPS} - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5[-gles2-only] - dev-qt/qtwidgets:5 - media-libs/libglvnd - media-libs/libsdl2[joystick,sound,threads,video] - sys-libs/zlib:=[minizip] - ffmpeg? ( media-video/ffmpeg:= ) - x264? ( media-libs/x264:= ) - x265? ( media-libs/x265:= )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.2-warnings.patch - "${FILESDIR}"/${PN}-2.4.0-desktop.patch - "${FILESDIR}"/${PN}-2.4.0-no-git.patch -) - -src_prepare() { - cmake_src_prepare - - use x264 || sed -i '/pkg_check_modules.*X264/d' src/CMakeLists.txt || die - use x265 || sed -i '/pkg_check_modules.*X265/d' src/CMakeLists.txt || die - use ffmpeg || sed -i '/pkg_check_modules.*LIBAV/d' src/CMakeLists.txt || die -} - -src_install() { - local DOCS=( README TODO-SDL changelog.txt documentation/. readme.md ) - cmake_src_install - - # remove unused/duplicate files - rm "${ED}"/usr/share/fceux/{lua5{1,.1}.dll,{fceux,taseditor}.chm} \ - "${ED}"/usr/share/doc/${PF}/fceux{,-net-server}.6 \ - "${ED}"/usr/share/man/man6/fceux-net-server.6 || die -} diff --git a/games-emulation/fceux/files/fceux-2.2.2-warnings.patch b/games-emulation/fceux/files/fceux-2.2.2-warnings.patch deleted file mode 100644 index 1d6c3ba46319..000000000000 --- a/games-emulation/fceux/files/fceux-2.2.2-warnings.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- fceux-2.2.2.orig/src/input.cpp 2013-06-15 15:44:11.000000000 -0400 -+++ fceux-2.2.2/src/input.cpp 2014-12-31 01:32:46.302001912 -0500 -@@ -1161,7 +1161,7 @@ - // FIXME this will always evaluate to true, should this be
- // if (*lastSavestateMade...) to check if it holds a string or just
- // a '\0'?
-- if (lastSavestateMade && (undoSS || redoSS))
-+ if (*lastSavestateMade && (undoSS || redoSS))
- SwapSaveState();
- }
-
---- fceux-2.2.2.orig/src/state.cpp 2013-09-18 19:03:59.000000000 -0400 -+++ fceux-2.2.2/src/state.cpp 2014-12-31 01:33:11.453155054 -0500 -@@ -1048,7 +1048,7 @@ - //Both files must exist
- //--------------------------------------------------------------------------------------------
-
-- if (!lastSavestateMade)
-+ if (!*lastSavestateMade)
- {
- FCEUI_DispMessage("Can't Undo",0);
- FCEUI_printf("Undo savestate was attempted but unsuccessful because there was not a recently used savestate.\n");
-@@ -1153,7 +1153,7 @@ - void RedoLoadState()
- {
- if (!redoLS) return;
-- if (lastLoadstateMade && redoLS)
-+ if (*lastLoadstateMade && redoLS)
- {
- FCEUSS_Load(lastLoadstateMade);
- FCEUI_printf("Redoing %s\n",lastLoadstateMade);
|