From c5c1e94ed080b18047d55eaa968a0320efcf4f7e Mon Sep 17 00:00:00 2001 From: Julien Reichardt Date: Sat, 5 Oct 2024 14:58:56 +0200 Subject: [PATCH] Fix FFMPEG build --- net.rpcs3.RPCS3.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index 44a0ef1..8fa3730 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -21,6 +21,16 @@ finish-args: - --talk-name=org.freedesktop.ScreenSaver - --talk-name=org.mate.ScreenSaver +add-extensions: + org.freedesktop.Platform.ffmpeg-full: + directory: lib/ffmpeg + add-ld-path: . + version: '24.08' + autodownload: true + autodelete: false +cleanup-commands: + - mkdir -p ${FLATPAK_DEST}/lib/ffmpeg + modules: - shared-modules/glu/glu-9.json - shared-modules/glew/glew.json @@ -70,7 +80,7 @@ modules: - -DUSE_PRECOMPILED_HEADERS=OFF - -DUSE_SDL=ON - -DUSE_SYSTEM_CURL=ON - - -DUSE_SYSTEM_FFMPEG=OFF + - -DUSE_SYSTEM_FFMPEG=ON - -DUSE_SYSTEM_LIBPNG=ON - -DUSE_SYSTEM_SDL=ON - -DUSE_SYSTEM_ZLIB=ON @@ -88,4 +98,4 @@ modules: - type: git url: https://github.com/RPCS3/rpcs3.git branch: master - commit: b4ff988bd88589cf12b46f3e8979efcf529f87b0 + commit: 3e516df214f5c36d4b613aa0580182155247d2ad