mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
pango: Add darwin frameworks for fond rendering
This commit is contained in:
parent
bbdca635cf
commit
354c91df2e
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libXft, cairo, harfbuzz
|
||||
, libintlOrEmpty, gobjectIntrospection
|
||||
, libintlOrEmpty, gobjectIntrospection, darwin
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
@ -19,7 +19,12 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "bin" "dev" "out" "devdoc" ];
|
||||
|
||||
buildInputs = [ gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
Carbon
|
||||
CoreGraphics
|
||||
CoreText
|
||||
]);
|
||||
propagatedBuildInputs = [ cairo harfbuzz libXft ] ++ libintlOrEmpty;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -48,6 +53,6 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.lgpl2Plus;
|
||||
|
||||
maintainers = with maintainers; [ raskin urkud ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue