nixpkgs/pkgs/development/libraries/libmediainfo/default.nix
devhell 32d0d863bc {lib}mediainfo{-gui}: 0.7.76 -> 0.7.77, fixes #9617
Local build and run successful.

From the ChangeLog:
```
Version 0.7.77, 2015-09-02

+ #B941, MXF: files having only a video stream and an ancillary data
  stream were having incorrect second video stream
+ MOV: detection of r210 CodecID as raw RGB
+ Ancillary data: detection of all metadata blocks (previously: only the
  first one was detected)
x MPEG-TS: Wrong demux of TSP (188+16 TS) files having PES with only
  padding x MediaTrace #2: XML malformed with Flags items (hotfix, flags
  meaning disabled in XML output)
x MediaTrace #3: XML malformed with some MP4 files
x MediaTrace #6: XML duplicated attributes
x MediaTrace #10: versioned xsd, creating library name and version
x MediaTrace: XML content was not escaped
x #B947, Amazon S3 support (REST API v2), CLI/DLL only and if compiled
  with libcurl support: Analyze file on s3 was not working if secret key
  contains / character
```
2015-09-03 13:00:47 +02:00

30 lines
907 B
Nix

{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, zlib }:
stdenv.mkDerivation rec {
version = "0.7.77";
name = "libmediainfo-${version}";
src = fetchurl {
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
sha256 = "1znxdn1jpqkiwshq9s514ak1z9wkrh9flky4s3q8z2xl68jpralq";
};
buildInputs = [ automake autoconf libtool pkgconfig libzen zlib ];
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
configureFlags = [ "--enable-shared" ];
preConfigure = "sh autogen.sh";
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;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.devhell ];
};
}