1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

New port: emulators/pcem: PC-Compatible low-level emulator striving for accuracy

A very accurate (and not very fast) PC and PC-compatible emulator.
Support currently ranges from the original IBM PC to Socket 7 motherboards.
It also supports a wide range of peripherals, including Voodoo Graphics!

WWW: https://www.pcem-emulator.co.uk

PR:		237376
Submitted by:	Salvador Pardinas <darkfm@vera.com.uy>
Reviewed by:	tobik
This commit is contained in:
Kurt Jaeger 2019-05-06 03:13:22 +00:00
parent 343cca7eb8
commit d58a92fe1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500881
5 changed files with 77 additions and 0 deletions

View File

@ -101,6 +101,7 @@
SUBDIR += openmsx
SUBDIR += p5-Acme-6502
SUBDIR += parallels-tools
SUBDIR += pcem
SUBDIR += pcemu
SUBDIR += pcsxr
SUBDIR += pearpc

36
emulators/pcem/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $FreeBSD$
PORTNAME= pcem
DISTVERSION= 14
CATEGORIES= emulators
MASTER_SITES= https://bitbucket.org/pcem_emulator/pcem/get/
DISTNAME= faf5d6423060
MAINTAINER= darkfm@vera.com.uy
COMMENT= PC/PC-Compatible low-level emulator striving for accuracy
LICENSE= GPLv2
LIB_DEPENDS= libGL.so:graphics/mesa-libs \
libopenal.so:audio/openal-soft \
libwx_gtk3u_core-3.0.so:x11-toolkits/wxgtk30 \
libSDL2.so:devel/sdl20
USES= autoreconf compiler gmake openal:soft pkgconfig sdl zip
USE_WX= 3.0
USE_SDL= sdl2
WRKSRC= ${WRKDIR}/pcem_emulator-pcem-faf5d6423060/
PATCHDIR=files
PLIST_FILES= bin/pcem
CONFIGURE_ARGS= --enable-release-build --with-wx-config=wxgtk3u-3.0-config
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= amd64
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
LDFLAGS+= -fuse-ld=bfd
.endif
.include <bsd.port.mk>

3
emulators/pcem/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1555640654
SHA256 (faf5d6423060.zip) = c184c1e279b2d77d89bdc02ed6a87d0f79b98863dcef2feca1fff74554e2f19b
SIZE (faf5d6423060.zip) = 1792228

View File

@ -0,0 +1,32 @@
--- configure.ac.orig 2019-04-17 19:37:48 UTC
+++ configure.ac
@@ -64,6 +64,10 @@ case "${host_cpu}" in
CPU=x86_64
AC_MSG_RESULT(${host_cpu})
;;
+ amd64)
+ CPU=x86_64
+ AC_MSG_RESULT(${host_cpu})
+ ;;
*)
AC_MSG_ERROR([Unsupported CPU.])
;;
@@ -149,6 +153,18 @@ case "$host" in
[echo "You need to install the OpenAL library."
exit -1])
build_linux="yes"
+ ;;
+ *-*-freebsd*)
+ CFLAGS="$CFLAGS -I/usr/local/include"
+ CXXFLAGS="$CXXFLAGS -I/usr/local/include"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ AC_CHECK_LIB([GL], [glGetError], [], \
+ [echo "You need to install the OpenGL library."
+ exit -1])
+ AC_CHECK_LIB([openal], [alGetError], [], \
+ [echo "You need to install the OpenAL library."
+ exit -1])
+ build_other="yes"
;;
*)
AC_CHECK_LIB([GL], [glGetError], [], \

5
emulators/pcem/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
A very accurate (and not very fast) PC and PC-compatible emulator.
Support currently ranges from the original IBM PC to Socket 7 motherboards.
It also supports a wide range of peripherals, including Voodoo Graphics!
WWW: https://www.pcem-emulator.co.uk