diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
commit | ae044aeba549da343d278a26bb72bac844e5a5e4 (patch) | |
tree | b16ea879113ef2bd09bb78bb00e8338b088d3afb /games-emulation/game-launcher | |
parent | New package - rename. (diff) | |
download | gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.gz gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.bz2 gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.zip |
welcome to games-emulation
Diffstat (limited to 'games-emulation/game-launcher')
6 files changed, 94 insertions, 0 deletions
diff --git a/games-emulation/game-launcher/ChangeLog b/games-emulation/game-launcher/ChangeLog new file mode 100644 index 000000000000..18d594915056 --- /dev/null +++ b/games-emulation/game-launcher/ChangeLog @@ -0,0 +1,19 @@ +# ChangeLog for app-emulation/game-launcher +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/games-emulation/game-launcher/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $ + + 21 Aug 2003; Michael Sterrett <msterret@gentoo.org> + game-launcher-0.9.8.ebuild: + unpack and patch in src_unpack. Still doesn't work, but it's at least a little + cleaner. + +*game-launcher-0.9.8 (27 Oct 2002) + + 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Added games.eclass support and a gcc-3.x patch. + + 27 Oct 2002; Thomas Raschbacher <lordvan@gentoo.org>: added ebuild + WARNING: is a security-hole cuz parts of it are(and have to be) world-writeable!!!! + + 04 Jan 2003; Thomas Raschbacher <lordvan@gentoo.org>: + fixed ChangeLog diff --git a/games-emulation/game-launcher/Manifest b/games-emulation/game-launcher/Manifest new file mode 100644 index 000000000000..6b7c550bf2bc --- /dev/null +++ b/games-emulation/game-launcher/Manifest @@ -0,0 +1,5 @@ +MD5 9cc5d5a3f43d70d49fa1e2ce4102feb1 ChangeLog 776 +MD5 b5321a7fad22f65b9260f8ac5cd073ba game-launcher-0.9.8.ebuild 1317 +MD5 671b1311f9989ac4e746ae60042ec36c files/0.9.8-digi-oss.patch 229 +MD5 0ce1a828196b8d4e3e0302ed4d95c4d3 files/0.9.8-gcc3.patch 299 +MD5 79514d6adf8fd7f9d6fc78210cc91aee files/digest-game-launcher-0.9.8 55 diff --git a/games-emulation/game-launcher/files/0.9.8-digi-oss.patch b/games-emulation/game-launcher/files/0.9.8-digi-oss.patch new file mode 100644 index 000000000000..d96c89f758ec --- /dev/null +++ b/games-emulation/game-launcher/files/0.9.8-digi-oss.patch @@ -0,0 +1,7 @@ +--- engine/engine.cc.orig 2003-06-21 03:11:03.000000000 -0400 ++++ engine/engine.cc 2003-06-21 03:10:28.000000000 -0400 +@@ -1,3 +1,4 @@ ++#define ALLEGRO_WITH_OSSDIGI + #include <iostream> + #include <strstream> + #include <stdlib.h> diff --git a/games-emulation/game-launcher/files/0.9.8-gcc3.patch b/games-emulation/game-launcher/files/0.9.8-gcc3.patch new file mode 100644 index 000000000000..141ac66a822d --- /dev/null +++ b/games-emulation/game-launcher/files/0.9.8-gcc3.patch @@ -0,0 +1,11 @@ +--- ./startup/unix/glaunch.cc.old 2003-01-08 15:38:38.000000000 -0800 ++++ ./startup/unix/glaunch.cc 2003-01-08 15:41:38.000000000 -0800 +@@ -5,6 +5,8 @@ + #include "exit.h" + #include <stdio.h> + ++using namespace std; ++ + static int runProgram(const char * program); + + int main(int argc, char *argv[]) diff --git a/games-emulation/game-launcher/files/digest-game-launcher-0.9.8 b/games-emulation/game-launcher/files/digest-game-launcher-0.9.8 new file mode 100644 index 000000000000..e8ce54296631 --- /dev/null +++ b/games-emulation/game-launcher/files/digest-game-launcher-0.9.8 @@ -0,0 +1 @@ +MD5 773dcd3b8f38574ec8117986031c2a65 gl098s.zip 357961 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 +} |