mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Added mkvtoolnix-cli = mkvtoolnix without GUI dependencies.
This commit is contained in:
parent
57090412cb
commit
29d7fa6525
2 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
, boost
|
||||
, xdg_utils
|
||||
, expat
|
||||
, withGUI ? true
|
||||
, wxGTK
|
||||
, zlib
|
||||
, ruby
|
||||
|
@ -14,6 +15,8 @@
|
|||
, curl
|
||||
}:
|
||||
|
||||
assert withGUI -> wxGTK != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.5.0";
|
||||
name = "mkvtoolnix-${version}";
|
||||
|
@ -25,8 +28,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
libmatroska flac libvorbis file boost xdg_utils
|
||||
expat wxGTK zlib ruby gettext pkgconfig curl
|
||||
];
|
||||
expat zlib ruby gettext pkgconfig curl
|
||||
] ++ stdenv.lib.optional withGUI wxGTK;
|
||||
|
||||
configureFlags = "--with-boost-libdir=${boost.lib}/lib";
|
||||
buildPhase = ''
|
||||
|
|
|
@ -6441,6 +6441,11 @@ let
|
|||
|
||||
mkvtoolnix = callPackage ../applications/video/mkvtoolnix { };
|
||||
|
||||
mkvtoolnix-cli = mkvtoolnix.override {
|
||||
withGUI = false;
|
||||
wxGTK = null;
|
||||
};
|
||||
|
||||
mlt-qt4 = callPackage ../development/libraries/mlt {
|
||||
qt = qt4;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue