Skip to content

Commit

Permalink
Use aom patch from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Nov 8, 2023
1 parent 19a8cde commit a32a7b5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions wheelbuild/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eo pipefail
CONFIG_DIR=$(abspath $(dirname "${BASH_SOURCE[0]}"))

ARCHIVE_SDIR=pillow-avif-plugin-depends
LIBAVIF_VERSION=ffbbff0450767230242fe6e67e4b752ae3d578fe
LIBAVIF_VERSION=bef0bcb9613769ca3706b82c0c9e477b7711f42e
DAV1D_VERSION=1.2.1
RAV1E_VERSION=p20231003
CCACHE_VERSION=4.7.1
Expand Down Expand Up @@ -289,12 +289,8 @@ EOF
-DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON \
-DAVIF_CODEC_DAV1D=ON -DAVIF_LOCAL_DAV1D=ON \
-DENABLE_NASM=ON \
"${LIBAVIF_CMAKE_FLAGS[@]}")
if [ -n "$IS_ALPINE" ]; then
(cd libavif-$LIBAVIF_VERSION/ext/aom \
&& patch -p1 -i $CONFIG_DIR/aom-fix-stack-size.patch)
fi
(cd libavif-$LIBAVIF_VERSION/build && ninja -v install/strip)
"${LIBAVIF_CMAKE_FLAGS[@]}"
&& ninja -v install/strip)

group_end
}
Expand Down

0 comments on commit a32a7b5

Please sign in to comment.