* 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
14 lines
497 B
Bash
Executable File
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
|