diff options
Diffstat (limited to 'games-emulation/zsnes/zsnes-1.50.ebuild')
-rw-r--r-- | games-emulation/zsnes/zsnes-1.50.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/games-emulation/zsnes/zsnes-1.50.ebuild b/games-emulation/zsnes/zsnes-1.50.ebuild deleted file mode 100644 index 17eb960..0000000 --- a/games-emulation/zsnes/zsnes-1.50.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit eutils autotools games toolchain-funcs - -DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly" -HOMEPAGE="http://www.zsnes.com/ http://ipherswipsite.com/zsnes/" -SRC_URI="mirror://sourceforge/zsnes/${PN}${PV//./}src.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="opengl png debug debugger" - -RDEPEND=">=media-libs/libsdl-1.2.0 - >=sys-libs/zlib-1.2.3-r1 - amd64? ( app-emulation/emul-linux-x86-sdl ) - opengl? ( virtual/opengl ) - png? ( media-libs/libpng )" -DEPEND="${RDEPEND} - >=dev-lang/nasm-0.98" - -S="${WORKDIR}/${PN}_${PV//./_}/src" - -src_unpack() { - unpack ${A} - cd "${S}" - cp "icons/48x48x32.png" "${T}/${PN}.png" - - epatch "${FILESDIR}"/${P}-noforcearch.patch - epatch "${FILESDIR}"/${P}-gzdirect.patch - - # Remove hardcoded CFLAGS and LDFLAGS - sed -i \ - -e '/^\s*CFLAGS=.* -fomit-frame-pointer /d' \ - -e 's:^\s*CFLAGS=.* -I\/usr\/local\/include .*$:CFLAGS="${CFLAGS} -I.":' \ - -e '/^\s*LDFLAGS=.* -L\/usr\/local\/lib /d' \ - configure.in || die - - eautoreconf -} - -src_compile() { - tc-export CC - use amd64 && multilib_toolchain_setup x86 - egamesconf \ - $(use_enable png libpng) \ - $(use_enable opengl) \ - $(use_enable debugger) \ - $(use_enable debug) \ - --disable-cpucheck \ - --enable-release \ - force_arch=no \ - || die - emake || die "emake failed" -} - -src_install() { - dogamesbin zsnes || die "dogamesbin failed" - newman linux/zsnes.1 zsnes.6 - dodoc ../docs/{*.txt,README.LINUX} - dohtml -r ../docs/Linux/* - make_desktop_entry zsnes ZSNES zsnes.png - doicon "${T}/${PN}.png" - prepgamesdirs -} |