Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 562444

Summary: games-emulation/mupen64plus-qt-1.8.ebuild (New Package)
Product: Gentoo Linux Reporter: Dan <dan465>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement CC: orzel, samuel.bauer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mupen64plus-qt-1.8.ebuild
mupen64plus-qt-1.9.ebuild
mupen64plus-qt-1.10.ebuild
mupen64plus-qt-1.10.ebuild
mupen64plus-qt-1.10.ebuild
quazip includes patch
mupen64plus-qt-1.11.ebuild
mupen64plus-qt-1.11.ebuild
mupen64plus-qt-1.12.ebuild
mupen64plus-qt-9999.ebuild
mupen64plus-qt-1.14.ebuild
mupen64plus-qt-9999.ebuild

Description Dan 2015-10-06 20:46:42 UTC
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.
Comment 1 Dan 2016-04-06 03:09:00 UTC
Created attachment 429748 [details]
mupen64plus-qt-1.9.ebuild
Comment 2 Samuel Bauer 2017-03-02 23:39:23 UTC
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.
Comment 3 Dan 2017-03-03 22:32:55 UTC
Created attachment 465876 [details]
mupen64plus-qt-1.10.ebuild

Updated version and RDEPEND for quazip.
Comment 4 Samuel Bauer 2018-01-05 01:44:27 UTC
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.
Comment 5 Dan 2018-01-05 18:49:22 UTC
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.
Comment 6 Samuel Bauer 2018-01-09 15:07:35 UTC
Created attachment 513864 [details]
mupen64plus-qt-1.10.ebuild

Quazip doesn't expose qt4 longer. Removed quazip flag checking
Comment 7 Samuel Bauer 2018-01-09 15:08:52 UTC
Created attachment 513866 [details, diff]
quazip includes patch

Slightly changed ebuild to use patch instead of calling sed
Comment 8 Dan 2018-01-11 03:13:17 UTC
Comment on attachment 513474 [details]
mupen64plus-qt-1.10.ebuild

Thanks for cleaning up the ebuild. I've marked mine as obsolete.
Comment 9 Dan 2018-01-25 20:24:05 UTC
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.
Comment 10 Dan 2018-01-30 23:27:21 UTC
Created attachment 517206 [details]
mupen64plus-qt-1.11.ebuild

Updated ebuild to remove unnecessary src_prepare section.
Comment 11 Samuel Bauer 2018-08-02 06:11:44 UTC
Created attachment 542080 [details]
mupen64plus-qt-1.12.ebuild
Comment 12 Samuel Bauer 2018-08-02 06:12:19 UTC
Created attachment 542082 [details]
mupen64plus-qt-9999.ebuild

Live ebuild
Comment 13 Samuel Bauer 2020-07-05 01:04:46 UTC
Created attachment 647622 [details]
mupen64plus-qt-1.14.ebuild
Comment 14 Samuel Bauer 2020-07-05 01:06:07 UTC
Created attachment 647624 [details]
mupen64plus-qt-9999.ebuild