Fix libaom build with NASM 3

This commit is contained in:
evgeny committed 2026-10-16 19:27:51 +02:00
1 parent 8cb656dbdc
commit 4401c4b1e4
1 file changed
+8 -2
+8 -2
View File
@@ -7,7 +7,7 @@ SRC_DIR="$BUILD_DIR/src"
INSTALL_DIR="$BUILD_DIR/install"
JOBS=$(nproc 2>/dev/null || echo 4)
AMF_HEADERS_VERSION="${AMF_HEADERS_VERSION:-1.5.3}"
FFMPEG_PROFILE_MARKER="$INSTALL_DIR/share/utun-chatgui-ffmpeg-minimal-v1"
FFMPEG_PROFILE_MARKER="$INSTALL_DIR/share/utun-chatgui-ffmpeg-minimal-v2"
case "$(uname -s)" in
Linux) PLATFORM=linux ;;
@@ -146,7 +146,13 @@ fi
# --- libaom (reference AV1 encoder) ---
if [ ! -f "$INSTALL_DIR/lib/pkgconfig/aom.pc" ]; then
do_clone libaom https://aomedia.googlesource.com/aom v3.12.0
LIBAOM_TAG=v3.13.2
do_clone libaom https://aomedia.googlesource.com/aom "$LIBAOM_TAG"
if ! git -C "$SRC_DIR/libaom" describe --tags --exact-match 2>/dev/null | grep -Fxq "$LIBAOM_TAG"; then
log "Update existing libaom source to $LIBAOM_TAG..."
git -C "$SRC_DIR/libaom" fetch --depth 1 origin "refs/tags/$LIBAOM_TAG:refs/tags/$LIBAOM_TAG"
git -C "$SRC_DIR/libaom" checkout --detach "$LIBAOM_TAG"
fi
cd "$SRC_DIR/libaom"
mkdir -p build && cd build
log "Configure libaom..."