snes9x: drop unused package

Nothing depends on this, so clean it out.

BUG=None
TEST=CQ passes

Change-Id: I87d2a18a88566d22715b8bcdd71fe46334f96469
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/portage-stable/+/2939127
Tested-by: Mike Frysinger <vapier@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Sergey Frolov <sfrolov@google.com>
Reviewed-by: Sergey Frolov <sfrolov@google.com>
diff --git a/games-emulation/snes9x/Manifest b/games-emulation/snes9x/Manifest
deleted file mode 100644
index 7bc705e..0000000
--- a/games-emulation/snes9x/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST snes9x-1.53-src.tar.bz2 1838746 RMD160 b3f7ba73caee5373951ec1e1decef1ab6c7207f2 SHA1 57be6480369f66b9aaaeb722789ce114f58ed1e2 SHA256 9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3
diff --git a/games-emulation/snes9x/files/snes9x-1.53-build.patch b/games-emulation/snes9x/files/snes9x-1.53-build.patch
deleted file mode 100644
index c46e5f2..0000000
--- a/games-emulation/snes9x/files/snes9x-1.53-build.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -ru snes9x-1.53-src.orig/gtk/configure.ac snes9x-1.53-src/gtk/configure.ac
---- snes9x-1.53-src.orig/gtk/configure.ac	2011-04-24 09:38:10.000000000 -0400
-+++ snes9x-1.53-src/gtk/configure.ac	2011-09-26 16:06:46.746352405 -0400
-@@ -29,7 +29,7 @@
- 
- AM_GLIB_GNU_GETTEXT
- 
--snes9xlocaledir='${prefix}/${DATADIRNAME}/locale'
-+snes9xlocaledir='/usr/share/locale'
- AC_SUBST(snes9xlocaledir)
- 
- AC_ARG_WITH(debug,
-diff -ru snes9x-1.53-src.orig/gtk/po/Makefile.in.in snes9x-1.53-src/gtk/po/Makefile.in.in
---- snes9x-1.53-src.orig/gtk/po/Makefile.in.in	2011-04-24 16:12:50.000000000 -0400
-+++ snes9x-1.53-src/gtk/po/Makefile.in.in	2011-09-26 16:07:05.844485532 -0400
-@@ -34,7 +34,7 @@
- datarootdir = @datarootdir@
- libdir = @libdir@
- DATADIRNAME = @DATADIRNAME@
--itlocaledir = $(prefix)/$(DATADIRNAME)/locale
-+itlocaledir = /usr/share/locale
- subdir = po
- install_sh = @install_sh@
- # Automake >= 1.8 provides @mkdir_p@.
-diff -ru snes9x-1.53-src.orig/unix/Makefile.in snes9x-1.53-src/unix/Makefile.in
---- snes9x-1.53-src.orig/unix/Makefile.in	2011-04-24 09:38:10.000000000 -0400
-+++ snes9x-1.53-src/unix/Makefile.in	2011-09-26 16:06:46.746352405 -0400
-@@ -47,7 +47,7 @@
- 	exit 1
- 
- snes9x: $(OBJECTS)
--	$(CCC) $(INCLUDES) -o $@ $(OBJECTS) -lm @S9XLIBS@
-+	$(CCC) $(LDFLAGS) $(INCLUDES) -o $@ $(OBJECTS) -lm @S9XLIBS@
- 
- ../jma/s9x-jma.o: ../jma/s9x-jma.cpp
- 	$(CCC) $(INCLUDES) -c $(CCFLAGS) -fexceptions $*.cpp -o $@
-diff -ru snes9x-1.53-src.orig/unix/configure.ac snes9x-1.53-src/unix/configure.ac
---- snes9x-1.53-src.orig/unix/configure.ac	2011-04-24 09:38:10.000000000 -0400
-+++ snes9x-1.53-src/unix/configure.ac	2011-09-26 16:06:46.747352203 -0400
-@@ -56,20 +56,6 @@
- # *** Execution begins here ***
- # *****************************
- 
--# Remove -g and -O2 flags manually.
--
--if test "x$CFLAGS" != "x"; then
--	CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-g//'`"
--	CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-O2//'`"
--fi
--
--if test "x$CXXFLAGS" != "x"; then
--	CXXFLAGS="`echo \"$CXXFLAGS\" | sed -e 's/-g//'`"
--	CXXFLAGS="`echo \"$CXXFLAGS\" | sed -e 's/-O2//'`"
--fi
--
--# Test what compiler flags we should use.
--
- AC_ARG_ENABLE([debug],
- 	[AS_HELP_STRING([--enable-debug],
- 		[leave debug information in the final binary (default: no)])],
-@@ -79,9 +65,6 @@
- 	AC_S9X_COMPILER_FLAG([-g],  [g])
- 	AC_S9X_COMPILER_FLAG([-O0], [o0])
- else
--	AC_S9X_COMPILER_FLAG([-O3], [o3], [
--		AC_S9X_COMPILER_FLAG([-O2], [o2], [
--			AC_S9X_COMPILER_FLAG([-O1], [o1])])])
- 	AC_S9X_COMPILER_FLAG([-fomit-frame-pointer], [omit_frame_pointer])
- fi
- 
diff --git a/games-emulation/snes9x/files/snes9x-1.53-cross-compile.patch b/games-emulation/snes9x/files/snes9x-1.53-cross-compile.patch
deleted file mode 100644
index c4e5ebd..0000000
--- a/games-emulation/snes9x/files/snes9x-1.53-cross-compile.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/unix/configure.ac
-+++ b/unix/configure.ac
-@@ -4,7 +4,7 @@ AC_REVISION([$Revision: 1.53 $])
- 
- AC_CONFIG_SRCDIR([unix.cpp])
- 
--AC_CANONICAL_TARGET
-+AC_CANONICAL_HOST
- 
- AC_PROG_CC
- AC_PROG_CXX
-@@ -38,7 +38,7 @@ AC_DEFUN([AC_S9X_COMPILER_FLAG],
- 				return (argc);
- 			}
- 		],
--		[snes9x_cv_option_$2="yes"], [snes9x_cv_option_$2="no"])
-+		[snes9x_cv_option_$2="yes"], [snes9x_cv_option_$2="no"], [snes9x_cv_option_$2="yes"])
- 	])
- 
- 	CXXFLAGS="[$]OLD_CXXFLAGS"
-@@ -94,7 +94,7 @@ AC_MSG_CHECKING([whether the OS is Linux])
- 
- AC_CACHE_VAL([snes9x_cv_linux_os],
- [
--	case "$target" in
-+	case "$host" in
- 		*-*-linux*)
- 			snes9x_cv_linux_os="yes"
- 			;;
-@@ -332,7 +332,7 @@ AC_DEFUN([AC_S9X_CHECK_SAR],
- 			return (i < 0 ? 0 : 1);
- 		}
- 	],
--	[snes9x_sar_$1="yes"], [snes9x_sar_$1="no"])
-+	[snes9x_sar_$1="yes"], [snes9x_sar_$1="no"], [snes9x_sar_$1=$GCC])
- 
- 	CXXFLAGS="[$]OLD_CXXFLAGS"
- 
diff --git a/games-emulation/snes9x/metadata.xml b/games-emulation/snes9x/metadata.xml
deleted file mode 100644
index 24e4956..0000000
--- a/games-emulation/snes9x/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>games</herd>
-	<use>
-		<flag name="netplay">Enable playing ROMs over the network (not recommended)</flag>
-		<flag name="xrandr">Enable support for the X xrandr extension</flag>
-	</use>
-	<upstream>
-		<remote-id type="google-code">snes9x-gtk</remote-id>
-	</upstream>
-</pkgmetadata>
diff --git a/games-emulation/snes9x/snes9x-1.53.ebuild b/games-emulation/snes9x/snes9x-1.53.ebuild
deleted file mode 100644
index 8b6f5dc..0000000
--- a/games-emulation/snes9x/snes9x-1.53.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.53.ebuild,v 1.10 2013/02/07 21:32:17 vapier Exp $
-
-EAPI=2
-inherit autotools eutils flag-o-matic multilib gnome2-utils games
-
-DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
-HOMEPAGE="http://code.google.com/p/snes9x-gtk/"
-SRC_URI="http://snes9x-gtk.googlecode.com/files/${P}-src.tar.bz2"
-
-LICENSE="HPND GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="alsa debug gtk joystick multilib netplay nls opengl oss png pulseaudio portaudio +xv +xrandr zlib"
-
-RDEPEND="x11-libs/libX11
-	x11-libs/libXext
-	png? ( >=media-libs/libpng-1.2.43:0 )
-	gtk? ( >=x11-libs/gtk+-2.10:2
-		x11-misc/xdg-utils
-		portaudio? ( >=media-libs/portaudio-19_pre )
-		joystick? ( >=media-libs/libsdl-1.2.12[joystick] )
-		opengl? ( virtual/opengl )
-		xv? ( x11-libs/libXv )
-		xrandr? ( x11-libs/libXrandr )
-		alsa? ( media-libs/alsa-lib )
-		pulseaudio? ( media-sound/pulseaudio ) )"
-DEPEND="${RDEPEND}
-	x11-proto/xproto
-	gtk? ( virtual/pkgconfig
-		xv? ( x11-proto/videoproto ) )
-	nls? ( dev-util/intltool )"
-
-S=${WORKDIR}/${P}-src/unix
-
-pkg_setup() {
-	games_pkg_setup
-}
-
-src_prepare() {
-	cd "${WORKDIR}"/${P}-src
-	sed -i -e '/pedantic/d' {gtk,unix}/configure.ac || die
-	sed -i -e '75i#define OF(x) x' unzip/{un,}zip.h || die
-	sed -i -e '22i#define OF(x) x' unzip/ioapi.h || die
-	epatch "${FILESDIR}"/${P}-build.patch
-	epatch "${FILESDIR}"/${P}-cross-compile.patch
-	cd unix
-	eautoreconf
-	if use gtk; then
-		cd ../gtk
-		eautoreconf
-	fi
-}
-
-src_configure() {
-	append-ldflags -Wl,-z,noexecstack
-
-	egamesconf \
-		$(use_enable joystick gamepad) \
-		$(use_enable debug debugger) \
-		$(use_enable netplay) \
-		$(use_enable zlib gzip) \
-		$(use_enable zlib zip) \
-		$(use_enable png screenshot)
-
-	if use gtk; then
-		cd ../gtk
-		egamesconf \
-			--disable-dependency-tracking \
-			--datadir=/usr/share \
-			$(use_enable nls) \
-			$(use_with opengl) \
-			$(use_with joystick) \
-			$(use_with xv) \
-			$(use_with xrandr) \
-			$(use_with netplay) \
-			$(use_with zlib) \
-			$(use_with alsa) \
-			$(use_with oss) \
-			$(use_with pulseaudio) \
-			$(use_with portaudio) \
-			$(use_with png screenshot)
-	fi
-}
-
-src_compile() {
-	games_src_compile
-	if use gtk; then
-		emake -C ../gtk || die
-	fi
-}
-
-src_install() {
-	dogamesbin ${PN} || die
-
-	dohtml {.,..}/docs/*.html
-	dodoc ../docs/{snes9x.conf.default,{changes,control-inputs,controls,snapshots}.txt}
-
-	if use gtk; then
-		emake -C ../gtk DESTDIR="${D}" install || die
-		dodoc ../gtk/{AUTHORS,doc/README}
-	fi
-
-	prepgamesdirs
-}
-
-pkg_preinst() {
-	games_pkg_preinst
-	use gtk && gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	games_pkg_postinst
-	use gtk && gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-	use gtk && gnome2_icon_cache_update
-}