[Slackbuilds-users] tome-ah game uses CMake now (mess)
Matteo Bernardini
matteo.bernardini at gmail.com
Fri Jan 2 11:06:14 UTC 2026
looking here
https://gitweb.gentoo.org/repo/gentoo.git/plain/games-roguelike/tome/tome-2.4.0_p20251212.ebuild
could maybe adding
-DSYSTEM_INSTALL=yes
-DBUILD_SHARED_LIBS=no
-DCPM_LOCAL_PACKAGES_ONLY=yes
might help?
Matteo
Il giorno ven 2 gen 2026 alle ore 11:32 Willy Sudiarto Raharjo <
willysr at slackbuilds.org> ha scritto:
> >On 2/1/26 12:52, David Chmelik wrote:
> >> Apparently CMake enables computer programmers to download dependencies
> >> using the Makefile: what a mess! Willysr told me redo tome-ah
> >> SlackBuild because of that, so I did (test?):
> >> http://ftp.davidchmelik.com/math/slackbuilds/games/tome-ah.tar.xz . It
> >> has a new dependency, fmt, which he said I could add to $DOWNLOAD, so
> >> I did. Wouldn't it be more normal/standard to make separate
> >> dependency though?
> >
> >Yes it would usually make more sense to have a separate dependency - it
> >could become useful for other SlackBuilds.
> >
> >In this case there is already libraries/fmt at SBo. Is that the one you
> >need? Its at version 10.2.1 which may or may not satisfy your
> >requirement. It is already a dependency of 16 other SlackBuilds.
>
> I'm afraid it's not enough to use the version available in SBo
> i tried adding fmt in REQUIRES but it still download the hard-coded version
> listed in the code
>
> https://github.com/tome2/tome2/blob/885799917d42ea9e6eb69fc320fa03922cd8cbb4/CMakeLists.txt#L61
> https://github.com/fmtlib/fmt/releases/download/12.0.0/fmt-12.0.0.zip
>
> i suggest to add it to the DOWNLOAD list and copy the needed files into the
> proper location in order to avoid downloading during build
>
>
> --
> Willy Sudiarto Raharjo
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260102/993daff0/attachment.htm>
More information about the SlackBuilds-users
mailing list