2011-02-12 21:18:53 +01:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, libmatroska
|
|
|
|
, flac
|
|
|
|
, libvorbis
|
|
|
|
, file
|
|
|
|
, boost
|
|
|
|
, 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 {
|
2013-11-05 22:43:50 +01:00
|
|
|
name = "mkvtoolnix-6.5.0";
|
2011-02-12 21:18:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 21:05:31 +01:00
|
|
|
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.xz";
|
2013-11-05 22:43:50 +01:00
|
|
|
sha256 = "0a3h878bsjbpb2r7b528xzyqzl8r82yhrniry9bnhmw7rcl53bd8";
|
2011-02-12 21:18:53 +01:00
|
|
|
};
|
|
|
|
|
2013-04-30 09:16:24 +02:00
|
|
|
buildInputs = [ libmatroska flac libvorbis file boost 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
|
|
|
};
|
|
|
|
}
|