pangomm: Add ApplicationServices on darwin

This commit is contained in:
Johannes Bornhold 2017-01-14 20:08:40 +01:00
parent 2fe19b18e8
commit 4b9349698a
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm }:
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm
, ApplicationServices }:
let
ver_maj = "2.40";
@ -14,7 +15,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin [
ApplicationServices
];
propagatedBuildInputs = [ pango glibmm cairomm ];
doCheck = true;

View File

@ -7492,7 +7492,9 @@ in
cairomm = callPackage ../development/libraries/cairomm { };
pango = callPackage ../development/libraries/pango { };
pangomm = callPackage ../development/libraries/pangomm { };
pangomm = callPackage ../development/libraries/pangomm {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
};
pangox_compat = callPackage ../development/libraries/pangox-compat { };