summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-07-16 15:01:01 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-07-16 15:01:01 +0000
commitb0ccc694f90f6ace23c20d8346b55f17b16f2e8f (patch)
treedfe67c9cd7f8820ff2e492d2d7963ae8d432fc6b /emulators
parent- Document firefox & mozilla -- multiple vulnerabilities. (diff)
Add linux-pete-xgl2gpu.
Pete's XGL2 GPU is a PSEmu Pro GPU plugin using a hardware-accelerated modern OpenGL renderer. This is the Linux version, tested with emulators/linux-ePSXe. WWW: http://www.pbernert.com/
Notes
Notes: svn path=/head/; revision=139345
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/linux-pete-xgl2gpu/Makefile62
-rw-r--r--emulators/linux-pete-xgl2gpu/distinfo2
-rw-r--r--emulators/linux-pete-xgl2gpu/pkg-descr9
-rw-r--r--emulators/linux-pete-xgl2gpu/pkg-plist12
5 files changed, 86 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 04a3f0a4b3eb..055f8a2f0a4c 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -53,6 +53,7 @@
SUBDIR += linux-peops-softgpu
SUBDIR += linux-peops-spu
SUBDIR += linux-pete-mesagpu
+ SUBDIR += linux-pete-xgl2gpu
SUBDIR += linux-vmware-toolbox2
SUBDIR += linux-vmware-toolbox4
SUBDIR += linux-vmware-toolbox5
diff --git a/emulators/linux-pete-xgl2gpu/Makefile b/emulators/linux-pete-xgl2gpu/Makefile
new file mode 100644
index 000000000000..c86ed14fd777
--- /dev/null
+++ b/emulators/linux-pete-xgl2gpu/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: linux-pete-xgl2gpu
+# Date created: 16 Jul 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= linux-pete-xgl2gpu
+PORTVERSION= 2.7
+CATEGORIES= emulators linux
+MASTER_SITES= http://www.pbernert.com/
+DISTNAME= gpupetexgl${MAJOR}0${MINOR}
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= A PSEmu Pro GPU plugin using a modern OpenGL renderer (Linux version)
+
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
+
+.if defined(WITH_NVIDIA_GL)
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+.else
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+.endif
+
+USE_REINPLACE= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+USE_LINUX= yes
+USE_X_PREFIX= yes
+
+ONLY_FOR_ARCHS= i386
+
+MAJOR= ${PORTVERSION:R}
+MINOR= ${PORTVERSION:E}
+PLIST_SUB+= MAJOR=${MAJOR} MINOR=${MINOR}
+
+PSEMUPRO_PLUGINS_DIR= ${PREFIX}/lib/psemupro/plugins
+PSEMUPRO_CFGBINS_DIR= ${PREFIX}/libexec/psemupro/cfg
+PSEMUPRO_CFGFILES_DIR= ${PREFIX}/share/psemupro/cfg
+
+# by default, disable options which may crash the plugin
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^NoRenderTexture/ s|= 0|= 1|; \
+ /^TWinShader/ s|= 1|= 0|' ${WRKSRC}/gpuPeteXGL2.cfg
+
+do-install:
+ ${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteXGL2.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
+
+ ${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/cfgPeteXGL2 ${PSEMUPRO_CFGBINS_DIR}
+
+ ${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/gpuPeteXGL2.cfg ${PSEMUPRO_CFGFILES_DIR}
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/emulators/linux-pete-xgl2gpu/distinfo b/emulators/linux-pete-xgl2gpu/distinfo
new file mode 100644
index 000000000000..6524e08f24c3
--- /dev/null
+++ b/emulators/linux-pete-xgl2gpu/distinfo
@@ -0,0 +1,2 @@
+MD5 (gpupetexgl207.tar.gz) = 2c1f942420ef6fa0b2d15f731f48b0b1
+SIZE (gpupetexgl207.tar.gz) = 193431
diff --git a/emulators/linux-pete-xgl2gpu/pkg-descr b/emulators/linux-pete-xgl2gpu/pkg-descr
new file mode 100644
index 000000000000..3ca3c0f6cd4f
--- /dev/null
+++ b/emulators/linux-pete-xgl2gpu/pkg-descr
@@ -0,0 +1,9 @@
+Pete's XGL2 GPU is a PSEmu Pro GPU plugin using a hardware-accelerated
+modern OpenGL renderer.
+
+This is the Linux version, tested with emulators/linux-ePSXe.
+
+WWW: http://www.pbernert.com/
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/emulators/linux-pete-xgl2gpu/pkg-plist b/emulators/linux-pete-xgl2gpu/pkg-plist
new file mode 100644
index 000000000000..8e2e22ad7be9
--- /dev/null
+++ b/emulators/linux-pete-xgl2gpu/pkg-plist
@@ -0,0 +1,12 @@
+lib/psemupro/plugins/libgpuPeteXGL2.so.%%MAJOR%%.0.%%MINOR%%
+libexec/psemupro/cfg/cfgPeteXGL2
+share/psemupro/cfg/gpuPeteXGL2.cfg
+@unexec rmdir %D/lib/psemupro/plugins 2>/dev/null || true
+@unexec rmdir %D/lib/psemupro 2>/dev/null || true
+@unexec rmdir %D/libexec/psemupro/cfg 2>/dev/null || true
+@unexec rmdir %D/libexec/psemupro 2>/dev/null || true
+@unexec rmdir %D/share/psemupro/cfg 2>/dev/null || true
+@unexec rmdir %D/share/psemupro 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/version.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%