Created attachment 413938 [details] mupen64plus-qt-1.8.ebuild Mupen64Plus-Qt is a basic launcher for the mupen64plus-ui-console frontend based off CEN64-Qt. It provides a simple and attractive GUI for mupen64plus. Documentation and more information can be found at https://github.com/dh4/mupen64plus-qt. It can be built with either Qt5 or Qt4.
Created attachment 429748 [details] mupen64plus-qt-1.9.ebuild
Change RDEPEND to: RDEPEND=" qt4? ( dev-qt/qtcore:4 dev-qt/qtsql:4 dev-qt/qtgui:4 dev-libs/quazip[qt4=] ) qt5? ( dev-qt/qtcore:5 dev-qt/qtnetwork:5 dev-qt/qtxml:5 dev-qt/qtsql:5 dev-qt/qtwidgets:5 dev-libs/quazip[qt5=] )" as it ensures quazip will be compiled with the right values.
Created attachment 465876 [details] mupen64plus-qt-1.10.ebuild Updated version and RDEPEND for quazip.
Hi Dan, I had to add: sed -i 's:#include <quazip/:#include <quazip5/:' src/emulation/emulatorhandler.cpp src/common.cpp || die in the src_prepare phase for qt5, as quazip5 headers are now stored in /usr/include/quazip5 as soon as quazip will drop qt4 flag, this fix won't be required, but for now ebuild won't compile as is. Maybe is it also time to remove qt4 flag from the still not in tree mupen64plus-qt ebuild ? I also didn't get the point about the: use qt5 && sed -i s/-lquazip5/-lquazip/ ${PN}.pro as it builds and run fine here without.
Created attachment 513474 [details] mupen64plus-qt-1.10.ebuild Thanks for pointing out the change needed to the include directive. I removed the "|| die" at the end since I don't think it does anything since EAPI4. Let me know if I'm wrong on that. I've removed the qt4 flag as well and updated the dependency to mupen64plus-ui-console. The sed -i s/-lquazip5/-lquazip/ ${PN}.pro line was to get it to correctly link against quazip, but it appears it's no longer needed.
Created attachment 513864 [details] mupen64plus-qt-1.10.ebuild Quazip doesn't expose qt4 longer. Removed quazip flag checking
Created attachment 513866 [details, diff] quazip includes patch Slightly changed ebuild to use patch instead of calling sed
Comment on attachment 513474 [details] mupen64plus-qt-1.10.ebuild Thanks for cleaning up the ebuild. I've marked mine as obsolete.
Created attachment 516726 [details] mupen64plus-qt-1.11.ebuild Updated the ebuild to version 1.11. This version no longer needs the patch for including quazip.
Created attachment 517206 [details] mupen64plus-qt-1.11.ebuild Updated ebuild to remove unnecessary src_prepare section.
Created attachment 542080 [details] mupen64plus-qt-1.12.ebuild
Created attachment 542082 [details] mupen64plus-qt-9999.ebuild Live ebuild
Created attachment 647622 [details] mupen64plus-qt-1.14.ebuild
Created attachment 647624 [details] mupen64plus-qt-9999.ebuild