Tatsh / tatsh-overlay

Personal Gentoo Portage overlay.
https://tatsh.github.io/tatsh-overlay/
GNU General Public License v2.0
35 stars 10 forks source link

games-emulation/rpcs3: should require USE=opengl on Qt6 packages #207

Closed shadowgamer67890 closed 11 months ago

shadowgamer67890 commented 12 months ago

The move from 0.0.28 to 0.0.29 for RPCS3 marked a migration from Qt5 to Qt6, and with that came obvious dependency changes. While the glaringly obvious issues of blindly depending on Qt5 from previous versions was fixed quickly, I was unable to get a successful build until I noticed the failiure was occuring on something relating to OpenGL, and that the packages dev-qt/qtbase:6 and dev-qt/qtdeclarative:6 have USE flags for OpenGL which are not set by default. I tested a few times with both enabled and disabled and setting the opengl USE flag on qtbase allowed RPCS3 to build successfully. Also worth noting doing a world update after revealed qtdeclarative checks for and requires the same state for the opengl flag as qtbase.

My guess as to why this was an issue is my use of the base amd64 default profile rather than a desktop one which globally sets the opengl use flag among others. In short, these additions to package.use solved the issue:

dev-qt/qtbase opengl
dev-qt/qtdeclarative opengl

The RPCS3 ebuild should probably be updated to reflect this.