ppsspp: fix build against ffmpeg 4.4
(cherry picked from commit babd906230da851b27fb66f18b90a2beac4c7ddd)
This commit is contained in:
parent
314d647bf7
commit
70bbb7063c
|
@ -1,5 +1,6 @@
|
||||||
{ mkDerivation
|
{ mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, SDL2
|
, SDL2
|
||||||
, cmake
|
, cmake
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
|
@ -26,6 +27,14 @@ mkDerivation rec {
|
||||||
sha256 = "sha256-vfp/vacIItlPP5dR7jzDT7oOUNFnjvvdR46yi79EJKU=";
|
sha256 = "sha256-vfp/vacIItlPP5dR7jzDT7oOUNFnjvvdR46yi79EJKU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix_ffmpeg_4.4.patch"; # to be removed with next release
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/hrydgard/ppsspp/pull/14176.patch";
|
||||||
|
sha256 = "sha256-ecDoOydaLfL6+eFpahcO1TnRl866mZZVHlr6Qrib1mo=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace git-version.cmake --replace unknown ${src.rev}
|
substituteInPlace git-version.cmake --replace unknown ${src.rev}
|
||||||
substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share
|
substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share
|
||||||
|
|
Loading…
Reference in New Issue