mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
ttfautohint-nox: init at 1.7
This is ttfautohint without ttfautohintGUI and dependence on Qt.
This commit is contained in:
parent
37056c3724
commit
ca5e5708c8
@ -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;
|
||||
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user