MediaElch: init at 2.8.2

This commit is contained in:
Felix Buehler 2020-12-21 12:57:26 +01:00
parent 6be8a0ecd7
commit d130a65903
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv
, mkDerivation
, fetchFromGitHub
, qmake
, curl
, ffmpeg
, libmediainfo
, libzen
, qtbase
, qtdeclarative
, qtmultimedia
}:
mkDerivation rec {
pname = "mediaelch";
version = "2.8.2";
src = fetchFromGitHub {
owner = "Komet";
repo = "MediaElch";
rev = "v${version}";
sha256 = "0y26vfgrdym461lzmm5x3z5ai9ky09vlk3cy4sq6hwlj7mzcz0k7";
fetchSubmodules = true;
};
nativeBuildInputs = [ qmake ];
buildInputs = [ curl libmediainfo libzen ffmpeg qtbase qtdeclarative qtmultimedia ];
prePatch = ''
substituteInPlace MediaElch.pro --replace "/usr" "$out"
'';
meta = with stdenv.lib; {
homepage = "https://mediaelch.de/mediaelch/";
description = "Media Manager for Kodi";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ stunkymonkey ];
platforms = platforms.linux;
};
}

View file

@ -22674,6 +22674,8 @@ in
mda_lv2 = callPackage ../applications/audio/mda-lv2 { }; mda_lv2 = callPackage ../applications/audio/mda-lv2 { };
mediaelch = libsForQt5.callPackage ../applications/misc/mediaelch { };
mediainfo = callPackage ../applications/misc/mediainfo { }; mediainfo = callPackage ../applications/misc/mediainfo { };
mediainfo-gui = callPackage ../applications/misc/mediainfo-gui { }; mediainfo-gui = callPackage ../applications/misc/mediainfo-gui { };