Skip to content

Commit

Permalink
local
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 7, 2024
1 parent 525ea02 commit dd977fc
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def cmd_msbuild(
"ZLIB": "1.3.1",
"MESON": "1.6.0",
"LIBAVIF": "1.1.1",
"RAV1E": "0.7.1",
}
V["LIBPNG_DOTLESS"] = V["LIBPNG"].replace(".", "")
V["LIBPNG_XY"] = "".join(V["LIBPNG"].split(".")[:2])
Expand Down Expand Up @@ -400,19 +399,6 @@ def cmd_msbuild(
],
"bins": [r"*.dll"],
},
"rav1e": {
"url": (
f"https://github.com/xiph/rav1e/releases/download/v{V['RAV1E']}/FILENAME"
),
"filename": f"rav1e-{V['RAV1E']}-windows-msvc-generic.zip",
"dir": "rav1e-windows-msvc-sdk",
"license": "LICENSE",
"build": [
cmd_xcopy("include", "{inc_dir}"),
],
"bins": [r"bin\*.dll"],
"libs": [r"lib\*.*"],
},
"libavif": {
"url": f"https://github.com/AOMediaCodec/libavif/archive/v{V['LIBAVIF']}.zip",
"filename": f"libavif-{V['LIBAVIF']}.zip",
Expand All @@ -435,8 +421,7 @@ def cmd_msbuild(
"-DAVIF_CODEC_AOM=LOCAL",
"-DAVIF_LIBYUV=LOCAL",
"-DAVIF_LIBSHARPYUV=LOCAL",
"-DAVIF_CODEC_RAV1E=SYSTEM",
"-DAVIF_RAV1E_ROOT={build_dir}",
"-DAVIF_CODEC_RAV1E=LOCAL",
"-DCMAKE_MODULE_PATH={winbuild_dir_cmake}",
"-DAVIF_CODEC_DAV1D=LOCAL",
"-DAVIF_CODEC_SVT=LOCAL",
Expand Down Expand Up @@ -804,7 +789,7 @@ def main() -> None:
if args.no_fribidi:
disabled += ["fribidi"]
if args.no_avif:
disabled += ["rav1e", "libavif"]
disabled += ["libavif"]

prefs = {
"architecture": args.architecture,
Expand Down

0 comments on commit dd977fc

Please sign in to comment.