diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-27 01:01:00 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-27 01:01:00 +0000 |
commit | ca5e5708c82ac03f92257b9c04a5c8643f091aa0 (patch) | |
tree | 3cc73014bbb0cf992f15a9e063b6bd094747ac60 /pkgs/tools/misc/ttfautohint | |
parent | 37056c3724aaf1602bfff9cf138c65b2cb657263 (diff) |
ttfautohint-nox: init at 1.7
This is ttfautohint without ttfautohintGUI and dependence on Qt.
Diffstat (limited to 'pkgs/tools/misc/ttfautohint')
-rw-r--r-- | pkgs/tools/misc/ttfautohint/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/misc/ttfautohint/default.nix b/pkgs/tools/misc/ttfautohint/default.nix index 70320e9dbab84..5dcaea3ec1eae 100644 --- a/pkgs/tools/misc/ttfautohint/default.nix +++ b/pkgs/tools/misc/ttfautohint/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, freetype, harfbuzz, qtbase }: +{ stdenv, lib, fetchurl, pkgconfig, freetype, harfbuzz, libiconv, qtbase, enableGUI ? true }: stdenv.mkDerivation rec { version = "1.7"; @@ -15,7 +15,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ freetype harfbuzz qtbase ]; + buildInputs = [ freetype harfbuzz libiconv ] ++ lib.optional enableGUI qtbase; + + configureFlags = lib.optional (!enableGUI) "--with-qt=no"; enableParallelBuilding = true; |