2016-03-12 14:13:39 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, wxGTK
|
2018-02-25 02:23:58 +00:00
|
|
|
, desktop-file-utils, libSM, imagemagick }:
|
2014-12-18 20:06:09 +00:00
|
|
|
|
2015-01-12 19:13:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-15 08:22:03 +00:00
|
|
|
version = "18.12";
|
2014-12-18 20:06:09 +00:00
|
|
|
name = "mediainfo-gui-${version}";
|
|
|
|
src = fetchurl {
|
2017-10-11 08:13:00 +00:00
|
|
|
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
2018-12-15 08:22:03 +00:00
|
|
|
sha256 = "01pk57ff297lifm3g2hrbmfmchgyy5rir8103n2j3l0dkn2i0g3d";
|
2014-12-18 20:06:09 +00:00
|
|
|
};
|
|
|
|
|
2016-03-12 14:13:39 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ libzen libmediainfo wxGTK desktop-file-utils libSM
|
2016-03-12 14:13:39 +00:00
|
|
|
imagemagick ];
|
2014-12-18 20:06:09 +00:00
|
|
|
|
|
|
|
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
|
|
|
|
|
2017-11-08 10:33:04 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-03-12 14:13:39 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-12-18 20:06:09 +00:00
|
|
|
description = "Supplies technical and tag information about a video or audio file (GUI version)";
|
|
|
|
longDescription = ''
|
|
|
|
MediaInfo is a convenient unified display of the most relevant technical
|
|
|
|
and tag data for video and audio files.
|
|
|
|
'';
|
2017-10-11 08:13:00 +00:00
|
|
|
homepage = https://mediaarea.net/;
|
2016-03-12 14:13:39 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.devhell ];
|
2014-12-18 20:06:09 +00:00
|
|
|
};
|
|
|
|
}
|