diff options
author | (cdep)illabout <cdep.illabout@gmail.com> | 2020-07-25 14:36:50 +0900 |
---|---|---|
committer | (cdep)illabout <cdep.illabout@gmail.com> | 2020-07-25 16:47:14 +0900 |
commit | 847fc1c80d0cf07f8cfd5c267e8bdf404ac64e03 (patch) | |
tree | d8c7f7ce577de8996d0010a7c0ec4196863d52e4 /pkgs/development/libraries/harfbuzz | |
parent | 4538cb330d972956d42f30c834e306812e2848b2 (diff) |
harfbuzz: enable support for gobject-introspection
Diffstat (limited to 'pkgs/development/libraries/harfbuzz')
-rw-r--r-- | pkgs/development/libraries/harfbuzz/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 823c123d52adc..d27021280a331 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -1,4 +1,5 @@ { stdenv, fetchurl, pkgconfig, glib, freetype, cairo, libintl +, gobject-introspection , icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one. , ApplicationServices, CoreText , withCoreText ? false @@ -36,10 +37,16 @@ stdenv.mkDerivation { # not auto-detected by default "--with-graphite2=${if withGraphite2 then "yes" else "no"}" "--with-icu=${if withIcu then "yes" else "no"}" + "--with-gobject=yes" + "--enable-introspection=yes" ] ++ stdenv.lib.optional withCoreText "--with-coretext=yes"; - nativeBuildInputs = [ pkgconfig libintl ]; + nativeBuildInputs = [ + gobject-introspection + libintl + pkgconfig + ]; buildInputs = [ glib freetype cairo ] # recommended by upstream ++ stdenv.lib.optionals withCoreText [ ApplicationServices CoreText ]; |