From a0e52205352eae381daaae4b1d38f9c64d20899a Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 6 Feb 2022 14:13:24 +0100 Subject: [PATCH] mediaelch: 2.8.12 -> 2.8.14 --- pkgs/applications/misc/mediaelch/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/mediaelch/default.nix b/pkgs/applications/misc/mediaelch/default.nix index f39b88f27d7d..aae492c63cda 100644 --- a/pkgs/applications/misc/mediaelch/default.nix +++ b/pkgs/applications/misc/mediaelch/default.nix @@ -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" '';