3
0
Fork 0
forked from mirrors/nixpkgs

fontforge: needs pango on Linux, too

This commit is contained in:
Yuri Albuquerque 2015-12-27 00:02:09 -04:00
parent 37d0947e0c
commit 5cfeedc914

View file

@ -29,10 +29,9 @@ stdenv.mkDerivation {
buildInputs = [
git autoconf automake gnum4 libtool perl pkgconfig gettext uthash
python freetype zlib glib libungif libpng libjpeg libtiff libxml2
pango
]
++ lib.optionals withGTK [ gtk2 ]
# I'm not sure why pango doesn't seem necessary on Linux
++ lib.optionals stdenv.isDarwin [ pango ];
++ lib.optionals withGTK [ gtk2 ];
configureFlags =
lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ]