Skip to content

Commit

Permalink
Merge pull request #123843 from lunik1/ppsspp-ffmpeg-44-fix
Browse files Browse the repository at this point in the history
ppsspp: fix build against ffmpeg 4.4
  • Loading branch information
AndersonTorres authored Jun 16, 2021
2 parents d86f211 + 89cbb28 commit 78a6cf4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/misc/emulators/ppsspp/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ mkDerivation
, fetchFromGitHub
, fetchpatch
, SDL2
, cmake
, ffmpeg
Expand All @@ -26,6 +27,15 @@ mkDerivation rec {
sha256 = "sha256-vfp/vacIItlPP5dR7jzDT7oOUNFnjvvdR46yi79EJKU=";
};

patches = [
# fix compability with ffmpeg 4.4, remove on next release after 1.11
(fetchpatch {
name = "fix_ffmpeg_4.4.patch";
url = "https://patch-diff.githubusercontent.com/raw/hrydgard/ppsspp/pull/14176.patch";
sha256 = "sha256-ecDoOydaLfL6+eFpahcO1TnRl866mZZVHlr6Qrib1mo=";
})
];

postPatch = ''
substituteInPlace git-version.cmake --replace unknown ${src.rev}
substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share
Expand Down

0 comments on commit 78a6cf4

Please sign in to comment.