mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
libmatroska: Fix Darwin build
This commit is contained in:
parent
0b853b767a
commit
af2d875865
@ -9,12 +9,16 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = "cd make/linux";
|
configurePhase = "cd make/linux";
|
||||||
makeFlags = "prefix=$(out) LIBEBML_INCLUDE_DIR=${libebml}/include LIBEBML_LIB_DIR=${libebml}/lib";
|
makeFlags = "prefix=$(out) LIBEBML_INCLUDE_DIR=${libebml}/include LIBEBML_LIB_DIR=${libebml}/lib"
|
||||||
|
+ stdenv.lib.optionalString stdenv.isDarwin " CXX=clang++";
|
||||||
propagatedBuildInputs = [ libebml ];
|
propagatedBuildInputs = [ libebml ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Matroska library";
|
description = "A library to parse Matroska files";
|
||||||
homepage = http://dl.matroska.org/downloads/libmatroska;
|
homepage = http://matroska.org/;
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
maintainers = [ maintainers.spwhitt ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user