[tools, cmake] refactor: update/hash check scripts, use tags for some more deps, proper CPMUtil separation #2666
4 changed files with 17 additions and 9 deletions
2
externals/ffmpeg/cpmfile.json
vendored
2
externals/ffmpeg/cpmfile.json
vendored
|
@ -5,7 +5,7 @@
|
|||
"hash": "2a89d664119debbb3c006ab1c48d5d7f26e889f4a65ad2e25c8b0503308295123d5a9c5c78bf683aef5ff09acef8c3fc2837f22d3e8c611528b933bf03bcdd97",
|
||||
"bundled": true
|
||||
},
|
||||
"ffmpeg-ci": {
|
||||
"ffmpeg-ci": {
|
||||
"ci": true,
|
||||
"package": "FFmpeg",
|
||||
"name": "ffmpeg",
|
||||
|
|
14
externals/libusb/cpmfile.json
vendored
14
externals/libusb/cpmfile.json
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
8
tools/cpm/format-json.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue