Files
filament/third_party/libwebp/tnt/update_libwebp.sh
Benn Herrera b4c4ce9e17 Add Optional Inclusion of libwebp in Third Party Libaries (#9371)
* adds third_party/libwebp and cmake option to enable building it.

* disable simd and default disable pthreads for webgl builds.

* ensure non-empty config var value

* Added notes on libwebp change to NEW_RELEASE_NOTES.md

* Update NEW_RELEASE_NOTES.md
2025-11-04 13:34:57 -08:00

14 lines
497 B
Bash
Executable File

#!/usr/bin/env bash
owner=webmproject
project=libwebp
tag=v1.6.0
# ^^^ config / vvv github fetch repo tag archive and update boilerplate
tp_dir=$(_dir=$(dirname "${0}"); cd "${_dir}" && cd .. && cd .. && pwd)
cd "${tp_dir}" || exit 1
curl -L -O https://github.com/${owner}/${project}/archive/refs/tags/${tag}.zip || exit 1
unzip ${tag}.zip
mv ${project}-* ${project}_new
rsync -r ${project}_new/ ${project}/ --delete --exclude tnt
rm -rf ${tag}.zip ${project}_new
git add ${project} && git status