Skip to content

Commit

Permalink
Merge pull request #309249 from thiagokokada/use-bundled-ffmpeg
Browse files Browse the repository at this point in the history
libretro.ppssspp: use bundled ffmpeg
  • Loading branch information
thiagokokada authored May 14, 2024
2 parents 38a3b50 + 526b8f6 commit 342e8db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/applications/emulators/retroarch/cores.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
, fetchFromGitHub
, fetchpatch
, ffmpeg
, ffmpeg_4
, fluidsynth
, fmt
, freetype
Expand Down Expand Up @@ -890,11 +889,13 @@ in
ppsspp = mkLibretroCore {
core = "ppsspp";
extraNativeBuildInputs = [ cmake pkg-config python3 ];
extraBuildInputs = [ libGLU libGL libzip ffmpeg_4 snappy xorg.libX11 ];
extraBuildInputs = [ libGLU libGL libzip snappy xorg.libX11 ];
makefile = "Makefile";
cmakeFlags = [
"-DLIBRETRO=ON"
"-DUSE_SYSTEM_FFMPEG=ON"
# USE_SYSTEM_FFMPEG=ON causes several glitches during video playback
# See: https://github.com/NixOS/nixpkgs/issues/304616
"-DUSE_SYSTEM_FFMPEG=OFF"
"-DUSE_SYSTEM_SNAPPY=ON"
"-DUSE_SYSTEM_LIBZIP=ON"
"-DOpenGL_GL_PREFERENCE=GLVND"
Expand Down

0 comments on commit 342e8db

Please sign in to comment.