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