mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #158355 from Stunkymonkey/mediaelch-2.8.14
This commit is contained in:
commit
0e0e00e71f
@ -11,17 +11,18 @@
|
||||
, qtmultimedia
|
||||
, qtsvg
|
||||
, qttools
|
||||
, quazip
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "mediaelch";
|
||||
version = "2.8.12";
|
||||
version = "2.8.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Komet";
|
||||
repo = "MediaElch";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gx4m9cf81d0b2nk2rlqm4misz67f5bpkjqx7d1l76rw2pwc6azf";
|
||||
sha256 = "sha256-yHThX5Xs+8SijNKgmg+4Mawbwi3zHA/DJQoIBy0Wchs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@ -29,7 +30,11 @@ mkDerivation rec {
|
||||
|
||||
buildInputs = [ curl libmediainfo libzen ffmpeg qtbase qtdeclarative qtmultimedia qtsvg ];
|
||||
|
||||
prePatch = ''
|
||||
qmakeFlags = [
|
||||
"USE_EXTERN_QUAZIP=${quazip}/include/quazip5"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace MediaElch.pro --replace "/usr" "$out"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user