diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile index 4708fbb094b7..7cf033277197 100644 --- a/emulators/sameboy/Makefile +++ b/emulators/sameboy/Makefile @@ -1,45 +1,46 @@ 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/ LICENSE= MIT 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 \ WARNINGS="-Wno-error" ALL_TARGET= sdl PORTSCOUT= limit:^d\.d+\. OPTIONS_DEFINE= LIBRETRO OPTIONS_DEFAULT= LIBRETRO OPTIONS_SUB= yes 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 \ ${STAGEDIR}${PREFIX}/lib/libretro .include 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,55 +1,65 @@ bin/sameboy +bin/sameboy-thumbnailer %%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 +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 %%DATADIR%%/Shaders/AAScale2x.fsh %%DATADIR%%/Shaders/AAScale4x.fsh %%DATADIR%%/Shaders/Bilinear.fsh %%DATADIR%%/Shaders/CRT.fsh %%DATADIR%%/Shaders/FlatCRT.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%%/cgb0_boot.bin %%DATADIR%%/cgb_boot.bin %%DATADIR%%/dmg_boot.bin %%DATADIR%%/mgb_boot.bin %%DATADIR%%/registers.sym %%DATADIR%%/sgb2_boot.bin %%DATADIR%%/sgb_boot.bin +share/thumbnailers/sameboy.thumbnailer +@dir %%DATADIR%%/BootROMs