Merge pull request #160200 from Stunkymonkey/mediaelch-libmediainfo
mediaelch: fix loading of libmediainfo
This commit is contained in:
commit
a91b28ef0e
|
@ -1,7 +1,10 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
|
||||
, qmake
|
||||
, qttools
|
||||
|
||||
, curl
|
||||
, ffmpeg
|
||||
, libmediainfo
|
||||
|
@ -10,7 +13,6 @@
|
|||
, qtdeclarative
|
||||
, qtmultimedia
|
||||
, qtsvg
|
||||
, qttools
|
||||
, quazip
|
||||
}:
|
||||
|
||||
|
@ -28,7 +30,7 @@ mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
|
||||
buildInputs = [ curl libmediainfo libzen ffmpeg qtbase qtdeclarative qtmultimedia qtsvg ];
|
||||
buildInputs = [ curl ffmpeg libmediainfo libzen qtbase qtdeclarative qtmultimedia qtsvg ];
|
||||
|
||||
qmakeFlags = [
|
||||
"USE_EXTERN_QUAZIP=${quazip}/include/quazip5"
|
||||
|
@ -38,6 +40,11 @@ mkDerivation rec {
|
|||
substituteInPlace MediaElch.pro --replace "/usr" "$out"
|
||||
'';
|
||||
|
||||
qtWrapperArgs = [
|
||||
# libmediainfo.so.0 is loaded dynamically
|
||||
"--prefix LD_LIBRARY_PATH : ${libmediainfo}/lib"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://mediaelch.de/mediaelch/";
|
||||
description = "Media Manager for Kodi";
|
||||
|
|
Loading…
Reference in a new issue