summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-14 06:25:09 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-14 06:25:09 +0000
commitd845e874d0e8bad53e06446eb44ca3718cf4112a (patch)
tree547296756b2bde0004b9216c3832a3486dadaa24 /app-emulation
parentVersion bump. Upstream build fixes as patched in previous build. 2.2.x will... (diff)
downloadgentoo-2-d845e874d0e8bad53e06446eb44ca3718cf4112a.tar.gz
gentoo-2-d845e874d0e8bad53e06446eb44ca3718cf4112a.tar.bz2
gentoo-2-d845e874d0e8bad53e06446eb44ca3718cf4112a.zip
games.eclass + version bumpage
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/psemu-padjoy/ChangeLog14
-rw-r--r--app-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch11
-rw-r--r--app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.621
-rw-r--r--app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.811
-rw-r--r--app-emulation/psemu-padjoy/psemu-padjoy-0.62.ebuild28
-rw-r--r--app-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild38
6 files changed, 57 insertions, 36 deletions
diff --git a/app-emulation/psemu-padjoy/ChangeLog b/app-emulation/psemu-padjoy/ChangeLog
index d9f186b7f810..467e208ac98f 100644
--- a/app-emulation/psemu-padjoy/ChangeLog
+++ b/app-emulation/psemu-padjoy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/psemu-padjoy
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/psemu-padjoy/ChangeLog,v 1.5 2003/02/12 04:02:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/psemu-padjoy/ChangeLog,v 1.6 2003/08/14 06:25:09 vapier Exp $
+
+*psemu-padjoy-0.81 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
*psemu-padjoy-0.62 (29 Jul 2002)
@@ -8,19 +13,14 @@
Added -ppc to keywords
29 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-padjoy-0.62.ebuild :
-
- Version bump. Author changed version 62 to GPL. LICENSE added to ebuild.
+ Version bump. Author changed version 62 to GPL. LICENSE added to ebuild.
*psemu-padjoy-0.61 (27 Jul 2002)
27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-padjoy-0.61.ebuild :
-
Added SLOT, LICENSE, and KEYWORDS="x86"
-*psemu-padjoy-0.61 (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
diff --git a/app-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch b/app-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch
new file mode 100644
index 000000000000..f3db0e0730fa
--- /dev/null
+++ b/app-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2003-08-14 01:55:53.161740568 -0400
++++ src/Makefile 2003-08-14 01:56:01.737436864 -0400
+@@ -3,7 +3,7 @@
+ BUILD = 8
+ PLUGIN = libpadJoy-${VERSION}.${BUILD}.so
+ CFGPRG = cfgPadJoy
+-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -D_REENTRANT
++CFLAGS = -fPIC -Wall $(OPTFLAGS) -D_REENTRANT
+ OBJECTS = pad.o
+ CFGOBJ = cfg.o
+ LIBS = $(shell gtk-config --libs) -lpthread
diff --git a/app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.62 b/app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.62
deleted file mode 100644
index 0dae465b5d3c..000000000000
--- a/app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.62
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4bdf905445b90784f560c6b8f3852381 padJoy062.tgz 32002
diff --git a/app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.81 b/app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.81
new file mode 100644
index 000000000000..93d6c1942524
--- /dev/null
+++ b/app-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.81
@@ -0,0 +1 @@
+MD5 19940dedd33d76255375cfd1ba14fd9a padJoy081.tgz 48344
diff --git a/app-emulation/psemu-padjoy/psemu-padjoy-0.62.ebuild b/app-emulation/psemu-padjoy/psemu-padjoy-0.62.ebuild
deleted file mode 100644
index ca23795d41ce..000000000000
--- a/app-emulation/psemu-padjoy/psemu-padjoy-0.62.ebuild
+++ /dev/null
@@ -1,28 +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/psemu-padjoy/psemu-padjoy-0.62.ebuild,v 1.5 2003/02/13 07:15:56 vapier Exp $
-
-DESCRIPTION="PSEmu plugin to use joysticks/gamepads in PSX-emulators"
-HOMEPAGE="http://www.ammoq.com"
-LICENSE="GPL-2" # No mention of a license.. That makes it Public Domain?
-KEYWORDS="x86 -ppc"
-SLOT="0"
-DEPEND="x11-libs/gtk+"
-SRC_URI="http://members.chello.at/erich.kitzmueller/ammoq/padJoy062.tgz"
-S=${WORKDIR}/padJoy
-IUSE=""
-
-src_compile() {
- cd src
- ( echo CFLAGS = ${CFLAGS}
- sed 's/CFLAGS =/CFLAGS +=/' < Makefile ) >Makefile.gentoo
- emake -f Makefile.gentoo
-}
-
-src_install () {
- insinto /usr/lib/psemu/plugins
- doins src/libpad*
- chmod 755 ${D}/usr/lib/psemu/plugins/*
- dodoc readme.txt
-}
-
diff --git a/app-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild b/app-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild
new file mode 100644
index 000000000000..7df7a0f65bfb
--- /dev/null
+++ b/app-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild,v 1.1 2003/08/14 06:25:09 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="PSEmu plugin to use joysticks/gamepads in PSX-emulators"
+HOMEPAGE="http://www.ammoq.com/"
+SRC_URI="http://members.chello.at/erich.kitzmueller/ammoq/padJoy${PV//.}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}/padJoy
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ 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 libpadJoy-*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPadJoy
+ prepgamesdirs
+}