fontforge-gtk: fix darwin build
This commit is contained in:
parent
f8f4da3561
commit
07ca8027d9
@ -3,6 +3,7 @@
|
||||
, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, pango
|
||||
, withGTK ? false, gtk2
|
||||
, withPython ? true
|
||||
, Carbon ? null, Cocoa ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
|
||||
python freetype zlib glib libungif libpng libjpeg libtiff libxml2
|
||||
pango
|
||||
]
|
||||
++ lib.optionals withGTK [ gtk2 ];
|
||||
++ lib.optionals withGTK [ gtk2 ]
|
||||
++ lib.optionals (withGTK && stdenv.isDarwin) [ Carbon Cocoa ];
|
||||
|
||||
configureFlags =
|
||||
lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ]
|
||||
|
@ -1603,6 +1603,7 @@ in
|
||||
fontforge = lowPrio (callPackage ../tools/misc/fontforge { });
|
||||
fontforge-gtk = callPackage ../tools/misc/fontforge {
|
||||
withGTK = true;
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||
};
|
||||
|
||||
fontmatrix = callPackage ../applications/graphics/fontmatrix {};
|
||||
|
Loading…
Reference in New Issue
Block a user