Commit graph

14 commits

Author SHA1 Message Date
cmitu
6e84202206 scraper: change build method to fix FTBS
Changed the build method by using Golang's module support and creating a module from the upstream sources. Fixes the current build errors due to a transitive depedency which requires upgrading Go to 1.17+.
This simplifies applying the patch and rolling back (downgrading) the TGDB module dependency. As a bonus, we can use the normal way of retrieving the sources and generating the scriptmodule `.pkg` info file.

Fixed also the `golang` installation, the new version was not installed automatically due to a insufficient version check.
2023-09-11 04:57:26 +01:00
cmitu
66788ffc16 golang: upgrade to a newer version
Fixes compilation for 'google.golang.org/protobuf', which needs 'math/bits', available in go 1.9 and later.
2023-07-24 16:49:05 +01:00
cobalt2727
f430e02e4b fix aarch64 not installing golang 2021-12-05 20:28:52 -05:00
cmitu
db87783424 spelling: use 'rp_module_licence' in all scriptmodules 2020-08-04 13:01:07 +01:00
Jools Wills
731bb20a30 added depends package section and show in setup gui
this allows switching dependencies between binary/source installs and removal if needed - useful in some cases,
as it's possible if our server was offline for a source install to be used, which with the new packaging will be
rememebered - so this allows switching back to binary.

added golang / mesa-drm  omxiv / sdl1 and sdl2 to depends section
2020-03-23 04:17:06 +00:00
cmitu
16c9075eed Update license links for a few scriptmodules 2019-12-19 02:37:02 +00:00
Jools Wills
f22f92d13e helpers / downloadAndExtract - allow additional parameters for both tar and unzip
* change existing calls which used --strip-components
 * use multiple parameters for arguments which should allow additional arguments with spaces
 * implements #2630
2019-02-27 06:36:28 +00:00
Jools Wills
42fd198875 helpers - added downloadAndExtract function for use in modules
* replace many of the existing wget | tar commands with the new function
 * include error logging in the function via runCmd, to trap download/unpacking issues
2017-08-10 20:45:49 +01:00
Jools Wills
04c4438848 more consistent sed parameters (just drop the -e) 2017-05-04 20:10:57 +01:00
Jools Wills
73a96ea9aa goland - fix path 2017-03-01 17:08:18 +00:00
Jools Wills
b0bcf01d91 golang - remove go subfolder in golang and use md_inst in install_bin 2017-03-01 16:59:14 +00:00
Jools Wills
7af1f6413d goland - show untar progress as with other modules 2017-03-01 16:49:13 +00:00
Jools Wills
57e8138e14 golang / scraper changes
* use noinstclean flag so golang isn't reinstalled if not needed
 * remove from optional packages and make it hidden (as it's a dependency only)
 * quieten wget output
 * no need to check for folder before removing
2017-03-01 16:41:59 +00:00
Steven Selph
774e30fd70 Install a modern version of Go in retropie. 2017-02-28 20:35:44 -05:00