Integrate the following patches from our Linux friends:
https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/qt5/patches/0089-webengine-ppc64.patch
https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/qt5/patches/0090-chromium-ppc64le.patch
https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/qt5/patches/0091-chromium-ppc64-musl.patch
https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/qt5/patches/0092-chromium-ppc64-be.patch
https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/qt5/patches/0093-chromium-v8-elfv2.patch
0091-chromium-ppc64-musl.patch is called such that it seems it's only for musl, but it has fixes for all non-glibc libc's.
All those patches were modified, so that we don't carry linux-only patches. I also had to add some things.
Since we use WebEngine's ICU we also need to appriopriately change pkg-plist.
According to the information I got, V8 uses features that are only available on POWER6 and above, so this won't work on Macs.
I'm also not sure whether this actually works, I currently can't test on my Talos, because I'm away from home and work on it remotely.
I can start otter-browser with ssh -X, but it prints:
qt.qpa.xcb: XKeyboard extension not present on the X server
and then segfaults when clicking on the address bar. That could be, however, problem with ssh -X.