We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e963c commit 735ba7cCopy full SHA for 735ba7c
build-ffmpeg
@@ -429,9 +429,20 @@ if command_exists "python3"; then
429
if build "dav1d" "0.9.2"; then
430
download "https://code.videolan.org/videolan/dav1d/-/archive/0.9.2/dav1d-0.9.2.tar.gz"
431
make_dir build
432
+
433
+ CFLAGSBACKUP=$CFLAGS
434
+ if $MACOS_M1; then
435
+ export CFLAGS="-arch arm64"
436
+ fi
437
438
execute meson build --prefix="${WORKSPACE}" --buildtype=release --default-library=static --libdir="${WORKSPACE}"/lib
439
execute ninja -C build
440
execute ninja -C build install
441
442
443
+ export CFLAGS=$CFLAGSBACKUP
444
445
446
build_done "dav1d" "0.9.2"
447
fi
448
CONFIGURE_OPTIONS+=("--enable-libdav1d")
0 commit comments