Calinou / scoop-games

Scoop bucket for open source/freeware games and game-related tools
Creative Commons Zero v1.0 Universal
281 stars 140 forks source link

[Request]: flightgear #869

Open radiorz opened 1 year ago

radiorz commented 1 year ago

Prerequisites

Criteria

Name

flightgear

Description

FLIGHTGEAR FLIGHT SIMULATOR sophisticated, professional, open-source

Homepage

https://www.flightgear.org/

Download Link(s)

https://sourceforge.net/projects/flightgear/files/release-2020.3/FlightGear-2020.3.18.exe/download

Some Indication of Popularity/Repute

https://github.com/FlightGear/flightgear star 406

superusercode commented 1 year ago

FlightGear is a 1.8GB download, so it's hard to really do autoupdate on it and get the hash for it in a fast way. Especially if your CI can't handle it, like what happened to winget where their pipeline that checks new packages through an AV would constantly get stuck on it originally. They do manual updates (https://github.com/microsoft/winget-pkgs/tree/master/manifests/f/FlightGear/FlightGear/2020.3.11) and we would have to do manual updates as well. Otherwise this app installs through inno setup and would be relatively easy to add after the hash issues, but I don't know enough about scoop to know all the pitfalls of a package this large.

superusercode commented 1 year ago

@Calinou would the hash checker/autoupdate pipeline be able to handle a 1.8gb download?

Calinou commented 1 year ago

@Calinou would the hash checker/autoupdate pipeline be able to handle a 1.8gb download?

I don't know – it works OK on 1 GB releases at least.

superusercode commented 1 year ago

image innosetup/innounp doesn't seem to be working out for flightgear

superusercode commented 1 year ago
{
    "version": "2020.3.18",
    "description": "FlightGear is an open-source flight simulator.",
    "homepage": "https://www.flightgear.org/",
    "license": {
        "identifier": "GPL-2.0-or-later",
        "url": "http://wiki.flightgear.org/GNU_General_Public_License"
    },
    "url": "https://download.flightgear.org/builds/2020.3/FlightGear-2020.3.18.exe",
    "hash": "b22f8acf40b56978aa7832eb7fc0324d515f2404fc256f2b098b049b905e7b38",
    "innosetup": true,
    "shortcuts": [
        [
            "fgfs.exe",
            "FlightGear"
        ]
    ],
    "checkver": {
        "url": "https://www.flightgear.org/",
        "regex": "Current stable release: (?<stable>[0-9\\.]+)"
    },
    "autoupdate": {
        "url": "https://download.flightgear.org/builds/$majorVersion.$minorVersion/FlightGear-$version.exe"
    }
}

this is what i have so far but unzipping also seems to not work, so i'll keep playing around