mirror of
https://github.com/azahar-emu/build-environment
synced 2025-11-06 23:19:59 +01:00
linux-mingw: Update to ffmpeg 5.1.2 ...
... also use the SDL2 binary from the ownstuff repository
This commit is contained in:
parent
5796195306
commit
8ed0a5d2fe
@ -33,6 +33,7 @@ RUN useradd -m -u 1027 -s /bin/bash citra && mkdir -p /tmp/pkgs && \
|
|||||||
mingw-w64-qt5-tools \
|
mingw-w64-qt5-tools \
|
||||||
mingw-w64-qt5-winextras \
|
mingw-w64-qt5-winextras \
|
||||||
mingw-w64-tools \
|
mingw-w64-tools \
|
||||||
|
mingw-w64-sdl2 \
|
||||||
mingw-w64-winpthreads \
|
mingw-w64-winpthreads \
|
||||||
mingw-w64-zlib \
|
mingw-w64-zlib \
|
||||||
mingw-w64-zstd \
|
mingw-w64-zstd \
|
||||||
|
|||||||
@ -2,19 +2,11 @@
|
|||||||
# install pefile
|
# install pefile
|
||||||
pip3 install pefile
|
pip3 install pefile
|
||||||
|
|
||||||
# SDL2
|
|
||||||
SDL2_VER='2.0.22'
|
|
||||||
wget "https://www.libsdl.org/release/SDL2-devel-${SDL2_VER}-mingw.tar.gz"
|
|
||||||
tar -zxf "SDL2-devel-${SDL2_VER}-mingw.tar.gz"
|
|
||||||
cd SDL2-${SDL2_VER}/
|
|
||||||
make install-package arch=x86_64-w64-mingw32 prefix=/usr/x86_64-w64-mingw32;
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# ffmpeg
|
# ffmpeg
|
||||||
FFMPEG_VER='4.4.2'
|
FFMPEG_VER='5.1.2'
|
||||||
FILENAME="ffmpeg-n${FFMPEG_VER}-95-ga8f16d4eb4-win64-gpl-shared-${FFMPEG_VER%.*}"
|
FILENAME="ffmpeg-n${FFMPEG_VER}-9-g807afa59cc-win64-gpl-shared-${FFMPEG_VER%.*}"
|
||||||
echo "Downloading ffmpeg (${FFMPEG_VER})..."
|
echo "Downloading ffmpeg (${FFMPEG_VER})..."
|
||||||
wget -c "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2022-10-03-12-38/${FILENAME}.zip"
|
wget -c "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2022-12-25-12-38/${FILENAME}.zip"
|
||||||
7z x "${FILENAME}.zip"
|
7z x "${FILENAME}.zip"
|
||||||
|
|
||||||
echo "Copying ffmpeg ${FFMPEG_VER} files to sysroot..."
|
echo "Copying ffmpeg ${FFMPEG_VER} files to sysroot..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user