games-emulation/zsnes: drop 2.0.10

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-03-12 22:21:49 -04:00
parent 344947a085
commit 87fdc8dea6
2 changed files with 0 additions and 66 deletions
-1
View File
@@ -1,2 +1 @@
DIST zsnes-2.0.10.tar.gz 926347 BLAKE2B b9ab4701290ae802cb35045e0a3d4ff5268f96f7dc84614f39e950a6273a8477d5e2dca0598e3448744486de31caf692d44d36fe284f6f20697a5b4e92c908f8 SHA512 513e350198a944af47accedc6d3c14405898c753bb8168871d323c11f8c1253d8d7e247759a13e40a3b5eda195824e4862bb1fc093a3db9a75c8bb2e0bef728e
DIST zsnes-2.0.12.tar.gz 963569 BLAKE2B c11496cb5f08930dac23598ade337d9ab5d41f484b8f0ad68b1f01832d3d5ef078d65b3d639719b23eaaaf4406248eb47959b582ab7b96b142993ff532c1f3d2 SHA512 f321582a32a334cb32d9276c88c03db7d99c7ccce67a73a777bea6d66f3551a3013d1cfd38fda37867fb2424cde79ca4220894b27615f0f5c5a6de8ffaef037a
-65
View File
@@ -1,65 +0,0 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop flag-o-matic multilib toolchain-funcs
DESCRIPTION="Fork of the classic Super Nintendo emulator"
HOMEPAGE="https://github.com/xyproto/zsnes/ https://www.zsnes.com/"
SRC_URI="https://github.com/xyproto/zsnes/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="custom-cflags"
RDEPEND="
media-libs/libglvnd[X,abi_x86_32(-)]
media-libs/libpng:=[abi_x86_32(-)]
media-libs/libsdl[abi_x86_32(-),joystick,opengl,sound,video]
virtual/zlib:=[abi_x86_32(-)]
x11-libs/libX11[abi_x86_32(-)]"
DEPEND="
${RDEPEND}
x11-base/xorg-proto"
BDEPEND="
dev-lang/nasm
virtual/zlib:=
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-2.0.9-cc-quotes.patch
"${FILESDIR}"/${PN}-2.0.9-gentoo-zlib.patch
)
src_compile() {
# Makefile forces many CFLAGS that are questionable, but zsnes' ancient x86
# asm is fragile, not pic safe (bug #427104), broken by F_S=3 (formerly
# broken with =2 as well), and can be affected by -march=* and similar.
# Stick to upstream's choices, this is non-portable either way.
if use !custom-cflags; then
strip-flags
append-cppflags -U_FORTIFY_SOURCE # to disable =3, Makefile enables =2
fi
# used to build and run parsegen at build time (uses zlib wrt BDEPEND)
tc-export_build_env BUILD_CXX
local buildcxx="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS}"
use amd64 && multilib_toolchain_setup x86
tc-export CC CXX
append-cflags "${CPPFLAGS}"
append-cxxflags "${CPPFLAGS}"
emake CXX_HOST="${buildcxx}"
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
dodoc README.md TODO.md
newicon icons/64x64x32.png ${PN}.png
make_desktop_entry ${PN} ${PN^^}
}