ppsspp: 1.11 -> 1.12.3
This commit is contained in:
parent
8a0de21730
commit
98f31f139a
@ -1,6 +1,5 @@
|
|||||||
{ mkDerivation
|
{ mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, SDL2
|
, SDL2
|
||||||
, cmake
|
, cmake
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
@ -17,25 +16,16 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "ppsspp";
|
pname = "ppsspp";
|
||||||
version = "1.11";
|
version = "1.12.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hrydgard";
|
owner = "hrydgard";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-vfp/vacIItlPP5dR7jzDT7oOUNFnjvvdR46yi79EJKU=";
|
sha256 = "sha256-S16rTB0svksW5MwrPV/+qpTK4uKZ7mFcmbOyEmMmzhY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
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 = ''
|
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
Block a user