svn commit: r559963 - in head/emulators: . libretro-vice libretro-vice/files
Max Brazhnikov
makc at FreeBSD.org
Sat Jan 2 20:40:38 UTC 2021
Author: makc
Date: Sat Jan 2 20:40:36 2021
New Revision: 559963
URL: https://svnweb.freebsd.org/changeset/ports/559963
Log:
Add new port emulators/libretro-vice:
libretro cores for emulating Commodore computers.
PR: 251936
Submitted by: Daniel Menelkir
Added:
head/emulators/libretro-vice/
head/emulators/libretro-vice/Makefile (contents, props changed)
head/emulators/libretro-vice/distinfo (contents, props changed)
head/emulators/libretro-vice/files/
head/emulators/libretro-vice/files/patch-vice_src_rtc_rtc.h (contents, props changed)
head/emulators/libretro-vice/pkg-descr (contents, props changed)
Modified:
head/emulators/Makefile
Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile Sat Jan 2 19:41:02 2021 (r559962)
+++ head/emulators/Makefile Sat Jan 2 20:40:36 2021 (r559963)
@@ -63,6 +63,7 @@
SUBDIR += libc6-shim
SUBDIR += libdsk
SUBDIR += libretro-ppsspp
+ SUBDIR += libretro-vice
SUBDIR += libspectrum
SUBDIR += linux-c7
SUBDIR += linux-power10-functional-sim
Added: head/emulators/libretro-vice/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/libretro-vice/Makefile Sat Jan 2 20:40:36 2021 (r559963)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME= libretro-vice
+PORTVERSION= 0.20201218
+CATEGORIES= emulators games
+PKGNAMESUFFIX= -${FLAVOR}
+
+MAINTAINER= menelkir at itroll.org
+COMMENT= ${${FLAVOR}_COMMENT}
+
+LICENSE= GPLv2
+
+FLAVORS= x128 x64 x64sc xcbm2 xcbm5x0 xpet xplus4 xscpu64 xvic
+FLAVOR?= ${FLAVORS:[2]}
+
+USES= gmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= libretro
+GH_PROJECT= vice-libretro
+GH_TAGNAME= 5725415
+
+MAKE_ARGS= EMUTYPE=${FLAVOR}
+PLIST_FILES= lib/libretro/vice_${FLAVOR}_libretro.so
+
+x128_COMMENT= Commodore C128 core for libretro API
+x64_COMMENT= Commodore C64 core for libretro API
+x64sc_COMMENT= Commodore C64 core for libretro API focused on accuracy
+xcbm2_COMMENT= Commodore CBM-6x0/7x0 core for libretro API
+xcbm5x0_COMMENT= Commodore C64 core for libretro API focused on accuracy
+xpet_COMMENT= Commodore PET core for libretro API
+xplus4_COMMENT= Commodore PLUS4 core for libretro API
+xscpu64_COMMENT= Commodore C64+SuperCPU core for libretro API
+xvic_COMMENT= Commodore VIC20 core for libretro API
+
+do-install:
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
+ ${INSTALL_LIB} ${WRKSRC}/${COREDIR}/vice_${FLAVOR}_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro
+
+.include <bsd.port.mk>
Added: head/emulators/libretro-vice/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/libretro-vice/distinfo Sat Jan 2 20:40:36 2021 (r559963)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608741122
+SHA256 (libretro-vice-libretro-0.20201218-5725415_GH0.tar.gz) = 7cdfa471462c56d7602e664ac4d150c9545ac766a42a8c3f41faf8936a1c4542
+SIZE (libretro-vice-libretro-0.20201218-5725415_GH0.tar.gz) = 24296248
Added: head/emulators/libretro-vice/files/patch-vice_src_rtc_rtc.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/libretro-vice/files/patch-vice_src_rtc_rtc.h Sat Jan 2 20:40:36 2021 (r559963)
@@ -0,0 +1,13 @@
+--- vice/src/rtc/rtc.h.orig 2020-12-18 10:39:47 UTC
++++ vice/src/rtc/rtc.h
+@@ -28,10 +28,7 @@
+ #define VICE_RTC_H
+
+ #include "types.h"
+-
+-#ifdef HAVE_TIME_T_IN_TIME_H
+ #include <time.h>
+-#endif
+
+ #ifdef HAVE_TIME_T_IN_TYPES_H
+ #include <sys/types.h>
Added: head/emulators/libretro-vice/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/libretro-vice/pkg-descr Sat Jan 2 20:40:36 2021 (r559963)
@@ -0,0 +1,3 @@
+Commodore computer emulator core for libretro API.
+
+WWW: https://github.com/libretro/vice-libretro
More information about the svn-ports-all
mailing list