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/psemu-padxwin | |
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/psemu-padxwin')
5 files changed, 87 insertions, 0 deletions
diff --git a/games-emulation/psemu-padxwin/ChangeLog b/games-emulation/psemu-padxwin/ChangeLog new file mode 100644 index 000000000000..d08921531c36 --- /dev/null +++ b/games-emulation/psemu-padxwin/ChangeLog @@ -0,0 +1,25 @@ +# ChangeLog for app-emulation/psemu-padxwin +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padxwin/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $ + +*psemu-padxwin-1.6 (14 Aug 2003) + + 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Version bumpage + games.eclass support. + +*psemu-padxwin-1.4 (27 Jul 2002) + + 06 Aug 2002; Mark Guertin <gerk@gentoo.org> : + Added -ppc to keywords + + 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-padxwin-1.4.ebuild : + Added LICENSE, KEYWORDS="x86", SLOT and RDEPEND. + +*psemu-padxwin-1.4 (2 June 2002) + + 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog : + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/games-emulation/psemu-padxwin/Manifest b/games-emulation/psemu-padxwin/Manifest new file mode 100644 index 000000000000..930f24932718 --- /dev/null +++ b/games-emulation/psemu-padxwin/Manifest @@ -0,0 +1,4 @@ +MD5 7742a797d41435bfcac4b6c355813907 files/digest-psemu-padxwin-1.6 59 +MD5 8a6a7a643ef5b6edca937f877af362d2 files/1.6-makefile-cflags.patch 645 +MD5 bce9a77624c9def59fd6956925a59ab6 psemu-padxwin-1.6.ebuild 821 +MD5 f45f998ac50bf014395823fe7c45724c ChangeLog 1075 diff --git a/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch b/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch new file mode 100644 index 000000000000..7ba703b4090b --- /dev/null +++ b/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch @@ -0,0 +1,20 @@ +--- src/Makefile.orig 2002-09-22 12:47:57.000000000 -0400 ++++ src/Makefile 2003-08-14 01:38:09.610424944 -0400 +@@ -3,7 +3,7 @@ + BUILD = 6 + PLUGIN = libpadXwin-${VERSION}.${BUILD}.so + CFG = cfgPadXwin +-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer ++CFLAGS = -fPIC -Wall $(OPTFLAGS) + OBJECTS = pad.o + CFGOBJS = conf.o interface.o support.o + LIBS = -lX11 +@@ -14,7 +14,7 @@ + + plugin: ${OBJECTS} + rm -f ${PLUGIN} +- gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS} ++ gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS} ${CFGLIBS} + strip --strip-unneeded --strip-debug ${PLUGIN} + + cfg: ${CFGOBJS} diff --git a/games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.6 b/games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.6 new file mode 100644 index 000000000000..3cd6bfbb585d --- /dev/null +++ b/games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.6 @@ -0,0 +1 @@ +MD5 8cc329761334b2ddf20b22e25007ba8d padXwin-1.6.tgz 25364 diff --git a/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild b/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild new file mode 100644 index 000000000000..429baf937cd4 --- /dev/null +++ b/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $ + +inherit games eutils + +DESCRIPTION="PSEmu plugin to use the keyboard as a gamepad" +HOMEPAGE="http://www.pcsx.net/" +SRC_URI="http://linuzappz.pcsx.net/downloads/padXwin-${PV}.tgz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="x86" + +DEPEND="=x11-libs/gtk+-1*" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-makefile-cflags.patch +} + +src_compile() { + cd src + emake OPTFLAGS="${CFLAGS}" || die +} + +src_install() { + dodoc ReadMe.txt + cd src + exeinto ${GAMES_LIBDIR}/psemu/plugins + doexe libpadXwin-* + exeinto ${GAMES_LIBDIR}/psemu/cfg + doexe cfgPadXwin + prepgamesdirs +} |