Wednesday, February 18, 2026

Re: games/godot{,4}: reorganize for new versions

On 2026/02/16 21:53, Thomas Frohwein wrote:
> > Proposed structure:
> >
> > Pack Version PkgPath: Bin Name
> > ------------ ------- --------
> > pack1 (3.x) games/godot/pack1 godot3
> > pack2 (4.4x) games/godot/pack2 godot44
> > pack3 (4.5+) games/godot/pack3 godot{,-editor}

seems sane

maybe worth a pkg-readme for whatever you get from "pkg_add godot"
(i.e. currently pack3) explaining about the pack formats and multiple
version layout?

> > - Warning: @option no-default-conflict without @conflict (I followed
> > examples of games/love/* and games/libgdx/*). I
> > - Do I need to add REVISION=0 to godot-3.6.2 in pack1/ now (to
> > distinguish it from 3.6.2 in games/godot)?

yes, because plist changes:

1. the binaries are renamed, and
2. there is an additional pkgpath (i.e. the implicit games/godot/pack1)
compared to previous

> > - Installing the editor (now in pack3/) fails now with a collision of
> > the desktop-file-utils stuff which would be intentionally named the
> > same. Would set quirks to update from games/godot,-tools and
> > games/godot4,-editor to games/godot/pack3,-editor. The editor works
> > though (have tested it with a separate way to build/run).

pack3/pkg/PLIST-main needs to conflict with the old godot-3, I think
this should do the trick

@conflict godot-<3.6.2p0

No comments:

Post a Comment