nixpkgs/pkgs/development/libraries/libmediainfo/default.nix

32 lines
895 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
2015-01-12 19:13:37 +00:00
stdenv.mkDerivation rec {
{lib-}mediainfo{-gui},libzen: 0.7.99 -> 17.10, 0.4.35 -> 0.4.37 Update to the latest version (note versioning change). From the changelog for 'mediainfo' (libzen changelog is unavailable): === Version 17.10, 2017-11-02 -------------- + We need your support! Visit https://mediaarea.net/SupportUs + Version scheme is now YY.MM (year dot month, 2 digits each) + New MediaInfo XML output, with XSD, more suitable for automatic parsing. Use Option("Inform", "OLDXML") for keeping previous behavior + New "Info_OutputFormats" option for listing supported output formats + Universal Ad ID: refactored display, better display of value and registry, XML name slightly modified + MOV: support of HDR metadata (MasteringDisplayColorVolume, MaxCLL, MaxFALL) + BWF: display of UMID and loudness info + AAC: show program_config_element in trace + MPEG Audio: frame rate info + PCM in WAV and Matroska: Support of ValidBitsPerSample + I197, EBUCore: 1.8 output uses now final version of XSD and final XSD location + Matroska: tweaking frame rate empirical detection for some corner cases x I1070, LAME 3.100 info tag was incorrectly parsed x B1068, MPEG Audio: Incoherent duration between General and Audio parts, Audio part duration fixed x Matroska: showing "A_MS/ACM" Matroska CodecID x MXF: Fix crash with some buggy files x MXF: was not well supporting MXF referencing only 1 file x PCM in WAV: 8-bit content is unsigned and without endianess x PCM in WAV and Matroska: More coherency between Wave info and ExtensibleWave Info (bitdepth, sign) x WAV: GUID display was with first 8 bytes in wrong order x Several crash fixes
2017-11-08 10:06:57 +00:00
version = "17.10";
name = "libmediainfo-${version}";
src = fetchurl {
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
{lib-}mediainfo{-gui},libzen: 0.7.99 -> 17.10, 0.4.35 -> 0.4.37 Update to the latest version (note versioning change). From the changelog for 'mediainfo' (libzen changelog is unavailable): === Version 17.10, 2017-11-02 -------------- + We need your support! Visit https://mediaarea.net/SupportUs + Version scheme is now YY.MM (year dot month, 2 digits each) + New MediaInfo XML output, with XSD, more suitable for automatic parsing. Use Option("Inform", "OLDXML") for keeping previous behavior + New "Info_OutputFormats" option for listing supported output formats + Universal Ad ID: refactored display, better display of value and registry, XML name slightly modified + MOV: support of HDR metadata (MasteringDisplayColorVolume, MaxCLL, MaxFALL) + BWF: display of UMID and loudness info + AAC: show program_config_element in trace + MPEG Audio: frame rate info + PCM in WAV and Matroska: Support of ValidBitsPerSample + I197, EBUCore: 1.8 output uses now final version of XSD and final XSD location + Matroska: tweaking frame rate empirical detection for some corner cases x I1070, LAME 3.100 info tag was incorrectly parsed x B1068, MPEG Audio: Incoherent duration between General and Audio parts, Audio part duration fixed x Matroska: showing "A_MS/ACM" Matroska CodecID x MXF: Fix crash with some buggy files x MXF: was not well supporting MXF referencing only 1 file x PCM in WAV: 8-bit content is unsigned and without endianess x PCM in WAV and Matroska: More coherency between Wave info and ExtensibleWave Info (bitdepth, sign) x WAV: GUID display was with first 8 bytes in wrong order x Several crash fixes
2017-11-08 10:06:57 +00:00
sha256 = "00m1b4m37c9lm16yhh63p5pidg2sr3qvsw36672lklmcv3y1ic30";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libzen zlib ];
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
configureFlags = [ "--enable-shared" ];
2017-11-08 10:33:04 +00:00
enableParallelBuilding = true;
postInstall = ''
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
'';
meta = with stdenv.lib; {
description = "Shared library for mediainfo";
homepage = https://mediaarea.net/;
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
};
}