FS#77749 - [godot] PKGBUILD needs some changes for Godot 4.0
Attached to Project:
Community Packages
Opened by hurricane pootis (HurricanePootis) - Monday, 06 March 2023, 19:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 10 March 2023, 12:02 GMT
Opened by hurricane pootis (HurricanePootis) - Monday, 06 March 2023, 19:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 10 March 2023, 12:02 GMT
|
Details
Description:
So with Godot 4.0, the build options and libraries have changed. I have attached a patch file to this feature request. First are some changes to depends(). Godot 4.0 now relies on glslang, harfbuzz-icu, graphite, vulkan-driver (for vulkan), pcre2, and libspeechd (libspeechd is not a runtime dependency, but Godot 4.0 was complaigning about not finding it in the terminal output). Also, Godot has removed libvpx support, so that is gone from depends(). The prepare() sed command was updated to correctly point to where the file now is, due to the x11 platform being renamed to linuxbsd from now on. For build(), there are a lot of changes. Bullet was removed from Godot, so we don't have to worry about it anymore. rvo2 is an aur package right now, so it can't be bundled yet. All the new libraries that can be unbundled are as follows: glslang, graphite, harfbuzz, and icu4c. libvpx was removed from the unbundling process since it is no longer a Godot 4.0 dependency. Also, the `rm -rf` command was updated to actually remove the folders, since it wasn't before. For new build options, `bits=, colored=, tools=` were removed from the scons options list. `bits=` became `arch=`, which is now set to x86_64. Tools and debugging information are now built whenever `target=editor` (editor: Build with editor, optimized, with debugging code (defines: TOOLS_ENABLED, DEBUG_ENABLED, -O2//O2)) In package(), the binary's named changed from godot.x11.opt.tools.64, to godot.linuxbsd.editor.x86_64 I hope these changes allow for Godot 4.0 to be available on arch soon! Steps to reproduce: |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 10 March 2023, 12:02 GMT
Reason for closing: Implemented
Friday, 10 March 2023, 12:02 GMT
Reason for closing: Implemented
Comment by Toolybird (Toolybird) -
Monday, 06 March 2023, 20:18 GMT
Careful, this is almost reporting an outdated pkg by stealth.
Please see the big fat warning blurb at the top of every ticket.
Comment by
hurricane pootis (HurricanePootis)
- Tuesday, 07 March 2023, 02:18 GMT
Oh, my bad! Sorry about this!
Comment by
Alexander F. Rødseth (xyproto) -
Friday, 10 March 2023, 12:02 GMT
Thanks for reporting. I read over this text after updating the
Godot package here (not pushed to [community] yet, will test some
more), and it was helpful, especially for changing
bits/arch/tools.
PKGBUILD.patch