[tools, cmake] refactor: update/hash check scripts, use tags for some more deps, proper CPMUtil separation #2666

Merged
crueter merged 19 commits from update-fmt into master 2025-10-05 03:04:54 +02:00
4 changed files with 17 additions and 9 deletions
Showing only changes of commit 8fb98d9e99 - Show all commits

View file

@ -5,7 +5,7 @@
"hash": "2a89d664119debbb3c006ab1c48d5d7f26e889f4a65ad2e25c8b0503308295123d5a9c5c78bf683aef5ff09acef8c3fc2837f22d3e8c611528b933bf03bcdd97",
"bundled": true
},
"ffmpeg-ci": {
"ffmpeg-ci": {
"ci": true,
"package": "FFmpeg",
"name": "ffmpeg",

View file

@ -1,8 +1,8 @@
{
"libusb": {
"repo": "libusb/libusb",
"sha": "c060e9ce30",
"hash": "44647357ba1179020cfa6674d809fc35cf6f89bff1c57252fe3a610110f5013ad678fc6eb5918e751d4384c30e2fe678868dbffc5f85736157e546cb9d10accc",
"find_args": "MODULE"
}
}
"libusb": {
"repo": "libusb/libusb",
"sha": "c060e9ce30",
"hash": "44647357ba1179020cfa6674d809fc35cf6f89bff1c57252fe3a610110f5013ad678fc6eb5918e751d4384c30e2fe678868dbffc5f85736157e546cb9d10accc",
"find_args": "MODULE"
}
}

View file

@ -1,4 +1,4 @@
#!/bin/sh
SUM=`wget -q https://github.com/$1/archive/$2.zip -O - | sha512sum`
SUM=$(wget -q https://github.com/$1/archive/$2.zip -O - | sha512sum)
echo "$SUM" | cut -d " " -f1

8
tools/cpm/format-json.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh -e
FILES=$(find . src -maxdepth 3 -name cpmfile.json)
for file in $FILES; do
jq --indent 4 < $file > $file.new
mv $file.new $file
done