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 = [ buildInputs = [
git autoconf automake gnum4 libtool perl pkgconfig gettext uthash git autoconf automake gnum4 libtool perl pkgconfig gettext uthash
python freetype zlib glib libungif libpng libjpeg libtiff libxml2 python freetype zlib glib libungif libpng libjpeg libtiff libxml2
pango
] ]
++ lib.optionals withGTK [ gtk2 ] ++ lib.optionals withGTK [ gtk2 ];
# I'm not sure why pango doesn't seem necessary on Linux
++ lib.optionals stdenv.isDarwin [ pango ];
configureFlags = configureFlags =
lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ] lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ]