Add dependencies and rebuild with automatic stripping

This commit is contained in:
2025-10-28 13:56:08 +02:00
parent 91b0860245
commit 6f227bcdf7
3 changed files with 53 additions and 2 deletions
+12
View File
@@ -2,6 +2,11 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/svt-av1-fix.patch
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
@@ -13,6 +18,7 @@ build() {
--disable-static \
--enable-shared \
--disable-debug \
--disable-stripping \
--disable-doc \
--disable-programs \
--enable-gnutls \
@@ -31,6 +37,12 @@ build() {
--enable-libx265 \
--enable-libxml2 \
--enable-vulkan \
--enable-librav1e \
--enable-libsvtav1 \
--enable-gmp \
--enable-libopenjpeg \
--enable-libopus \
--enable-librsvg \
--ignore-tests=enhanced-flv-av1 \
--docdir=/usr/share/doc/ffmpeg