* capsimage version workaround is no longer needed in hatari's cmake
* old capsimage types are no longer needed
* align caps include location with new hatari cmake code
* remove no longer needed __cdecl define hack when building
Although aborting on error is cautious, it's more user friendly to continue and then show the failed installs,
otherwise in the case of an upstream change it could make it difficult to do a full install or update.
* not all the packages are available depending on distro / version so do a check and install what we can.
* remove the added ppa repository on removal
* improve the logic in depends and return an error if OS/platform isn't supported
If we have a custom config with
#include "/opt/retropie/configs/all/retroarch.cfg"
Changing an option that is set in the config above in RGUI and using "Save current configuration" from RGUI will not save that option.
No options that exist in the include will be saved.
This is a revert of upstream change https://github.com/libretro/RetroArch/pull/10524/commits/9eb84728
The change impacts `lr-mame`,`lr-mess`,`lr-mame2016`,`lr-mess2016` and `mame`.
It should fix building on new Ubuntu 20.04+ installations, which don't have a default `python` executable.
Since `python3` is automatically needed by the installation (via `python3-pyudev` for `joy2key`), no explicit dependency for `python3` was added.
Was added due to issues building in emulated chroot. May add another flag for that,
but we are currently using a rpi4 to build binaries so it's not an issue.
some modules will return an error due to not having required gcc etc. This would best be handled
with a function to hide modules from building, but in the meantime, it's easier to remove this check
until I have improved the builder scripts somewhat as some binaries were missed when building.
This is also due to changes adding additional support for return codes and error checking, which
happened since the builder code was made.
* the -DGL_GLEXT_PROTOTYPES define is required for c++ also (this likely broke during recent system.sh refactoring)
* fixes lr-mupen64plus building and possibly other modules
* remove unneeded space in __default_cflags assignment
* binaries will only be built for a few months more, then it will be source only. Also some packages may no longer work, and we may not guarantee compatibility due to the age of the distro.
* according to GCC docs, this should be equivalent - historically, in some cases older GCC had some issues (or wasn't aware of the CPU depending on version), but shouldn't be an issue now.
* don't use -mcpu=native for odroid-c2 64bit, in case we want to force target/cross compile
* GCC on Ubuntu 18.04 for Odroid XU defaults to -mthumb which isn't a good default for RetroPie.
* fixes building/linking with lr-flycast - we override the (messy) Makefile logic which set this previously.
* -marm has been for other odroid platforms as a precaution in case their OS versions have similar defaults (unchecked).