diff options
Diffstat (limited to 'games-emulation/zsnes-wip/zsnes-wip-20061112.ebuild')
-rw-r--r-- | games-emulation/zsnes-wip/zsnes-wip-20061112.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/games-emulation/zsnes-wip/zsnes-wip-20061112.ebuild b/games-emulation/zsnes-wip/zsnes-wip-20061112.ebuild deleted file mode 100644 index 514f0d5..0000000 --- a/games-emulation/zsnes-wip/zsnes-wip-20061112.ebuild +++ /dev/null @@ -1,67 +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="http://files.ipherswipsite.com/zsnes/ZSNESS_${PV:4}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="opengl png mplayer 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 ) - mplayer? ( media-video/mplayer )" -DEPEND="${RDEPEND} - >=dev-lang/nasm-0.98" - -S="${WORKDIR}" - -src_unpack() { - unpack ${A} - cd "${S}" - cp "icons/48x48x32.png" "${T}/${PN}.png" - - epatch "${FILESDIR}"/${P}-parsegendistcc.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 - - eaclocal - eautoconf -} - -src_compile() { - use amd64 && multilib_toolchain_setup x86 - egamesconf \ - $(use_enable png libpng) \ - $(use_enable opengl) \ - $(use_enable debugger) \ - $(use_enable debug) \ - || die - CC="$(tc-getCC)" emake || die "emake failed" -} - -src_install() { - newgamesbin zsnes ${PN} || die "newgamesbin failed" - newman linux/zsnes.1 ${PN}.6 - sed -i -e 's/zsnes/zsnes-wip/' -e 's/ZSNES/ZSNES WIP/' linux/zsnes.desktop - insinto /usr/share/applications - newins linux/zsnes.desktop zsnes-wip.desktop - doicon "${T}/${PN}.png" - prepgamesdirs -} |