summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/psemu-peopssoftgpu')
-rw-r--r--games-emulation/psemu-peopssoftgpu/ChangeLog35
-rw-r--r--games-emulation/psemu-peopssoftgpu/Manifest4
-rw-r--r--games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch28
-rw-r--r--games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.151
-rw-r--r--games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild51
5 files changed, 119 insertions, 0 deletions
diff --git a/games-emulation/psemu-peopssoftgpu/ChangeLog b/games-emulation/psemu-peopssoftgpu/ChangeLog
new file mode 100644
index 000000000000..37e462f807fb
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/ChangeLog
@@ -0,0 +1,35 @@
+# ChangeLog for app-emulation/psemu-peopssoftgpu
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-peopssoftgpu-1.15 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
+
+*psemu-peopssoftgpu-1.14 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + cleanups #24076.
+
+*psemu-peopssoftgpu-1.6 (27 Jul 2002)
+
+ 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> psemu-peopssoftgpu-1.0.6.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; S.Bouyer <stubear@gentoo.org> psemu-peopssoftgpu-1.6.ebuild:
+
+ Added KEYWORDS="x86", SLOT and RDEPEND.
+
+*psemu-peopssoftgpu (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-peopssoftgpu/Manifest b/games-emulation/psemu-peopssoftgpu/Manifest
new file mode 100644
index 000000000000..1151f51108d6
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/Manifest
@@ -0,0 +1,4 @@
+MD5 2bb8283c0041934b8dcf50003f408ea0 files/digest-psemu-peopssoftgpu-1.15 67
+MD5 d7d6d0e073fab50e7fc57d7efe5dcf31 files/1.15-makefile-cflags.patch 971
+MD5 d07e49c3ffde69978fb3f3e1eeb984be ChangeLog 1345
+MD5 eb45d600eb7d9d8af1888b1f2ae11292 psemu-peopssoftgpu-1.15.ebuild 1164
diff --git a/games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch b/games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch
new file mode 100644
index 000000000000..b0e2d5ede69c
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch
@@ -0,0 +1,28 @@
+--- src/makes/plg.mk.orig 2003-08-14 02:03:31.283095536 -0400
++++ src/makes/plg.mk 2003-08-14 02:03:54.843513808 -0400
+@@ -4,7 +4,7 @@
+
+ PLUGIN = libgpuPeops$(VERSION).so
+ PLUGINTYPE = libgpu.so
+-CFLAGS = -g -Wall -fPIC -O4 -fomit-frame-pointer -ffast-math $(INCLUDE)
++CFLAGS = -Wall -fPIC $(OPTFLAGS) $(INCLUDE)
+ #CFLAGS = -g -Wall -fPIC -O3 -mpentium -fomit-frame-pointer -ffast-math $(INCLUDE)
+ INCLUDE = -I/usr/local/include
+ OBJECTS = gpu.o cfg.o draw.o fps.o key.o menu.o prim.o soft.o
+--- src/makes/mk.fpse.orig 2003-08-14 02:04:25.902792080 -0400
++++ src/makes/mk.fpse 2003-08-14 02:05:06.265655992 -0400
+@@ -5,12 +5,12 @@
+ CC = gcc
+ LD = gcc
+ NASM = nasm
+-INCLUDE += -I./fpse `gtk-config --cflags`
++INCLUDE += -I./fpse `gtk-config --cflags` `sdl-config --cflags`
+ VERSION = SDL
+ NUMBER = 1.0.15
+ CFLAGS += -D_FPSE -D_SDL -D__i386__ -D_SDL2
+ ASMFLAGS += -f elf
+-LIBS += -lSDL
++LIBS += `sdl-config --libs`
+ OBJECTS += fpsewp.o
+ OBJECTS += i386.o
+
diff --git a/games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.15 b/games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.15
new file mode 100644
index 000000000000..521f6997355c
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.15
@@ -0,0 +1 @@
+MD5 5758a24331dd91c3a10dddee80fae008 PeopsSoftGpu115.tar.gz 598169
diff --git a/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild
new file mode 100644
index 000000000000..2f0b387a647e
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.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/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="P.E.Op.S Software GPU plugin"
+HOMEPAGE="http://sourceforge.net/projects/peops/"
+SRC_URI="mirror://sourceforge/peops/PeopsSoftGpu${PV//.}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 -ppc"
+IUSE="sdl"
+
+DEPEND="=x11-libs/gtk+-1*
+ dev-util/pkgconfig
+ sdl? ( media-libs/libsdl )
+ virtual/x11
+ dev-lang/nasm"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ cd src
+
+ emake OPTFLAGS="${CFLAGS}" || die "x11 build failed"
+
+ if [ `use sdl` ] ; then
+ sed -i 's:mk.x11:mk.fpse:g' Makefile
+ make clean || die "make clean failed"
+ emake OPTFLAGS="${CFLAGS}" || die "sdl build failed"
+ fi
+}
+
+src_install() {
+ dodoc *.txt
+ insinto ${GAMES_LIBDIR}/psemu/cfg
+ doins gpuPeopsSoftX.cfg
+ cd src
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libgpuPeops*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPeopsSoft
+ prepgamesdirs
+}