3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libmediainfo/default.nix

30 lines
905 B
Nix
Raw Normal View History

{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, zlib }:
2015-01-12 19:13:37 +00:00
stdenv.mkDerivation rec {
Update mediainfo{-gui} and dependencies * mediainfo{-gui} 0.7.72 -> 0.7.73 * libmediainfo 0.7.72 -> 0.7.73 * libzen 0.4.30 -> 0.4.31 From the mediainfo ChangeLog: ``` Version 0.7.73, 2015-04-09 + BPG: basic support, thanks to Kurtnoise + CAF: basic support of Apple Core Audio Format, sponsored by FlavorSys + JPEG-2000: Display of profile (Rsiz) + JPEG-2000: detection of XYZ colorspace (based on D-Cinema profile) + FFV1 in MOV: more details (version...) + MOV/MPEG-4: handling of clcn (little endian nclc) Color parameter type + #P84, Matroska: Add TEXTST support to the MKV Parser, thanks to Kurtnoise + #P85, MPEG-TS: Add TEXTST support to the MPEG-PSI Parser, thanks to Kurtnoise + MediaInfoDLL interface: clean up, more debug features added + MediaInfoDLL interface: Giant threads lock removed + #F460, VC-3/DNxHD: detection of RGB 444 and other SMPTE ST 2019 (2014) new CIDs + VC-3/DNxHD: version number (HVN) + Clean aperture size is move from width/height to its own field + HEVC: tier + MXF: writing library and writing application fields are cleaned up + ProRes: support of 4444 profiles + CAP: detection of CAP files from Cheetah and Lambda x B886, XML and HTML outputs were broken x B902: EBU AspectRatio invalid in case of non classic numerator:denominator format x #B758, VC-3/DNxHD: wrong color space and subsampling in case of unknown CID, now empty if format version is not known x #B903, MXG: Incorrect timecode track used for AS-11 DPP MXF files x #B904, MXF: Handling repetition of Header Metadata in MXF files x MXF: AFD value was wrong (displaying the complete byte, but AFD is only 4 bits of this byte) x DTS: some streams in Little endian were not detected x MPEG-4: some files were having an incorrect frame count x AVC: Some SCTE 128 caption streams were displayed twice x BMP; accepting files with file size information set to -1 x RF64: samplesCount was not always right x MOV: avoid wrong parsing in case of "colr" atom with "prof" color parameter type x DCP/IMF: ID has now the AM/PKL CPL order in order in all cases (not only when there is more than one CPL) x #B893, MXF: Crash with Panasonic P2 3.0 files x DPX: time information was with native ":" character x Images sequence: "Delay" field is filled from the number in the name of the first file x FLV: some files were not having the right duration x DPX: Cineon files were detected as DPX Version 1, version number was not corresponding to the real version ```
2015-04-09 18:52:41 +01:00
version = "0.7.73";
name = "libmediainfo-${version}";
src = fetchurl {
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.bz2";
Update mediainfo{-gui} and dependencies * mediainfo{-gui} 0.7.72 -> 0.7.73 * libmediainfo 0.7.72 -> 0.7.73 * libzen 0.4.30 -> 0.4.31 From the mediainfo ChangeLog: ``` Version 0.7.73, 2015-04-09 + BPG: basic support, thanks to Kurtnoise + CAF: basic support of Apple Core Audio Format, sponsored by FlavorSys + JPEG-2000: Display of profile (Rsiz) + JPEG-2000: detection of XYZ colorspace (based on D-Cinema profile) + FFV1 in MOV: more details (version...) + MOV/MPEG-4: handling of clcn (little endian nclc) Color parameter type + #P84, Matroska: Add TEXTST support to the MKV Parser, thanks to Kurtnoise + #P85, MPEG-TS: Add TEXTST support to the MPEG-PSI Parser, thanks to Kurtnoise + MediaInfoDLL interface: clean up, more debug features added + MediaInfoDLL interface: Giant threads lock removed + #F460, VC-3/DNxHD: detection of RGB 444 and other SMPTE ST 2019 (2014) new CIDs + VC-3/DNxHD: version number (HVN) + Clean aperture size is move from width/height to its own field + HEVC: tier + MXF: writing library and writing application fields are cleaned up + ProRes: support of 4444 profiles + CAP: detection of CAP files from Cheetah and Lambda x B886, XML and HTML outputs were broken x B902: EBU AspectRatio invalid in case of non classic numerator:denominator format x #B758, VC-3/DNxHD: wrong color space and subsampling in case of unknown CID, now empty if format version is not known x #B903, MXG: Incorrect timecode track used for AS-11 DPP MXF files x #B904, MXF: Handling repetition of Header Metadata in MXF files x MXF: AFD value was wrong (displaying the complete byte, but AFD is only 4 bits of this byte) x DTS: some streams in Little endian were not detected x MPEG-4: some files were having an incorrect frame count x AVC: Some SCTE 128 caption streams were displayed twice x BMP; accepting files with file size information set to -1 x RF64: samplesCount was not always right x MOV: avoid wrong parsing in case of "colr" atom with "prof" color parameter type x DCP/IMF: ID has now the AM/PKL CPL order in order in all cases (not only when there is more than one CPL) x #B893, MXF: Crash with Panasonic P2 3.0 files x DPX: time information was with native ":" character x Images sequence: "Delay" field is filled from the number in the name of the first file x FLV: some files were not having the right duration x DPX: Cineon files were detected as DPX Version 1, version number was not corresponding to the real version ```
2015-04-09 18:52:41 +01:00
sha256 = "1c7yc9m4fdrfdlb80g6157sa8s0wlv892pixrfdzfljsqayxnl6k";
};
buildInputs = [ automake autoconf libtool pkgconfig libzen zlib ];
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
configureFlags = [ "--enable-shared" ];
preConfigure = "sh autogen";
postInstall = ''
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
'';
meta = {
description = "Shared library for mediainfo";
homepage = http://mediaarea.net/;
license = stdenv.lib.licenses.bsd2;
2015-04-04 06:10:20 +01:00
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.devhell ];
};
}