29a90dbc2b
Built and tested locally. From the changelog: ``` Version 0.7.83, 2016-02-29 + HEVC: Maximum Content Light Level (MaxCLL) and Maximum Frame-Average Light Level (MaxFALL), metadata mandated by CEA-861.3 for HDR support + HEVC: Mastering display color primaries and luminance (based on SMPTE ST 2084), metadata mandated by CEA-861.3 for HDR support + HEVC: SMPTE ST 2048 and SMPTE ST 428-1 transfer characteristics + HEVC: Chroma subsampling location (indication of the location type described in the HEVC spec) + MPEG-TS: ATSC Modulation Mode (Analog, SCTE_mode_1 aka 64-QAM, SCTE_mode_2 aka 256-QAM, 8-VSB, 16-VSB) + #B981, MP4: support of buggy file having "hint" SubType x HLS: better handling of media playlists having EXT-X-BYTERANGE ``` Additionally, some cleanup and package uses `autoreconfHook` now. Thanks to @hrdinka for helpful pointers!
29 lines
860 B
Nix
29 lines
860 B
Nix
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.83";
|
|
name = "libmediainfo-${version}";
|
|
src = fetchurl {
|
|
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
|
|
sha256 = "0kl5x07j3jp5mnmhpjvdq0a2nnlgvqnhwar0xalvg3b3msdf8417";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libzen zlib ];
|
|
|
|
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
postInstall = ''
|
|
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Shared library for mediainfo";
|
|
homepage = http://mediaarea.net/;
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.devhell ];
|
|
};
|
|
}
|