From 7b43daf53132ab7a8c6de6cd4679e9987629831a Mon Sep 17 00:00:00 2001 From: jack-mil <62065280+jack-mil@users.noreply.github.com> Date: Sat, 28 Dec 2024 22:03:41 -0500 Subject: [PATCH] mpv-git: Update to 20241229 using Github Releases The previous Sourceforge mirror has not been receiving recent builds by shinchiro. This commit update the checkver source to use the Github releases API source. All the MPV build are built through Github Actions and automatically released nightly. This is a more direct source than downloading from Sourceforge. --- bucket/mpv-git.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/bucket/mpv-git.json b/bucket/mpv-git.json index 7f958396031230..99c4deaa733184 100644 --- a/bucket/mpv-git.json +++ b/bucket/mpv-git.json @@ -12,12 +12,12 @@ }, "architecture": { "64bit": { - "url": "https://downloads.sourceforge.net/project/mpv-player-windows/64bit/mpv-x86_64-20241229-git-83bb498.7z", - "hash": "sha1:2c538e4c04a9653b1b3d6316c5416bd396c3531b" + "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20241229/mpv-x86_64-20241229-git-83bb498.7z", + "hash": "173dc8d5f2127571fbb7463f316548c4cf9878025ddaf35e1e467c77f037654b" }, "32bit": { - "url": "https://downloads.sourceforge.net/project/mpv-player-windows/32bit/mpv-i686-20241229-git-83bb498.7z", - "hash": "sha1:662c7b7d070ac5d7d66e60e8b5d73cd9a0f1c9a9" + "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20241229/mpv-i686-20241229-git-83bb498.7z", + "hash": "881b5cbfc971a3ceba0a0ed70b8719f39c675757f5553c830e377e07e436dfc1" } }, "pre_install": "Remove-Item \"$dir\\updater.bat\"", @@ -30,16 +30,17 @@ ], "persist": "portable_config", "checkver": { - "sourceforge": "mpv-player-windows/64bit", + "url": "https://api.github.com/repositories/141023757/releases/latest", + "jsonpath": "$.assets..browser_download_url", "regex": "mpv-x86_64-(\\d+)-git-(?[\\da-f]+)\\.7z" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://downloads.sourceforge.net/project/mpv-player-windows/64bit/mpv-x86_64-$version-git-$matchCommit.7z" + "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-x86_64-$version-git-$matchCommit.7z" }, "32bit": { - "url": "https://downloads.sourceforge.net/project/mpv-player-windows/32bit/mpv-i686-$version-git-$matchCommit.7z" + "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-i686-$version-git-$matchCommit.7z" } } }