Doomsday Engine 2.0.3 and Gentoo
So, I have ran into a couple of problems building this. 1. there arent any ebuilds for the latest stable version, and the older version doesnt compile any more. That being said, when ever I run Cmake to create the makefile, it seems to get hung up on the fact that I have QT4 installed, but doesnt seem to see that I also have QT5 installed. I have a few apps, like Teamviewer that require QT4, or else I would remove it completely. If I tell it not to build the GUI, it still drops out with the same error. Not sure what to do about it. If I can get it to build outside of portage, I can write a proper ebuild for it, so that it can easily be built, using the package manager, but at this stage I cant even get it to do that.
Comments
If this option is not specified, the qmake found via PATH will be used instead.
There are some more details here: https://manual.dengine.net/devel/compiling_and_running
Attached is an ebuild(Doesnt work as of this second, gets to the end of cmake, and fails, but if I build outside of portage it does work. Still working out the bugs there), but things like installing to /usr is bad gentoo form, they put game related files in /usr/games, and /usr/share/games. It would be nice to meet that form, or if that isnt possible, dump it in /opt. It isnt a requirement, but from the output of cmake, It has an option for install dir, so I would think it would be possible. As for the attached txt(ebuild file), it is what I have managed to piece together from the previous ebuild, so the rdepend libraries might not be 100% correct, but since the correct libraries are already installed on my system, it isnt a huge deal to me to fix it at this moment.
For non-debug builds you should always set:
You can set the installation path with PREFIX:
(These two are now mentioned in the manual as well.)
As said in the last post, -DPREFIX fails with Unidentified compiler errors, so I left that out, if you can figure out what is going on there, it would be easy to add to the ebuild. This only works with stable versions of Doomsday, due to sourceforge download paths, but when 2.1 series comes out as stable, you should be able to rename it from doomsday-stable_version_here.ebuild to doomsday-2.1.x.ebuild, and it should still work. This is uploaded as a txt file, as it doesnt allow ebuild uploads.
Thanks for the .ebuild, I can give it a try.