2011-02-12 20:18:53 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, libmatroska
|
|
|
|
, flac
|
|
|
|
, libvorbis
|
|
|
|
, file
|
|
|
|
, boost
|
|
|
|
, lzo
|
|
|
|
, xdg_utils
|
|
|
|
, expat
|
|
|
|
, wxGTK
|
|
|
|
, zlib
|
|
|
|
, ruby
|
|
|
|
, gettext
|
2012-06-11 18:40:55 +01:00
|
|
|
, pkgconfig
|
|
|
|
, curl
|
2011-02-12 20:18:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-12-13 12:35:39 +00:00
|
|
|
name = "mkvtoolnix-5.9.0";
|
2011-02-12 20:18:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.bz2";
|
2012-12-13 12:35:39 +00:00
|
|
|
sha256 = "1qdxzi72w5p77brlpp7y7llsgzlvl4p8fk1kzg934cqw6cqza4yr";
|
2011-02-12 20:18:53 +00:00
|
|
|
};
|
|
|
|
|
2012-06-11 18:40:55 +01:00
|
|
|
buildInputs = [ libmatroska flac libvorbis file boost lzo xdg_utils expat wxGTK zlib ruby gettext pkgconfig curl ];
|
2011-02-12 20:18:53 +00:00
|
|
|
|
|
|
|
configureFlags = "--with-boost-libdir=${boost}/lib";
|
|
|
|
buildPhase = ''
|
|
|
|
ruby ./drake
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
ruby ./drake install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2011-02-12 20:22:55 +00:00
|
|
|
description = "Cross-platform tools for Matroska";
|
|
|
|
homepage = http://www.bunkus.org/videotools/mkvtoolnix/;
|
2011-02-12 20:18:53 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|