diff options
author | DavidKorczynski <david@adalogics.com> | 2022-01-05 15:47:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 15:47:50 +0000 |
commit | f40a7b2c2ae48f7f2569d3a185aabefc03ff33ef (patch) | |
tree | f4ce3c52b95ecb88d668678cdb9ebc6111ad27ed | |
parent | 8747524f04b1b906d4a21a6ade87f7803b3f9b8c (diff) |
ffmpeg: add libxml2 to build (#7097)
-rw-r--r-- | projects/ffmpeg/Dockerfile | 1 | ||||
-rwxr-xr-x | projects/ffmpeg/build.sh | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/projects/ffmpeg/Dockerfile b/projects/ffmpeg/Dockerfile index 552cd322..138db299 100644 --- a/projects/ffmpeg/Dockerfile +++ b/projects/ffmpeg/Dockerfile @@ -33,5 +33,6 @@ RUN git clone --depth 1 https://gitlab.xiph.org/xiph/ogg.git RUN git clone --depth 1 https://gitlab.xiph.org/xiph/opus.git RUN git clone --depth 1 https://gitlab.xiph.org/xiph/theora.git RUN git clone --depth 1 https://gitlab.xiph.org/xiph/vorbis.git +RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git COPY build.sh group_seed_corpus.py $SRC/ diff --git a/projects/ffmpeg/build.sh b/projects/ffmpeg/build.sh index 2e432428..161f3472 100755 --- a/projects/ffmpeg/build.sh +++ b/projects/ffmpeg/build.sh @@ -107,6 +107,14 @@ make clean make -j$(nproc) make install +cd $SRC/libxml2 +./autogen.sh --prefix="$FFMPEG_DEPS_PATH" --enable-static \ + --without-debug --without-ftp --without-http \ + --without-legacy --without-python +make clean +make -j$(nproc) +make install + # Remove shared libraries to avoid accidental linking against them. rm $FFMPEG_DEPS_PATH/lib/*.so rm $FFMPEG_DEPS_PATH/lib/*.so.* @@ -130,6 +138,7 @@ PKG_CONFIG_PATH="$FFMPEG_DEPS_PATH/lib/pkgconfig" ./configure \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ + --enable-libxml2 \ --enable-nonfree \ --disable-muxers \ --disable-protocols \ @@ -212,6 +221,7 @@ PKG_CONFIG_PATH="$FFMPEG_DEPS_PATH/lib/pkgconfig" ./configure \ --libfuzzer=$LIB_FUZZING_ENGINE \ --optflags=-O1 \ --enable-gpl \ + --enable-libxml2 \ --disable-muxers \ --disable-protocols \ --disable-devices \ |