Add dependencies and rebuild with automatic stripping
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user