2014-12-17 00:24:18 +00:00
|
|
|
{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, zlib }:
|
|
|
|
|
2015-01-12 19:13:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-27 18:57:57 +00:00
|
|
|
version = "0.7.74";
|
2014-12-17 00:24:18 +00:00
|
|
|
name = "libmediainfo-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.bz2";
|
2015-05-27 18:57:57 +00:00
|
|
|
sha256 = "1dn7zwqkl08vafc979i1mx63r2jlr95gfazg4d2cc9v3pav28zpk";
|
2014-12-17 00:24:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2014-12-20 15:40:16 +00:00
|
|
|
homepage = http://mediaarea.net/;
|
2014-12-17 00:24:18 +00:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2015-04-04 05:10:20 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-12-18 19:52:37 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.devhell ];
|
2014-12-17 00:24:18 +00:00
|
|
|
};
|
|
|
|
}
|