Import gsplus-20190816
GSplus is an Apple IIgs emulator. It's an open-source project based on the KEGS and GSPort emulators. It supports fullscreen, joysticks and audio through the SDL2 library across platforms. ok bcallah@ "looks good to me" @jca inputs and fixes from bcallah@ and jca@
This commit is contained in:
parent
9ccc166067
commit
e96a0720ff
39
emulators/gsplus/Makefile
Normal file
39
emulators/gsplus/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2020/03/12 12:24:08 solene Exp $
|
||||
|
||||
COMMENT = Apple IIgs emulator
|
||||
|
||||
GH_ACCOUNT = digarok
|
||||
GH_PROJECT = gsplus
|
||||
GH_COMMIT = 480572054518112647c8fae5d7ea7046a6d6ecfb
|
||||
DISTNAME = ${GH_PROJECT}-20190816
|
||||
|
||||
CATEGORIES = emulators
|
||||
|
||||
HOMEPAGE = https://apple2.gs/plus/
|
||||
|
||||
MAINTAINER = Solene Rapenne <solene@perso.pw>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_image c edit freetype m z
|
||||
|
||||
MODULES = devel/cmake
|
||||
|
||||
BUILD_DEPENDS = devel/re2c
|
||||
|
||||
LIB_DEPENDS = devel/sdl2-image
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/bin/GSplus ${PREFIX}/bin/GSplus
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/gsplus/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gsplus/
|
||||
${INSTALL_DATA} ${WRKSRC}/src/assets/* ${PREFIX}/share/gsplus
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/gsplusmanual.pdf ${PREFIX}/share/doc/gsplus
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README.txt ${PREFIX}/share/doc/gsplus
|
||||
|
||||
.include <bsd.port.mk>
|
2
emulators/gsplus/distinfo
Normal file
2
emulators/gsplus/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (gsplus-20190816-48057205.tar.gz) = C118yD1mYl9V8sBRjsZfaXpaAq+U/KAY62ktan64fSw=
|
||||
SIZE (gsplus-20190816-48057205.tar.gz) = 15181028
|
14
emulators/gsplus/patches/patch-src_unix_host_common_c
Normal file
14
emulators/gsplus/patches/patch-src_unix_host_common_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_unix_host_common_c,v 1.1.1.1 2020/03/12 12:24:08 solene Exp $
|
||||
|
||||
Index: src/unix_host_common.c
|
||||
--- src/unix_host_common.c.orig
|
||||
+++ src/unix_host_common.c
|
||||
@@ -425,7 +425,7 @@ word32 host_set_file_info(const char *path, struct fil
|
||||
|
||||
memset(times, 0, sizeof(times));
|
||||
|
||||
- times[0] = 0; // access
|
||||
+ times[0].tv_sec = 0; // access
|
||||
times[1].tv_sec = fi->modified_date; // modified
|
||||
|
||||
int ok = utimes(path, times);
|
4
emulators/gsplus/pkg/DESCR
Normal file
4
emulators/gsplus/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
GSplus is an Apple IIgs emulator. It's an open-source
|
||||
project based on the KEGS and GSPort emulators. It
|
||||
supports fullscreen, joysticks and audio through
|
||||
the SDL2 library across platforms.
|
14
emulators/gsplus/pkg/PLIST
Normal file
14
emulators/gsplus/pkg/PLIST
Normal file
@ -0,0 +1,14 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/03/12 12:24:08 solene Exp $
|
||||
@bin bin/GSplus
|
||||
share/doc/gsplus/
|
||||
share/doc/gsplus/README.txt
|
||||
share/doc/gsplus/gsplusmanual.pdf
|
||||
share/gsplus/
|
||||
share/gsplus/GSBug.Templates
|
||||
share/gsplus/GSOS.text
|
||||
share/gsplus/NList.Data
|
||||
share/gsplus/Tools.text
|
||||
share/gsplus/gsp_icon.icns
|
||||
share/gsplus/gsp_icon.ico
|
||||
share/gsplus/gsport32.ico
|
||||
share/gsplus/win32.ico
|
Loading…
Reference in New Issue
Block a user