diff --git a/games/suika3/Makefile b/games/suika3/Makefile index 05d2fa06d80f..c061387bfe35 100644 --- a/games/suika3/Makefile +++ b/games/suika3/Makefile @@ -1,65 +1,68 @@ PORTNAME= suika3 -DISTVERSION= 26.04.9 +DISTVERSION= 26.05.0 CATEGORIES= games MAINTAINER= awe@noctvm.io COMMENT= 2D game engine with DSL for visual novels WWW= https://suika3.vn \ https://github.com/awemorris/suika3 LICENSE= ZLIB LIB_DEPENDS= libbrotlicommon.so:archivers/brotli \ libbrotlidec.so:archivers/brotli \ libfreetype.so:print/freetype2 \ libjpeg.so:graphics/jpeg-turbo \ libogg.so:audio/libogg \ libpng16.so:graphics/png \ libvorbis.so:audio/libvorbis \ libwebp.so:graphics/webp RUN_DEPENDS= ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf:x11-fonts/noto-sans -USES= cmake gl pkgconfig xorg +USES= cmake desktop-file-utils gl pkgconfig shared-mime-info xorg USE_GITHUB= yes GH_ACCOUNT= awemorris USE_GL= gl USE_XORG= x11 xext xpm CMAKE_ON= SUIKA_ENABLE_DIST \ + SUIKA_TARGET_FREEBSD \ + SUIKA_ENABLE_FREEDESKTOP \ SUIKA_ENABLE_INSTALL \ SUIKA_ENABLE_JIT \ - SUIKA_ENABLE_ + SUIKA_ENABLE_UNSAFE + CMAKE_ARGS= -DSUIKA_DIR_DOCS="share/doc/suika3" \ - -DSUIKA_DIR_GAME="share/examples/suika3" + -DSUIKA_DIR_SAMPLE="share/examples/suika3" \ + -DSUIKA_DIR_LAUNCHER="share/examples/suika3" \ + -DSUIKA_DIR_ELISP="share/examples/suika3" PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GST JIT NLS TOOLS OPTIONS_DEFAULT= DOCS EXAMPLES GST JIT NLS TOOLS TOOLS_DESC= Install tools GST_DESC= Enable Gstreamer support JIT_DESC= Enable Just-in-Time compiler NLS_DESC= Enable language support TOOLS_CMAKE_BOOL= SUIKA_ENABLE_AOTCOMP SUIKA_ENABLE_BYTECOMP SUIKA_ENABLE_PACK GST_LIB_DEPENDS= libgstvideo-1.0.so:multimedia/gstreamer1-plugins GST_USES= gnome gstreamer GST_USE= GNOME=glib20 \ GSTREAMER=core,faad,x264 GST_CMAKE_BOOL= SUIKA_ENABLE_GST JIT_CMAKE_BOOL= SUIKA_ENABLE_JIT NLS_CMAKE_BOOL= SUIKA_ENABLE_I18N -# Remove the bundled font and use a packaged system font instead. -# The bundled font has a separate license (not ZLIB), and FreeBSD Ports -# should not install bundled fonts when system-packaged ones are available. -# Create a symlink to NotoSans to satisfy the engine's expected file name -# without modifying upstream sample data. +# Create symlinks to NotoSans because -DSUIKA_ENABLE_DIST=ON removes +# the bundled fonts due to license issues. post-build: - ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/suika3/game/system/font - ${LN} -s ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf \ - ${STAGEDIR}${PREFIX}/share/examples/suika3/game/system/font/rounded-l-mplus-1c-bold.ttf + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/game/system/font + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/launcher/system/font + ${LN} -s ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf ${STAGEDIR}${EXAMPLESDIR}/game/system/font/NotoSansCJK-Medium.ttc + ${LN} -s ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf ${STAGEDIR}${EXAMPLESDIR}/launcher/system/font/NotoSans-Medium.ttf .include diff --git a/games/suika3/distinfo b/games/suika3/distinfo index 336ff36e36f9..d8e93b328f1b 100644 --- a/games/suika3/distinfo +++ b/games/suika3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1776151437 -SHA256 (awemorris-suika3-26.04.9_GH0.tar.gz) = 2c76f8fb15c26d483a8eb23f2d56ade1e8eb5362d0e84c394a153d7c4c558ee9 -SIZE (awemorris-suika3-26.04.9_GH0.tar.gz) = 62235499 +TIMESTAMP = 1777549307 +SHA256 (awemorris-suika3-26.05.0_GH0.tar.gz) = e05479b4d1813abeef265224e471d17f6b3697bd5622ff4c81915e5d804eed59 +SIZE (awemorris-suika3-26.05.0_GH0.tar.gz) = 75653665 diff --git a/games/suika3/pkg-plist b/games/suika3/pkg-plist index c3385ebb87b0..ac05a55f89ac 100644 --- a/games/suika3/pkg-plist +++ b/games/suika3/pkg-plist @@ -1,8 +1,13 @@ bin/suika3 bin/suika3-aotc bin/suika3-bcc +bin/suika3-launcher bin/suika3-pack +share/applications/vn.suika3.engine.desktop +share/icons/hicolor/512x512/apps/vn.suika3.engine.png share/man/man1/suika3-aotc.1.gz share/man/man1/suika3-bcc.1.gz +share/man/man1/suika3-launcher.1.gz share/man/man1/suika3-pack.1.gz share/man/man1/suika3.1.gz +share/mime/packages/vn.suika3.engine.mime.xml