{
    "version": "2.1-DEV-rev118",
    "description": "Multimedia framework developed for research and academic purposes",
    "homepage": "https://gpac.wp.imt.fr/",
    "license": "LGPL-2.1-or-later",
    "suggest": {
        "vcredist": "extras/vcredist2022"
    },
    "architecture": {
        "64bit": {
            "url": "http://download.tsi.telecom-paristech.fr/gpac/new_builds/win64/gpac-2.1-DEV-rev118-gc4aa2456-master-x64.exe#/dl.7z",
            "hash": "f9a36532e10052cb8416bf2c9660c420052d2861fe2094c66a0fdc010301e048"
        },
        "32bit": {
            "url": "http://download.tsi.telecom-paristech.fr/gpac/new_builds/win32/gpac-2.1-DEV-rev118-gc4aa2456-master-win32.exe#/dl.7z",
            "hash": "c98f6e0b0f0cb0461ab06dd6696fb88903d99e8103169e7dd6c087da53c4ac88"
        }
    },
    "pre_install": [
        "Remove-Item \"$dir\\`$*\", \"$dir\\uninstall.exe\" -Force -Recurse",
        "if (!(Test-Path \"$persist_dir\\GPAC.cfg\")) {New-Item \"$dir\\GPAC.cfg\" -ItemType File | Out-Null}"
    ],
    "bin": [
        "gpac.exe",
        "mp4box.exe",
        "mp4client.exe"
    ],
    "persist": [
        "Storage",
        "GPAC.cfg"
    ],
    "checkver": {
        "url": "https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/",
        "regex": "win64/gpac-([\\d.]+\\-DEV\\-rev\\d+)-(?<commit>\\w+)-master-x64\\.exe"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "http://download.tsi.telecom-paristech.fr/gpac/new_builds/win64/gpac-$version-$matchCommit-master-x64.exe#/dl.7z"
            },
            "32bit": {
                "url": "http://download.tsi.telecom-paristech.fr/gpac/new_builds/win32/gpac-$version-$matchCommit-master-win32.exe#/dl.7z"
            }
        }
    }
}
