From b7b2805a3d9a1559737b50599dcadb7547ffbf30 Mon Sep 17 00:00:00 2001 From: Hsiao-nan Cheung Date: Mon, 6 Jan 2025 09:45:25 +0800 Subject: [PATCH] qpdf: Use GitHub as download URLs (#6430) --- bucket/qpdf.json | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/bucket/qpdf.json b/bucket/qpdf.json index acf5eef13e8aa..04baac55084c9 100644 --- a/bucket/qpdf.json +++ b/bucket/qpdf.json @@ -1,18 +1,18 @@ { "version": "11.9.1", "description": "A command-line program that does structural, content-preserving transformations on PDF files.", - "homepage": "https://qpdf.sourceforge.net/", + "homepage": "https://qpdf.sourceforge.io", "license": "Apache-2.0", "architecture": { "64bit": { - "url": "https://downloads.sourceforge.net/project/qpdf/qpdf/11.9.1/qpdf-11.9.1-mingw64.zip", - "hash": "sha1:568f76295408b6772bb16f18129342348e708f86", - "extract_dir": "qpdf-11.9.1-mingw64" + "url": "https://github.com/qpdf/qpdf/releases/download/v11.9.1/qpdf-11.9.1-msvc64.zip", + "hash": "b5061e09aa45b63a36200c130b4cce15dc322338ea91f698760c3b8732fc41ef", + "extract_dir": "qpdf-11.9.1-msvc64" }, "32bit": { - "url": "https://downloads.sourceforge.net/project/qpdf/qpdf/11.9.1/qpdf-11.9.1-mingw32.zip", - "hash": "sha1:eab59e265d35f0278120c92cc45d9ef1bcbb024a", - "extract_dir": "qpdf-11.9.1-mingw32" + "url": "https://github.com/qpdf/qpdf/releases/download/v11.9.1/qpdf-11.9.1-msvc32.zip", + "hash": "08e077a8c9c923eac2033dd4d5f35acc2ae8fc31d1b6c95402ec17dde0064c2f", + "extract_dir": "qpdf-11.9.1-msvc32" } }, "bin": [ @@ -20,19 +20,21 @@ "bin\\fix-qdf.exe" ], "checkver": { - "github": "https://github.com/qpdf/qpdf", - "regex": "qpdf-([\\d.]+)-" + "github": "https://github.com/qpdf/qpdf" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://downloads.sourceforge.net/project/qpdf/qpdf/$version/qpdf-$version-mingw64.zip", - "extract_dir": "qpdf-$version-mingw64" + "url": "https://github.com/qpdf/qpdf/releases/download/v$version/qpdf-$version-msvc64.zip", + "extract_dir": "qpdf-$version-msvc64" }, "32bit": { - "url": "https://downloads.sourceforge.net/project/qpdf/qpdf/$version/qpdf-$version-mingw32.zip", - "extract_dir": "qpdf-$version-mingw32" + "url": "https://github.com/qpdf/qpdf/releases/download/v$version/qpdf-$version-msvc32.zip", + "extract_dir": "qpdf-$version-msvc32" } + }, + "hash": { + "url": "$baseurl/qpdf-$version.sha256" } } }