2023-01-02 20:02:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK32
|
|
|
|
, desktop-file-utils, libSM, imagemagick, darwin }:
|
2014-12-18 20:06:09 +00:00
|
|
|
|
2023-01-02 20:02:22 +00:00
|
|
|
let
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
|
|
|
in
|
2015-01-12 19:13:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mediainfo-gui";
|
2023-12-16 17:50:10 +00:00
|
|
|
version = "23.11";
|
2023-04-28 12:22:02 +00:00
|
|
|
|
2014-12-18 20:06:09 +00:00
|
|
|
src = fetchurl {
|
2017-10-11 08:13:00 +00:00
|
|
|
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
2023-12-16 17:50:10 +00:00
|
|
|
hash = "sha256-gByxsNG//MEibeymISoe41Mi6LsSYwozu7B6kqioycM=";
|
2014-12-18 20:06:09 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2023-04-28 12:22:02 +00:00
|
|
|
|
2023-01-02 20:02:22 +00:00
|
|
|
buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
|
|
|
|
++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
2014-12-18 20:06:09 +00:00
|
|
|
|
2023-08-08 16:24:43 +00:00
|
|
|
sourceRoot = "MediaInfo/Project/GNU/GUI";
|
2014-12-18 20:06:09 +00:00
|
|
|
|
2017-11-08 10:33:04 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://mediaarea.net/";
|
2016-03-12 14:13:39 +00:00
|
|
|
license = licenses.bsd2;
|
2023-01-02 20:02:22 +00:00
|
|
|
platforms = platforms.unix;
|
2016-03-12 14:13:39 +00:00
|
|
|
maintainers = [ maintainers.devhell ];
|
2023-08-04 19:10:05 +00:00
|
|
|
mainProgram = "mediainfo-gui";
|
2014-12-18 20:06:09 +00:00
|
|
|
};
|
|
|
|
}
|