qpdf: Use GitHub as download URLs (#6430)

This commit is contained in:
Hsiao-nan Cheung 2025-01-06 09:45:25 +08:00 committed by GitHub
parent 12cbab38ec
commit b7b2805a3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,18 @@
{ {
"version": "11.9.1", "version": "11.9.1",
"description": "A command-line program that does structural, content-preserving transformations on PDF files.", "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", "license": "Apache-2.0",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://downloads.sourceforge.net/project/qpdf/qpdf/11.9.1/qpdf-11.9.1-mingw64.zip", "url": "https://github.com/qpdf/qpdf/releases/download/v11.9.1/qpdf-11.9.1-msvc64.zip",
"hash": "sha1:568f76295408b6772bb16f18129342348e708f86", "hash": "b5061e09aa45b63a36200c130b4cce15dc322338ea91f698760c3b8732fc41ef",
"extract_dir": "qpdf-11.9.1-mingw64" "extract_dir": "qpdf-11.9.1-msvc64"
}, },
"32bit": { "32bit": {
"url": "https://downloads.sourceforge.net/project/qpdf/qpdf/11.9.1/qpdf-11.9.1-mingw32.zip", "url": "https://github.com/qpdf/qpdf/releases/download/v11.9.1/qpdf-11.9.1-msvc32.zip",
"hash": "sha1:eab59e265d35f0278120c92cc45d9ef1bcbb024a", "hash": "08e077a8c9c923eac2033dd4d5f35acc2ae8fc31d1b6c95402ec17dde0064c2f",
"extract_dir": "qpdf-11.9.1-mingw32" "extract_dir": "qpdf-11.9.1-msvc32"
} }
}, },
"bin": [ "bin": [
@ -20,19 +20,21 @@
"bin\\fix-qdf.exe" "bin\\fix-qdf.exe"
], ],
"checkver": { "checkver": {
"github": "https://github.com/qpdf/qpdf", "github": "https://github.com/qpdf/qpdf"
"regex": "qpdf-([\\d.]+)-"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://downloads.sourceforge.net/project/qpdf/qpdf/$version/qpdf-$version-mingw64.zip", "url": "https://github.com/qpdf/qpdf/releases/download/v$version/qpdf-$version-msvc64.zip",
"extract_dir": "qpdf-$version-mingw64" "extract_dir": "qpdf-$version-msvc64"
}, },
"32bit": { "32bit": {
"url": "https://downloads.sourceforge.net/project/qpdf/qpdf/$version/qpdf-$version-mingw32.zip", "url": "https://github.com/qpdf/qpdf/releases/download/v$version/qpdf-$version-msvc32.zip",
"extract_dir": "qpdf-$version-mingw32" "extract_dir": "qpdf-$version-msvc32"
} }
},
"hash": {
"url": "$baseurl/qpdf-$version.sha256"
} }
} }
} }