git: e561ceab967a - main - emulators/sameboy: Update to 1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Dec 2024 10:58:34 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e561ceab967a3f6467486c1e70e38c092247dcd4
commit e561ceab967a3f6467486c1e70e38c092247dcd4
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-12-13 10:39:02 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-12-13 10:58:18 +0000
emulators/sameboy: Update to 1.0
ChangeLog: https://github.com/LIJI32/SameBoy/releases/tag/v1.0
---
emulators/sameboy/Makefile | 11 ++++++-----
emulators/sameboy/distinfo | 8 +++++---
emulators/sameboy/pkg-plist | 12 +++++++++++-
3 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile
index 4708fbb094b7..7cf033277197 100644
--- a/emulators/sameboy/Makefile
+++ b/emulators/sameboy/Makefile
@@ -1,8 +1,11 @@
PORTNAME= sameboy
DISTVERSIONPREFIX= v
-DISTVERSION= 0.16.7
+DISTVERSION= 1.0
CATEGORIES= emulators games
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= eadf395de607e5d4bb66dffa90b05d8a36bd4fce.patch:-p1 # Fix BSD install
+
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Game Boy and Game Boy Color emulator written in C
WWW= https://sameboy.github.io/
@@ -12,11 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= rgbds>0:devel/rgbds
-USES= desktop-file-utils gl gmake pkgconfig sdl shared-mime-info
+USES= desktop-file-utils gl gmake gnome pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= LIJI32
GH_PROJECT= SameBoy
USE_GL= gl
+USE_GNOME= gdkpixbuf2
USE_SDL= sdl2
MAKE_ARGS= FREEDESKTOP=true \
@@ -34,9 +38,6 @@ LIBRETRO_DESC= Build libretro core
post-build-LIBRETRO-on:
@${DO_MAKE_BUILD} -C ${WRKSRC} libretro
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
post-install-LIBRETRO-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro
${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \
diff --git a/emulators/sameboy/distinfo b/emulators/sameboy/distinfo
index 11307c5d378d..9ede12131c29 100644
--- a/emulators/sameboy/distinfo
+++ b/emulators/sameboy/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1727983088
-SHA256 (LIJI32-SameBoy-v0.16.7_GH0.tar.gz) = d76529a9ecedc5d8d11a55b6c17e0ee4a434fb0036a51a70fefca75b6a1579c1
-SIZE (LIJI32-SameBoy-v0.16.7_GH0.tar.gz) = 5664346
+TIMESTAMP = 1734029425
+SHA256 (LIJI32-SameBoy-v1.0_GH0.tar.gz) = d1b1e1c579fdcbd3fec3005b78914289eed1b0464b2e9f291cf9f227c20f6ef7
+SIZE (LIJI32-SameBoy-v1.0_GH0.tar.gz) = 7442419
+SHA256 (eadf395de607e5d4bb66dffa90b05d8a36bd4fce.patch) = 575b888e2beefe640d51352056db5e41dfd9023c92ba74729d93220da72108ed
+SIZE (eadf395de607e5d4bb66dffa90b05d8a36bd4fce.patch) = 3497
diff --git a/emulators/sameboy/pkg-plist b/emulators/sameboy/pkg-plist
index 2fe231dc43c5..63106b2c8e6b 100644
--- a/emulators/sameboy/pkg-plist
+++ b/emulators/sameboy/pkg-plist
@@ -1,4 +1,5 @@
bin/sameboy
+bin/sameboy-thumbnailer
%%LIBRETRO%%lib/libretro/sameboy_libretro.so
share/applications/sameboy.desktop
share/icons/hicolor/128x128/apps/sameboy.png
@@ -19,13 +20,20 @@ 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
+share/mime/sameboy.xml
@comment %%DATADIR%%/LICENSE
+%%DATADIR%%/Palettes/Canyon.sbp
%%DATADIR%%/Palettes/Desert.sbp
%%DATADIR%%/Palettes/Evening.sbp
%%DATADIR%%/Palettes/Fog.sbp
+%%DATADIR%%/Palettes/Green Slate.sbp
+%%DATADIR%%/Palettes/Green Tea.sbp
+%%DATADIR%%/Palettes/Lavender.sbp
%%DATADIR%%/Palettes/Magic Eggplant.sbp
+%%DATADIR%%/Palettes/Mystic Blue.sbp
+%%DATADIR%%/Palettes/Pink Pop.sbp
%%DATADIR%%/Palettes/Radioactive Pea.sbp
+%%DATADIR%%/Palettes/Rose.sbp
%%DATADIR%%/Palettes/Seaweed.sbp
%%DATADIR%%/Palettes/Twilight.sbp
%%DATADIR%%/Shaders/AAOmniScaleLegacy.fsh
@@ -53,3 +61,5 @@ share/mime/packages/sameboy.xml
%%DATADIR%%/registers.sym
%%DATADIR%%/sgb2_boot.bin
%%DATADIR%%/sgb_boot.bin
+share/thumbnailers/sameboy.thumbnailer
+@dir %%DATADIR%%/BootROMs