See github page here: https://github.com/BlindMindStudios/StarRuler2-Source All game assets needed to play are included in the github repository.
Created attachment 597558 [details] starruler2-20180926.ebuild Preliminary ebuild which gets the compile going. Unfortunately there are still many linking errors, like for example: <artificial>:(.text.unlikely+0x13c): undefined reference to `operator delete(void*)' /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-strategy/starruler2-20180926/temp/ccKFOSxH.ltrans31.ltrans.o: in function `std::vector<DesignError, std::allocator<DesignError> >::~vector()': <artificial>:(.text.unlikely+0x189): undefined reference to `operator delete(void*)' /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-strategy/starruler2-20180926/temp/ccKFOSxH.ltrans31.ltrans.o:<artificial>:(.text.unlikely+0x1d5): more undefined references to `operator delete(void*)' follow /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-strategy/starruler2-20180926/temp/ccKFOSxH.ltrans31.ltrans.o:(.data.rel.ro+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-strategy/starruler2-20180926/temp/ccKFOSxH.ltrans31.ltrans.o:(.data.rel.ro+0x10): undefined reference to `vtable for __cxxabiv1::__class_type_info' Possibly a missing -lstdc++ argument when linking? It seems though that the Makefile does provide this argument.
Created attachment 678514 [details] starruler2-20180926.ebuild Now it fails here on glew even though it is installed: source/sound/source/CSoundDevice.cpp source/game/main/references.cpp source/sound/source/CSoundSource.cpp source/game/main/tick.cpp source/game/main/console.cpp source/game/main/save_load.cpp source/sound/source/CStreamSound.cpp In file included from ./source/game/render/gl_framebuffer.h:2, from source/game/main/tick.cpp:15: ./source/game/compat/gl.h:2:10: fatal error: GL/glew.h: No such file or directory 2 | #include <GL/glew.h> | ^~~~~~~~~~~ compilation terminated. make: *** [source/linux/Makefile:321: obj/linamd64/main/tick.o] Error 1 make: *** Waiting for unfinished jobs.... source/sound/source/CSSOgg.cpp source/sound/source/CSSWave.cpp source/sound/source/IAudioReference.cpp source/sound/source/CSSWave.cpp: In constructor ‘audio::CSSWave::CSSWave(FILE*, audio::ISoundDevice*)’: source/sound/source/CSSWave.cpp:10:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 10 | #define read(v, s) fread(v, 1, s, file) | ~~~~~^~~~~~~~~~~~~~~
Created attachment 678736 [details] starruler2-20180926.ebuild Finally a working compile (fixed glew dep, and sed errors), no install yet though.
Created attachment 678751 [details] starruler2-20180926.ebuild Now with installation into /opt. I managed to start the game, but did not try anything else yet.
Created attachment 678754 [details] starruler2-20180926.ebuild Marking old ebuild obsolete
The ebuild needs an EAPI bump, since apparently EAPI 7 is no longer supported.
Created attachment 870473 [details] starruler2-20180926.ebuild update EAPI to 8 and remove eutils eclass since it seems to no longer be needed.