diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-14 06:20:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-14 06:20:27 +0000 |
commit | 62efb65bdba774014d459296c668f4aaca1bc7ff (patch) | |
tree | d296ec8be7949825366bf6e6bcb2aaa9277682fa /app-emulation | |
parent | games.eclass + version bump (diff) | |
download | historical-62efb65bdba774014d459296c668f4aaca1bc7ff.tar.gz historical-62efb65bdba774014d459296c668f4aaca1bc7ff.tar.bz2 historical-62efb65bdba774014d459296c668f4aaca1bc7ff.zip |
games.eclass
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/epsxe/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/epsxe/epsxe-1.5.2.ebuild | 44 | ||||
-rw-r--r-- | app-emulation/epsxe/epsxe-1.6.0-r1.ebuild (renamed from app-emulation/epsxe/epsxe-1.6.0.ebuild) | 24 | ||||
-rw-r--r-- | app-emulation/epsxe/files/digest-epsxe-1.5.2 | 1 | ||||
-rw-r--r-- | app-emulation/epsxe/files/digest-epsxe-1.6.0-r1 (renamed from app-emulation/epsxe/files/digest-epsxe-1.6.0) | 0 | ||||
-rw-r--r-- | app-emulation/epsxe/files/epsxe | 44 |
6 files changed, 40 insertions, 80 deletions
diff --git a/app-emulation/epsxe/ChangeLog b/app-emulation/epsxe/ChangeLog index a0dc60dfa8f5..a623b223f276 100644 --- a/app-emulation/epsxe/ChangeLog +++ b/app-emulation/epsxe/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/epsxe # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/epsxe/ChangeLog,v 1.9 2003/08/05 19:47:18 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/epsxe/ChangeLog,v 1.10 2003/08/14 06:20:27 vapier Exp $ + +*epsxe-1.6.0-r1 (14 Aug 2003) + + 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Add games.eclass support. *epsxe-1.6.0 (05 Aug 2003) diff --git a/app-emulation/epsxe/epsxe-1.5.2.ebuild b/app-emulation/epsxe/epsxe-1.5.2.ebuild deleted file mode 100644 index 5f010edb615b..000000000000 --- a/app-emulation/epsxe/epsxe-1.5.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/epsxe/epsxe-1.5.2.ebuild,v 1.11 2003/07/13 22:00:26 vapier Exp $ - -DESCRIPTION="ePSXe Playstation Emulator" -HOMEPAGE="http://www.epsxe.com/" -SRC_URI="http://download.epsxe.com/files/epsxe152lin.zip" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="x86" -IUSE="opengl" - -DEPEND="app-arch/unzip" -RDEPEND=">=dev-libs/glib-1.2 - =x11-libs/gtk+-1.2* - =sys-libs/ncurses-5* - =sys-libs/zlib-1* - net-misc/wget - app-emulation/psemu-peopsspu - || ( - opengl? ( app-emulation/psemu-gpupetemesagl ) - app-emulation/psemu-peopssoftgpu - )" - -S=${WORKDIR} - -# For some strange reason, strip truncates the whole file -RESTRICT="nostrip" - -src_install() { - dobin ${FILESDIR}/epsxe - - exeinto /opt/epsxe - doexe epsxe - - insinto /usr/lib/psemu/cheats - doins cheats/* - - insinto /etc/epsxe - doins keycodes.lst - - dodoc docs/* -} diff --git a/app-emulation/epsxe/epsxe-1.6.0.ebuild b/app-emulation/epsxe/epsxe-1.6.0-r1.ebuild index 2999b259c2f1..6fa3cbd45ff1 100644 --- a/app-emulation/epsxe/epsxe-1.6.0.ebuild +++ b/app-emulation/epsxe/epsxe-1.6.0-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/epsxe/epsxe-1.6.0.ebuild,v 1.1 2003/08/05 19:47:19 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/epsxe/epsxe-1.6.0-r1.ebuild,v 1.1 2003/08/14 06:20:27 vapier Exp $ + +inherit games DESCRIPTION="ePSXe Playstation Emulator" HOMEPAGE="http://www.epsxe.com/" @@ -8,8 +10,9 @@ SRC_URI="http://download.epsxe.com/files/epsxe160lin.zip" LICENSE="freedist" SLOT="0" -KEYWORDS="x86" +KEYWORDS="-* x86" IUSE="opengl" +RESTRICT="nostrip" # For some strange reason, strip truncates the whole file DEPEND="app-arch/unzip" RDEPEND=">=dev-libs/glib-1.2 @@ -25,20 +28,17 @@ RDEPEND=">=dev-libs/glib-1.2 S=${WORKDIR} -# For some strange reason, strip truncates the whole file -RESTRICT="nostrip" - src_install() { - dobin ${FILESDIR}/epsxe - - exeinto /opt/epsxe + dogamesbin ${FILESDIR}/epsxe + exeinto ${GAMES_PREFIX_OPT}/${PN} doexe epsxe + insinto ${GAMES_PREFIX_OPT}/${PN} + doins keycodes.lst - insinto /usr/lib/psemu/cheats + insinto ${GAMES_LIBDIR}/psemu/cheats doins cheats/* - insinto /etc/epsxe - doins keycodes.lst - dodoc docs/* + + prepgamesdirs } diff --git a/app-emulation/epsxe/files/digest-epsxe-1.5.2 b/app-emulation/epsxe/files/digest-epsxe-1.5.2 deleted file mode 100644 index cc22445f82b5..000000000000 --- a/app-emulation/epsxe/files/digest-epsxe-1.5.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 5834f34cb904b08d95abda057eff3981 epsxe152lin.zip 166559 diff --git a/app-emulation/epsxe/files/digest-epsxe-1.6.0 b/app-emulation/epsxe/files/digest-epsxe-1.6.0-r1 index a429bbfa02fe..a429bbfa02fe 100644 --- a/app-emulation/epsxe/files/digest-epsxe-1.6.0 +++ b/app-emulation/epsxe/files/digest-epsxe-1.6.0-r1 diff --git a/app-emulation/epsxe/files/epsxe b/app-emulation/epsxe/files/epsxe index 5f1be2edf5b2..11e35fb87585 100644 --- a/app-emulation/epsxe/files/epsxe +++ b/app-emulation/epsxe/files/epsxe @@ -1,34 +1,34 @@ #!/bin/sh -if [ ! -d ~/.epsxe ]; then - echo You are running ePSXe for the first time. - echo Setting up your ePSXe environment... Please wait... - - mkdir -p $HOME/.epsxe - cd $HOME/.epsxe +source /sbin/functions.sh + +if [ ! -d ~/.epsxe ] ; then + einfo You are running ePSXe for the first time. + einfo Setting up your ePSXe environment... Please wait... + + mkdir -p ~/.epsxe + cd ~/.epsxe mkdir memcards bios cfg cheats snap sstates patches plugins - cp /etc/epsxe/keycodes.lst keycodes.lst + cp /opt/epsxe/keycodes.lst keycodes.lst - ln -s /usr/lib/psemu/plugins/* plugins/ - ln -s /opt/epsxe/epsxe epsxe + ln -s /usr/lib/psemu/plugins/* plugins/ >& /dev/null + ln -s /opt/epsxe/epsxe epsxe >& /dev/null cd bios - if [ -f /usr/lib/psemu/bios/scph1001.bin ]; then - ln -s /usr/lib/psemu/bios/scph1001.bin . + if [ -f /usr/games/lib/psemu/bios/scph1001.bin ]; then + ln -s /usr/games/lib/psemu/bios/scph1001.bin . else - echo -e "\007" - echo "*** Put your BIOS file into $HOME/.epsxe/bios," - echo " or ePSXe may not work!" - echo "" - echo " Hit enter key to continue..." - read + echo + ewarn "*** Put your BIOS file into ~/.epsxe/bios," + ewarn " or ePSXe may not work!" + echo fi fi -cd $HOME/.epsxe +cd ~/.epsxe -ln -s /usr/lib/psemu/plugins/* plugins/ -ln -s /usr/lib/psemu/cfg/* cfg/ -ln -s /usr/lib/psemu/cheats/* cheats/ +ln -s /usr/lib/psemu/plugins/* plugins/ >& /dev/null +ln -s /usr/lib/psemu/cfg/* cfg/ >& /dev/null +ln -s /usr/lib/psemu/cheats/* cheats/ >& /dev/null -./epsxe +exec ./epsxe "$@" |