[Bug 281630] games/chocolate-doom: update to 3.1.0 WIP

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Sep 2024 22:07:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281630

--- Comment #6 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to jakub_lach from comment #4)
Port grab silently both fluidsynth and samplerate.

I added options:
OPTIONS_DEFINE=         DOCS FLUIDSYNTH PNG SAMPLERATE
OPTIONS_DEFAULT=        FLUIDSYNTH PNG SAMPLERATE
OPTIONS_SUB=            yes

DOCS_CONFIGURE_ENABLE=          doc

FLUIDSYNTH_LIB_DEPENDS=         libfluidsynth.so:audio/fluidsynth
FLUIDSYNTH_CONFIGURE_WITH=      fluidsynth

PNG_LIB_DEPENDS=                libpng.so:graphics/png
PNG_CONFIGURE_WITH=             libpng

SAMPLERATE_LIB_DEPENDS=         libsamplerate.so:audio/libsamplerate
SAMPLERATE_CONFIGURE_WITH=      libsamplerate

And remove mandatory:
LIB_DEPENDS=    libfluidsynth.so:audio/fluidsynth \
                libpng.so:graphics/png \
                libsamplerate.so:audio/libsamplerate

Also fixed pkg-plist around docs:
%%DOCS%%share/doc/chocolate-heretic/CMDLINE.heretic
share/doc/chocolate-heretic/COPYING.md
share/doc/chocolate-heretic/ChangeLog
%%DOCS%%share/doc/chocolate-heretic/INSTALL.heretic
%%DOCS%%share/doc/chocolate-heretic/NEWS.md
share/doc/chocolate-heretic/PHILOSOPHY.md
share/doc/chocolate-heretic/README.Music.md
share/doc/chocolate-heretic/README.md
%%DOCS%%share/doc/chocolate-hexen/CMDLINE.hexen
share/doc/chocolate-hexen/COPYING.md
share/doc/chocolate-hexen/ChangeLog
%%DOCS%%share/doc/chocolate-hexen/INSTALL.hexen
share/doc/chocolate-hexen/NEWS.md
share/doc/chocolate-hexen/PHILOSOPHY.md
share/doc/chocolate-hexen/README.Music.md
share/doc/chocolate-hexen/README.md
%%DOCS%%share/doc/chocolate-strife/CMDLINE.strife
share/doc/chocolate-strife/COPYING.md
share/doc/chocolate-strife/ChangeLog
%%DOCS%%share/doc/chocolate-strife/INSTALL.strife
share/doc/chocolate-strife/NEWS.md
share/doc/chocolate-strife/PHILOSOPHY.md
share/doc/chocolate-strife/README.Music.md
share/doc/chocolate-strife/README.Strife.md
share/doc/chocolate-strife/README.md
share/icons/hicolor/128x128/apps/chocolate-doom.png
share/icons/hicolor/128x128/apps/chocolate-heretic.png
share/icons/hicolor/128x128/apps/chocolate-hexen.png
share/icons/hicolor/128x128/apps/chocolate-setup.png
share/icons/hicolor/128x128/apps/chocolate-strife.png
%%DOCS%%share/man/man5/chocolate-doom.cfg.5.gz
%%DOCS%%share/man/man5/chocolate-heretic.cfg.5.gz
%%DOCS%%share/man/man5/chocolate-hexen.cfg.5.gz
%%DOCS%%share/man/man5/chocolate-strife.cfg.5.gz
%%DOCS%%share/man/man5/default.cfg.5.gz
%%DOCS%%share/man/man5/heretic.cfg.5.gz
%%DOCS%%share/man/man5/hexen.cfg.5.gz
%%DOCS%%share/man/man5/strife.cfg.5.gz
%%DOCS%%share/man/man6/chocolate-doom-setup.6.gz
%%DOCS%%share/man/man6/chocolate-doom.6.gz
%%DOCS%%share/man/man6/chocolate-heretic-setup.6.gz
%%DOCS%%share/man/man6/chocolate-heretic.6.gz
%%DOCS%%share/man/man6/chocolate-hexen-setup.6.gz
%%DOCS%%share/man/man6/chocolate-hexen.6.gz
%%DOCS%%share/man/man6/chocolate-server.6.gz
%%DOCS%%share/man/man6/chocolate-strife-setup.6.gz
%%DOCS%%share/man/man6/chocolate-strife.6.gz

fluidsynth is small dependency - I suggest to keep it on by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.