3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #107270 from Stunkymonkey/mediaelch_init

This commit is contained in:
Sandro 2020-12-23 15:52:01 +01:00 committed by GitHub
commit e7ccc64c14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 0 deletions

View file

@ -8531,6 +8531,12 @@
githubId = 638763;
name = "Stuart Moss";
};
stunkymonkey = {
email = "account@buehler.rocks";
github = "Stunkymonkey";
githubId = 1315818;
name = "Felix Bühler";
};
suhr = {
email = "suhr@i2pmail.org";
github = "suhr";

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

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