Skip to content

Commit

Permalink
libavif: move svt-av1 before libavif
Browse files Browse the repository at this point in the history
  • Loading branch information
1480c1 committed Jul 17, 2024
1 parent 8b7dc54 commit 90a968a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions build/media-suite_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,17 @@ fi
# add allow-multiple-definition to the .pc file to fix linking with other rust libraries
sed -i 's/Libs.private:.*/& -Wl,--allow-multiple-definition/' "$LOCALDESTDIR/lib/pkgconfig/rav1e.pc" >/dev/null 2>&1

_check=(bin-video/SvtAv1EncApp.exe
libSvtAv1Enc.a SvtAv1Enc.pc)
if [[ $bits = 32bit ]]; then
do_removeOption --enable-libsvtav1
elif { [[ $svtav1 = y ]] || enabled libsvtav1; } &&
do_vcs "$SOURCE_REPO_SVTAV1"; then
do_uninstall include/svt-av1 "${_check[@]}" include/svt-av1
do_cmakeinstall video -DUNIX=OFF -DENABLE_AVX512=ON
do_checkIfExist
fi

if [[ $libavif = y ]]; then
do_pacman_install libjpeg-turbo libyuv
_check=(libavif.{a,pc} avif/avif.h)
Expand Down Expand Up @@ -1540,17 +1551,6 @@ elif { [[ $svthevc = y ]] || enabled libsvthevc; } &&
do_checkIfExist
fi

_check=(bin-video/SvtAv1EncApp.exe
libSvtAv1Enc.a SvtAv1Enc.pc)
if [[ $bits = 32bit ]]; then
do_removeOption --enable-libsvtav1
elif { [[ $svtav1 = y ]] || enabled libsvtav1; } &&
do_vcs "$SOURCE_REPO_SVTAV1"; then
do_uninstall include/svt-av1 "${_check[@]}" include/svt-av1
do_cmakeinstall video -DUNIX=OFF -DENABLE_AVX512=ON
do_checkIfExist
fi

_check=(bin-video/SvtVp9EncApp.exe
libSvtVp9Enc.a SvtVp9Enc.pc)
if [[ $bits = 32bit ]]; then
Expand Down

0 comments on commit 90a968a

Please sign in to comment.