ttfautohint-nox: init at 1.7

This is ttfautohint without ttfautohintGUI and dependence on Qt.
This commit is contained in:
Orivej Desh 2017-11-27 01:01:00 +00:00
parent 37056c3724
commit ca5e5708c8
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -4808,6 +4808,7 @@ with pkgs;
ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { };
ttfautohint = libsForQt5.callPackage ../tools/misc/ttfautohint { };
ttfautohint-nox = ttfautohint.override { enableGUI = false; };
tty-clock = callPackage ../tools/misc/tty-clock { };