rdp / ffmpeg-windows-build-helpers

Helper script for cross compiling some media tools for windows, like customizable ffmpeg.exe (with or without non-free components, etc), and some other bonuses like mplayer, mp4box, mxf, etc.
GNU General Public License v3.0
1.09k stars 414 forks source link

libwebp_git clone failure #662

Closed kevev closed 2 years ago

kevev commented 2 years ago

Downloading (via git clone) libwebp_git from https://chromium.googlesource.com/webm/libwebp.git Cloning into 'libwebp_git.tmp'... remote: Total 26578 (delta 16812), reused 26578 (delta 16812) Receiving objects: 100% (26578/26578), 17.79 MiB | 13.93 MiB/s, done. Resolving deltas: 100% (16812/16812), done. done git cloning to libwebp_git doing git checkout origin/master error: pathspec 'origin/master' did not match any file(s) known to git HEAD is now at 607611cd Merge "webp-container-spec: normalize section title case" into main error: pathspec 'origin/master' did not match any file(s) known to git fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'

Fix: Code needs update as Google is now using "main" instead of "master":

build_libwebp() { local checkout_dir=libwebp_git do_git_checkout https://chromium.googlesource.com/webm/libwebp.git $checkout_dir "origin/main" cd libwebp_git export LIBPNG_CONFIG="$mingw_w64_x86_64_prefix/bin/libpng-config --static" # LibPNG somehow doesn't get autodetected. generic_configure "--disable-wic" do_make_and_make_install unset LIBPNG_CONFIG cd .. }

rdp commented 2 years ago

all righty try latest #663