forked from mirrors/nixpkgs
librsvg: Add framework ApplicationServices for darwin
This commit is contained in:
parent
354c91df2e
commit
9f31633a50
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
|
||||
, bzip2, libcroco, libintlOrEmpty
|
||||
, bzip2, libcroco, libintlOrEmpty, darwin
|
||||
, withGTK ? false, gtk3 ? null
|
||||
, gobjectIntrospection ? null, enableIntrospection ? false }:
|
||||
|
||||
|
@ -22,7 +22,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
ApplicationServices
|
||||
]);
|
||||
|
||||
configureFlags = [ "--enable-introspection=auto" ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
|
||||
|
|
Loading…
Reference in a new issue