File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ BOOST_VERSION=1.88.0
4
4
CLI11_VERSION = v2 .4.2
5
5
CMAKE_VERSION = 4.0 .3
6
6
BLEND2D_VERSION = 0.12 .0
7
+ BLEND2D_SHA256_HASH = 8 d2f9466451fc0e464bf67edef34c28391a5bf57d26d684453a03d1a1a5b2730
7
8
OPENH264_VERSION = v2 .6.0
Original file line number Diff line number Diff line change @@ -1464,13 +1464,17 @@ def install_blend2d_official(
1464
1464
install_dir ,
1465
1465
ios ,
1466
1466
cmake_args ,
1467
+ expected_sha256 : Optional [str ] = None ,
1467
1468
):
1468
1469
rm_rf (os .path .join (source_dir , "blend2d" ))
1469
1470
rm_rf (os .path .join (build_dir , "blend2d" ))
1470
1471
rm_rf (os .path .join (install_dir , "blend2d" ))
1471
1472
1472
- url = f"https://blend2d.com/download/blend2d-{ version } .tar.gz"
1473
- path = download (url , source_dir )
1473
+ # 公式サイトに負荷をかけないための時雨堂によるミラー
1474
+ url = f"https://oss-mirrors.shiguredo.jp/blend2d-{ version } .tar.gz"
1475
+ # Blend2d 公式
1476
+ # url = f"https://blend2d.com/download/blend2d-{version}.tar.gz"
1477
+ path = download (url , source_dir , expected_sha256 = expected_sha256 )
1474
1478
extract (path , source_dir , "blend2d" )
1475
1479
_build_blend2d (
1476
1480
configuration = configuration ,
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ def install_deps(
194
194
"install_dir" : install_dir ,
195
195
"ios" : False ,
196
196
"cmake_args" : cmake_args ,
197
+ "expected_sha256" : deps ["BLEND2D_SHA256_HASH" ],
197
198
}
198
199
install_blend2d_official (** install_blend2d_args )
199
200
You can’t perform that action at this time.
0 commit comments