svn commit: r568381 - in head/emulators: . sameboy
Tobias Kortkamp
tobik at FreeBSD.org
Sun Mar 14 11:45:59 UTC 2021
Author: tobik
Date: Sun Mar 14 11:45:56 2021
New Revision: 568381
URL: https://svnweb.freebsd.org/changeset/ports/568381
Log:
Add emulators/sameboy
SameBoy is a user friendly, powerful and open source Game Boy, Game
Boy Color and Super Game Boy emulator. SameBoy is extremely accurate
and includes a wide range of powerful debugging features, making
it ideal for both casual players and developers. In addition to
accuracy and developer capabilities, SameBoy has all the features
one would expect from an emulator from save states to scaling
filters.
WWW: https://sameboy.github.io/
Added:
head/emulators/sameboy/
head/emulators/sameboy/Makefile (contents, props changed)
head/emulators/sameboy/distinfo (contents, props changed)
head/emulators/sameboy/pkg-descr (contents, props changed)
head/emulators/sameboy/pkg-plist (contents, props changed)
Modified:
head/emulators/Makefile
Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile Sun Mar 14 11:38:58 2021 (r568380)
+++ head/emulators/Makefile Sun Mar 14 11:45:56 2021 (r568381)
@@ -127,6 +127,7 @@
SUBDIR += rpcs3
SUBDIR += rtc
SUBDIR += rubygem-fission
+ SUBDIR += sameboy
SUBDIR += sdltrs
SUBDIR += simh
SUBDIR += simh-hp2100
Added: head/emulators/sameboy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/sameboy/Makefile Sun Mar 14 11:45:56 2021 (r568381)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME= sameboy
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.14.2
+CATEGORIES= emulators games
+
+MAINTAINER= tobik at FreeBSD.org
+COMMENT= Game Boy and Game Boy Color emulator written in C
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= rgbds>0:devel/rgbds
+
+USES= compiler:c11 desktop-file-utils gl gmake pkgconfig sdl \
+ shared-mime-info
+USE_GITHUB= yes
+GH_ACCOUNT= LIJI32
+GH_PROJECT= SameBoy
+USE_GL= gl
+USE_SDL= sdl2
+
+MAKE_ARGS= FREEDESKTOP=true
+ALL_TARGET= sdl
+# -flto
+LDFLAGS+= -fuse-ld=lld
+
+OPTIONS_DEFINE= LIBRETRO
+OPTIONS_DEFAULT= LIBRETRO
+OPTIONS_SUB= yes
+
+LIBRETRO_DESC= Build libretro core
+
+LIBRETRO_ALL_TARGET= libretro
+
+post-install-LIBRETRO-on:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro
+ ${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \
+ ${STAGEDIR}${PREFIX}/lib/libretro
+
+.include <bsd.port.mk>
Added: head/emulators/sameboy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/sameboy/distinfo Sun Mar 14 11:45:56 2021 (r568381)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615679711
+SHA256 (LIJI32-SameBoy-v0.14.2_GH0.tar.gz) = 94519ea37ef2a7db7089b178d52e53bf6b6f4967c7b56bb3dd7537a8c7c01b1c
+SIZE (LIJI32-SameBoy-v0.14.2_GH0.tar.gz) = 2826305
Added: head/emulators/sameboy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/sameboy/pkg-descr Sun Mar 14 11:45:56 2021 (r568381)
@@ -0,0 +1,9 @@
+SameBoy is a user friendly, powerful and open source Game Boy, Game
+Boy Color and Super Game Boy emulator. SameBoy is extremely accurate
+and includes a wide range of powerful debugging features, making
+it ideal for both casual players and developers. In addition to
+accuracy and developer capabilities, SameBoy has all the features
+one would expect from an emulator from save states to scaling
+filters.
+
+WWW: https://sameboy.github.io/
Added: head/emulators/sameboy/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/sameboy/pkg-plist Sun Mar 14 11:45:56 2021 (r568381)
@@ -0,0 +1,45 @@
+bin/sameboy
+%%LIBRETRO%%lib/libretro/sameboy_libretro.so
+share/applications/sameboy.desktop
+share/icons/hicolor/128x128/apps/sameboy.png
+share/icons/hicolor/128x128/mimetypes/x-gameboy-color-rom.png
+share/icons/hicolor/128x128/mimetypes/x-gameboy-rom.png
+share/icons/hicolor/16x16/apps/sameboy.png
+share/icons/hicolor/16x16/mimetypes/x-gameboy-color-rom.png
+share/icons/hicolor/16x16/mimetypes/x-gameboy-rom.png
+share/icons/hicolor/256x256/apps/sameboy.png
+share/icons/hicolor/256x256/mimetypes/x-gameboy-color-rom.png
+share/icons/hicolor/256x256/mimetypes/x-gameboy-rom.png
+share/icons/hicolor/32x32/apps/sameboy.png
+share/icons/hicolor/32x32/mimetypes/x-gameboy-color-rom.png
+share/icons/hicolor/32x32/mimetypes/x-gameboy-rom.png
+share/icons/hicolor/512x512/apps/sameboy.png
+share/icons/hicolor/512x512/mimetypes/x-gameboy-color-rom.png
+share/icons/hicolor/512x512/mimetypes/x-gameboy-rom.png
+share/icons/hicolor/64x64/apps/sameboy.png
+share/icons/hicolor/64x64/mimetypes/x-gameboy-color-rom.png
+share/icons/hicolor/64x64/mimetypes/x-gameboy-rom.png
+share/mime/packages/sameboy.xml
+ at comment %%DATADIR%%/LICENSE
+%%DATADIR%%/Shaders/AAOmniScaleLegacy.fsh
+%%DATADIR%%/Shaders/AAScale2x.fsh
+%%DATADIR%%/Shaders/AAScale4x.fsh
+%%DATADIR%%/Shaders/Bilinear.fsh
+%%DATADIR%%/Shaders/CRT.fsh
+%%DATADIR%%/Shaders/HQ2x.fsh
+%%DATADIR%%/Shaders/LCD.fsh
+%%DATADIR%%/Shaders/MasterShader.fsh
+%%DATADIR%%/Shaders/MonoLCD.fsh
+%%DATADIR%%/Shaders/NearestNeighbor.fsh
+%%DATADIR%%/Shaders/OmniScale.fsh
+%%DATADIR%%/Shaders/OmniScaleLegacy.fsh
+%%DATADIR%%/Shaders/Scale2x.fsh
+%%DATADIR%%/Shaders/Scale4x.fsh
+%%DATADIR%%/Shaders/SmoothBilinear.fsh
+%%DATADIR%%/agb_boot.bin
+%%DATADIR%%/background.bmp
+%%DATADIR%%/cgb_boot.bin
+%%DATADIR%%/dmg_boot.bin
+%%DATADIR%%/registers.sym
+%%DATADIR%%/sgb2_boot.bin
+%%DATADIR%%/sgb_boot.bin
More information about the svn-ports-head
mailing list