summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-28 23:51:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-28 23:51:57 +0000
commit4c65da91e21060f01404aa150a739aa2460bda10 (patch)
tree102489923dc862521850c56a9f6f3e4ac9274ecc /games-emulation
parentInstall resource file into non-deprecated location, patch provided by ulm in ... (diff)
downloadgentoo-2-4c65da91e21060f01404aa150a739aa2460bda10.tar.gz
gentoo-2-4c65da91e21060f01404aa150a739aa2460bda10.tar.bz2
gentoo-2-4c65da91e21060f01404aa150a739aa2460bda10.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/xe/ChangeLog10
-rw-r--r--games-emulation/xe/files/xe-2.14.010
-rw-r--r--games-emulation/xe/xe-2.14.0.ebuild48
3 files changed, 66 insertions, 2 deletions
diff --git a/games-emulation/xe/ChangeLog b/games-emulation/xe/ChangeLog
index 8d84f129dfb9..30841cc3cdb1 100644
--- a/games-emulation/xe/ChangeLog
+++ b/games-emulation/xe/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/xe
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xe/ChangeLog,v 1.7 2007/03/07 16:50:52 wolf31o2 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xe/ChangeLog,v 1.8 2008/04/28 23:51:56 mr_bones_ Exp $
+
+*xe-2.14.0 (28 Apr 2008)
+
+ 28 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> +files/xe-2.14.0,
+ +xe-2.14.0.ebuild:
+ version bump
07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/xe-20060101:
Change all instances of [ to [[.
diff --git a/games-emulation/xe/files/xe-2.14.0 b/games-emulation/xe/files/xe-2.14.0
new file mode 100644
index 000000000000..211d508d883e
--- /dev/null
+++ b/games-emulation/xe/files/xe-2.14.0
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [[ ! -d ~/.xe/modules ]] ; then
+ mkdir -p ~/.xe/modules
+fi
+for f in GENTOODIR/modules/*
+do
+ ln -s $f ~/.xe/modules/ 2> /dev/null
+done
+exec xe.bin "${@}"
diff --git a/games-emulation/xe/xe-2.14.0.ebuild b/games-emulation/xe/xe-2.14.0.ebuild
new file mode 100644
index 000000000000..2904cdd3bfc2
--- /dev/null
+++ b/games-emulation/xe/xe-2.14.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xe/xe-2.14.0.ebuild,v 1.1 2008/04/28 23:51:56 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="a multi system emulator for many console and handheld video game systems"
+HOMEPAGE="http://www.xe-emulator.com/"
+SRC_URI="http://www.xe-emulator.com/files/${PN}-x86-32-bin.${PV}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE=""
+RESTRICT="strip"
+
+RDEPEND="x11-libs/libXv
+ x11-libs/libXxf86vm
+ sys-libs/zlib
+ =x11-libs/gtk+-2*"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${PN}-x86
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/strip/d' \
+ -e '/^CC/d' \
+ Makefile \
+ || die "sed failed"
+}
+
+src_install() {
+ newgamesbin xe xe.bin || die "newgamesbin failed"
+ newgamesbin "${FILESDIR}"/xe-${PV} xe || die "newgamesbin failed"
+ sed -i \
+ -e "s:GENTOODIR:$(games_get_libdir)/${PN}:" "${D}/${GAMES_BINDIR}/xe" \
+ || die "sed failed"
+ insinto "$(games_get_libdir)"/${PN}
+ doins -r modules/ rc/ || die "doins failed"
+ keepdir "$(games_get_libdir)"/${PN}/bios
+ dodoc README.txt
+ dohtml manual.html
+ prepgamesdirs
+}