The bump will need a bit work, some of it near trivial (SDL2 migration), some not quite so (the file ebuild uses for desktop entry was moved and the prefix vars were changed; the CFLAGS patch is also invalid now).
Has anyone attempted to bump this ebuild?
Created attachment 457410 [details] widelands-0.19.ebuild Ebuild needs some work as one must run the game by typing in console full path "/usr/share/games/widelands/widelands" instead just "widelands". Due to that desktop entry does not work. Starting from the console game runs just fine so it is "good enough" to post here.
Created attachment 457412 [details, diff] widelands-0.19-cxxflags.patch Seems this patch is enough for game to use only user cxxflags from system.
Created attachment 457420 [details] widelands-0.19.ebuild This one uses wrapper from games.eclass to make it work. Until someone figures out better approach this one works like a charm just with the banned in EAPI=6 manner.
the last ebuild install executable file of the game to /usr/widelands Seems weird.
Widelands has shuffled their build process around, it seems. They install binaries to the path "${CMAKE_INSTALL_PREFIX}/." (see cmake/WlFunctions.cmake, line 279), rather than the default "bin". For now, if you want to fix this, set CMAKE_INSTALL_PREFIX to "/usr/bin" if you want the widelands executable in there, but it's a dirty hack imho. I'll try to raise upstream.
https://bugs.launchpad.net/widelands/+bug/1786353 Upstream bug for the oddly placed executable file.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0132f10b8752aa31f73ca0f50e671278a965fb commit ee0132f10b8752aa31f73ca0f50e671278a965fb Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-04-24 19:54:46 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-04-24 19:54:59 +0000 games-strategy/widelands: Bump to version 0.20_rc1 Closes: https://bugs.gentoo.org/600856 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> games-strategy/widelands/Manifest | 1 + .../files/widelands-0.20_rc1-cxxflags.patch | 24 ++++++++ games-strategy/widelands/widelands-0.20_rc1.ebuild | 72 ++++++++++++++++++++++ 3 files changed, 97 insertions(+)