Skip to content

Commit

Permalink
Remove SDL2 for Windows build
Browse files Browse the repository at this point in the history
1. We don't need SDL graphics output used by ffplay
2. SDL2 has an upstream issue here in: libsdl-org/SDL#5589
  • Loading branch information
nyanmisaka committed May 1, 2022
1 parent 3343e7a commit 113c26b
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions docker-build-win64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,25 +140,6 @@ make install
popd
popd

# SDL2
mkdir sdl2
pushd sdl2
sdl2_ver="2.0.20"
sdl2_link="https://libsdl.org/release/SDL2-${sdl2_ver}.tar.gz"
wget ${sdl2_link} -O sdl2.tar.gz
tar xaf sdl2.tar.gz
pushd SDL2-${sdl2_ver}
./autogen.sh
./configure \
--prefix=${FF_DEPS_PREFIX} \
--host=${FF_TOOLCHAIN} \
--disable-shared \
--enable-static
make -j$(nproc)
make install
popd
popd

# FONTCONFIG
mkdir fontconfig
pushd fontconfig
Expand Down Expand Up @@ -531,6 +512,7 @@ fi
--disable-ffplay \
--disable-debug \
--disable-doc \
--disable-sdl2 \
--disable-ptx-compression \
--disable-w32threads \
--enable-pthreads \
Expand All @@ -543,7 +525,6 @@ fi
--enable-libxml2 \
--enable-zlib \
--enable-lzma \
--enable-sdl2 \
--enable-gmp \
--enable-libfreetype \
--enable-libfribidi \
Expand Down

0 comments on commit 113c26b

Please sign in to comment.