Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
Co-authored-by: Nyanmisaka <[email protected]>
  • Loading branch information
gnattu and nyanmisaka authored Dec 21, 2024
1 parent cde1084 commit 3a595cd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions builder/scripts.d/50-libopus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ ffbuild_dockerbuild() {
)
fi

# Override previously set -O(n) option and the CC's default optimization options.
# Override previously set -O(n) option and the CC's default optimization options.
CFLAGS="$CFLAGS -O3" ./configure "${myconf[@]}"
make -j$(nproc)
make install

if [[ $TARGET == *arm64 ]]; then
if [[ $TARGET == mac* ]]; then
gsed -i 's/-lopus/-lopus -lNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
gsed -i 's/-I${includedir}\/opus/-I${includedir}\/opus -I${includedir}\/libNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
else
sed -i 's/-lopus/-lopus -lNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
sed -i 's/-I${includedir}\/opus/-I${includedir}\/opus -I${includedir}\/libNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
fi
gsed -i 's/-lopus/-lopus -lNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
gsed -i 's/-I${includedir}\/opus/-I${includedir}\/opus -I${includedir}\/libNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
else
sed -i 's/-lopus/-lopus -lNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
sed -i 's/-I${includedir}\/opus/-I${includedir}\/opus -I${includedir}\/libNE10/' "$FFBUILD_PREFIX"/lib/pkgconfig/opus.pc
fi
fi
}

Expand Down

0 comments on commit 3a595cd

Please sign in to comment.