Commit graph

36 commits

Author SHA1 Message Date
TheDiscordian
8c0204165b keep plugins, enable highscores 2024-12-14 02:29:40 -05:00
Jools Wills
f2cbaea6b7 mame/lr-mame - fix building on aarch64 kernel with 32bit arm userland
Force PLATFORM=arm on arm systems. Without this mame builds for aarch64 and sets PTR64=1 erroring out with:

    static_assert(sizeof(void *) == 8, "PTR64 flag enabled, but was compiled for 32-bit target\n");

This also fixes building of lr-mame2016
2024-11-05 19:40:42 +00:00
Jools Wills
dc2ac1fcee mame/lr-mame - fix building on bullseye
* MAME specifically checks for GCC 10.3 so we need to compare with the full GCC version as bullseye has 10.2.
 * lr-mame - Remove "master" branch from rp_module_repo so the _get_version tag is passed as a branch to checkout
 * lr-mame - Simplify _get_version_lr-mame as the tagname variable was only used once
2024-07-13 16:18:43 +01:00
Jools Wills
9e8362a98c Convert modules to using variable comparisons in flags
Replace GCC version checks in depends_* functions with variable comparisons in flags.
2024-05-21 21:20:32 +01:00
cmitu
6105ee21d5 lr-mame: fix the build for 2016 repository
We removed the `python3` parameter setup in commit 2a95dd076a, but the build parameters are also used by Mame/Mess 2016.
Mame2016/Mess2016 have python2 still as default, so re-add the `PYTHON_EXECUTABLE` configuration.
2024-05-01 05:53:26 +01:00
cmitu
b3fc3bed50 mame: add GCC requirements for version 0.265
Starting with version 0.265 (April 2024), GCC 10.3 is required for building MAME.
Enforce this requirement when building the emulator and libretro cores, Debian Buster will be getting 0.264 as the last version.
2024-04-30 15:45:07 +01:00
cmitu
2a95dd076a lr-mame/lr-mess: modify build parameters
Update the build parameters so:

  - optimization level matches RetroPie's compiler options (-O2)
  - removed `PYTHON` pre-set since it's set now to `python3` by default
  - disable PortAudio, not needed since audio is handled by RetroArch
2024-03-12 18:07:07 +00:00
cmitu
e320cf9965 lr-mame/mess: bump memory requirements
Added a bit more swap in order to be able to finish the compilation for both cores.
2024-02-27 18:06:57 +00:00
Jools Wills
90d535028b Don't use compareVersions for GCC version comparisons
gcc -dumpversion on GCC >= 7 seems to provide the major version but the documentation suggests this depends on how it's configured.
We only need to test the major version so using compareVersions isn't required.

https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html states:
>Print the compiler version (for example, 3.0, 6.3.0 or 7)—and don’t do anything else. This is the compiler
>version used in filesystem paths and specs. Depending on how the compiler has been configured it can be
>just a single number (major version), two numbers separated by a dot (major and minor version) or three
>numbers separated by dots (major, minor and patchlevel version).

Ensure __gcc_version only contains the major version just in case in system.sh
2023-03-05 14:09:26 +00:00
Jools Wills
7ac3877b44 Switch to using defaultRAConfig
libretro ports now don't include the "ports/" path in the call as it's handled by the new function
2022-05-22 13:09:12 +01:00
cmitu
25e1e48529 licences: update links for some modules 2021-05-04 20:28:37 +01:00
Jools Wills
7bcdc6a956 libretrocores - added rp_module_repo to all libretro cores
Also use new location for lr-meseon repo due to repository move
2021-02-15 23:54:13 +00:00
cmitu
44f00eb393 lr-mame,mame: use python3 to build recent mame versions
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.
2020-11-01 11:13:26 +02:00
Jools Wills
311e035c1c lr-mame - added missing dependencies 2020-05-24 22:51:00 +01:00
Jools Wills
4464b474d9 lr-mame / lr-mess - gcc 7 is needed 2020-05-20 01:08:29 +01:00
Jools Wills
abdc729077 lr-mame / lr-mess - remove nobin flag
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.
2020-05-20 00:50:08 +01:00
Jools Wills
0ee307a887 lr-mame / lr-mess - increase swap and make gcc 6 minimum version needed
* also adjust gcc error message in lr-mess to use $md_id as it's shared by lr-mess
2020-05-20 00:47:27 +01:00
Jools Wills
4ddb7cb24c Adjust GCC comparisons to use major version only to fix version comparing
Older GCC on at least Debian used to output a 3 part version like 6.3.0 with gcc -dumpversion

Newer GCC / OS seems to only output the major version which broke comparisons as dpkg will consider a version such as "6" to be lower than 6.0.0
2020-05-19 20:16:24 +01:00
Jools Wills
0938107ff5 lr-mame - added COPYING and README.md to install 2020-04-23 11:05:47 +01:00
Jools Wills
f2884e425a added nobin flags for lr-mame/lr-mess/lr-mame2016/lr-mess016 to exclude binary builds
* disabled due to issues building currently in build system chroot - will revisit
2020-02-16 01:09:51 +00:00
Jools Wills
32c3f7adaa lr-mame / lr-mess - increase required memory to 2000MB 2018-10-07 17:46:40 +01:00
Jools Wills
ee6911c8ee lr-mame / lr-mess - increase swap 2018-08-03 13:08:49 +01:00
Jools Wills
fd1bb4a620 system - remove default gcc functions which were needed for Raspbian Wheezy.
* use __gcc_version to avoid calling gcc -dumpversion multiple times in the code
2017-11-14 17:03:00 +00:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
969ea9ed6f lr-mame - increase memory required for building 2017-02-03 23:29:27 +00:00
Jools Wills
37fc736cd3 lr-mame - disable on systems with gcc < 5.0 2017-01-13 00:25:04 +00:00
Jools Wills
eda4f61136 updated all modules to use addEmulator / addSystem 2016-12-31 02:49:04 +00:00
Jools Wills
b561884608 use platforms.cfg for managing of platform/theme for arcade etc, to simplify addSystem 2016-12-31 02:33:46 +00:00
Jools Wills
962d1bded9 mame / mess - fix up building after upstream repo changes 2016-11-19 01:43:16 +00:00
Jools Wills
cb8ee588ab lr-mame* - add additional swap to make sure there is enough memory to build/link 2016-08-17 23:24:41 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
HerbFargus
ed0d548e25 update all libretro-core docs 2016-06-10 23:18:34 -06:00
HerbFargus
ae97909192 Add help docs to emulator and libretro modules 2016-06-10 14:54:23 -06:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
0a9c9fa1e2 added SUBTARGET=arcade to lr-mame - thanks to zerojay for the heads up 2016-03-03 01:22:24 +00:00
Jools Wills
be661b8b6e added lr-mame experimental module (to go with lr-mess) - mostly for use on faster platforms 2016-02-29 18:35:40 +00:00