diff options
Diffstat (limited to 'games-emulation/game-launcher/game-launcher-0.9.8.ebuild')
-rw-r--r-- | games-emulation/game-launcher/game-launcher-0.9.8.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/games-emulation/game-launcher/game-launcher-0.9.8.ebuild b/games-emulation/game-launcher/game-launcher-0.9.8.ebuild new file mode 100644 index 000000000000..e40f21655169 --- /dev/null +++ b/games-emulation/game-launcher/game-launcher-0.9.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/game-launcher/game-launcher-0.9.8.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $ + +inherit games eutils + +DESCRIPTION="universal front end for emulators ... works with MAME, Nesticle, RockNES, zSNES, snes9x, Callus, Stella, z26, and Genecyst" +HOMEPAGE="http://www.dribin.org/dave/game_launcher/" +SRC_URI="mirror://sourceforge/glaunch/gl${PV//./}s.zip" + +LICENSE="GPL-2" +KEYWORDS="x86" +SLOT="0" + +RDEPEND=">=media-libs/allegro-4.0.0 + >=media-libs/loadpng-0.11 + >=media-libs/allegromp3-2.0.2 + >=media-libs/allegttf-2.0 + >=media-libs/libpng-1.2.4 + >=media-libs/jpgalleg-1.1 + >=sys-libs/zlib-1.1.4" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + app-arch/unzip" + +S=${WORKDIR}/glaunch + +src_unpack() { + unpack ${A} + cd ${S} + + edos2unix `find -regex '.*\.[ch]' -or -name '*.cc'` + + epatch ${FILESDIR}/${PV}-gcc3.patch + epatch ${FILESDIR}/${PV}-digi-oss.patch + + sed -i \ + -e "s/TARGET\(.*\)= MINGW/#TARGET\1= MINGW/" \ + -e "s/#TARGET\(.*\)= UNIX/TARGET\1= UNIX/" common.mk || \ + die "sed common.mk failed" +} + +src_compile() { + emake -j1 CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + dodir /opt/${P} + cp -R ${S}/* ${D}/opt/${P} # doinst can't do recursive + prepgamesdirs +} |