Date: Mon, 6 May 2019 03:13:22 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500881 - in head/emulators: . pcem pcem/files Message-ID: <201905060313.x463DMgr097109@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Mon May 6 03:13:22 2019 New Revision: 500881 URL: https://svnweb.freebsd.org/changeset/ports/500881 Log: 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 Added: head/emulators/pcem/ head/emulators/pcem/Makefile (contents, props changed) head/emulators/pcem/distinfo (contents, props changed) head/emulators/pcem/files/ head/emulators/pcem/files/patch-configure.ac (contents, props changed) head/emulators/pcem/pkg-descr (contents, props changed) Modified: head/emulators/Makefile Modified: head/emulators/Makefile ============================================================================== --- head/emulators/Makefile Mon May 6 02:10:34 2019 (r500880) +++ head/emulators/Makefile Mon May 6 03:13:22 2019 (r500881) @@ -101,6 +101,7 @@ SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools + SUBDIR += pcem SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc Added: head/emulators/pcem/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/Makefile Mon May 6 03:13:22 2019 (r500881) @@ -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> Added: head/emulators/pcem/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/distinfo Mon May 6 03:13:22 2019 (r500881) @@ -0,0 +1,3 @@ +TIMESTAMP = 1555640654 +SHA256 (faf5d6423060.zip) = c184c1e279b2d77d89bdc02ed6a87d0f79b98863dcef2feca1fff74554e2f19b +SIZE (faf5d6423060.zip) = 1792228 Added: head/emulators/pcem/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/files/patch-configure.ac Mon May 6 03:13:22 2019 (r500881) @@ -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], [], \ Added: head/emulators/pcem/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/pkg-descr Mon May 6 03:13:22 2019 (r500881) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905060313.x463DMgr097109>