FS#78216 - [tiled] FTBFS due to the validity check
Attached to Project:
Community Packages
Opened by Sprite (Sprite) - Sunday, 16 April 2023, 15:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 18 April 2023, 12:28 GMT
Opened by Sprite (Sprite) - Sunday, 16 April 2023, 15:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 18 April 2023, 12:28 GMT
|
Details
Description:
==> Retrieving sources... -> Found tiled-1.10.1.tar.gz ==> Validating source files with sha512sums... tiled-1.10.1.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Could not download sources. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 18 April 2023, 12:28 GMT
Reason for closing: Fixed
Tuesday, 18 April 2023, 12:28 GMT
Reason for closing: Fixed
diff -r old/src/tiledapp/tiledapp.qbs tiled-1.10.1/src/tiledapp/tiledapp.qbs
14c14
< Depends { name: "texttemplate" }
---
> Depends { name: "texttemplate"; condition: qbs.targetOS.contains("windows") }
49a50,65
> Properties {
> condition: qbs.targetOS.contains("windows")
>
> texttemplate.outputTag: "rc"
> texttemplate.dict: {
> var versionArray = project.version.split(".");
> if (versionArray.length == 3)
> versionArray.push("0");
>
> return {
> version: project.version,
> version_csv: versionArray.join(",")
> };
> }
> }
>
178,189d193
<
< texttemplate.outputTag: "rc"
< texttemplate.dict: {
< var versionArray = project.version.split(".");
< if (versionArray.length == 3)
< versionArray.push("0");
<
< return {
< version: project.version,
< version_csv: versionArray.join(",")
< };
< }