Requested munt-mt32emu port file
domiman at gmail.com
Thu Jan 28 09:51:51 UTC 2021
yesterday I requested a port of Munt’s mt32emu library (munt.sourceforge.net <http://munt.sourceforge.net/>) at https://trac.macports.org/ticket/62166 <https://trac.macports.org/ticket/62166> and just added a working portfile https://trac.macports.org/attachment/ticket/62166/Portfile <https://trac.macports.org/attachment/ticket/62166/Portfile>.
What I didn’t manage to do:
- *kind of* had to hard code the master_sites link. I noticed other projects use “sourceforge:project/projectname” but however I did this it either did not find anything or grabbed a webpage.
- provide both a shared and static version of the library. By default a shared library gets build while you need to pass "-Dlibmt32emu_SHARED=FALSE” for the static one. But it’s either or, not both at the same time. I don’t know whether there is a way for two configure/build phases in one port file. But the shared one is the most important one anyway and if you think it is worthwhile to pursue, I can ask the Munt developer whether he could make it possible to have both.
Otherwise the library portfile is ready to be used I think (quick test worked on my system).
I am aiming to create a port file for the two Munt programs as well, but that is maybe a bit more of a challenge as the GUI program mt32emu-qt can be build against either QT4 and QT5 (other than that it is very straightforward with dependency on glib2 and optional JACK and Portaudio)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users