git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #123843 from lunik1/ppsspp-ffmpeg-44-fix

ppsspp: fix build against ffmpeg 4.4

commit78a6cf423da033b40f113c4cc38dee67c7d75609 authorAnderson Torres <torres.anderson.85@protonmail.com> dateWed 16 Jun 2021, 15:28 (5 years ago) parentd86f21189cbb28
1 file changed+10
pkgs/misc/emulators/ppsspp/default.nix+10
pkgs/misc/emulators/ppsspp/default.nix+10
@@ -1,5 +1,6 @@
11{ mkDerivation
22, fetchFromGitHub
3+, fetchpatch
34, SDL2
45, cmake
56, ffmpeg
@@ -26,6 +27,15 @@ mkDerivation rec {
2627 sha256 = "sha256-vfp/vacIItlPP5dR7jzDT7oOUNFnjvvdR46yi79EJKU=";
2728 };
2829
30+ patches = [
31+ # fix compability with ffmpeg 4.4, remove on next release after 1.11
32+ (fetchpatch {
33+ name = "fix_ffmpeg_4.4.patch";
34+ url = "https://patch-diff.githubusercontent.com/raw/hrydgard/ppsspp/pull/14176.patch";
35+ sha256 = "sha256-ecDoOydaLfL6+eFpahcO1TnRl866mZZVHlr6Qrib1mo=";
36+ })
37+ ];
38+
2939 postPatch = ''
3040 substituteInPlace git-version.cmake --replace unknown ${src.rev}
3141 substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share