harfbuzz: enable support for gobject-introspection
This commit is contained in:
parent
4538cb330d
commit
847fc1c80d
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, libintl
|
{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, libintl
|
||||||
|
, gobject-introspection
|
||||||
, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one.
|
, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one.
|
||||||
, ApplicationServices, CoreText
|
, ApplicationServices, CoreText
|
||||||
, withCoreText ? false
|
, withCoreText ? false
|
||||||
@ -36,10 +37,16 @@ stdenv.mkDerivation {
|
|||||||
# not auto-detected by default
|
# not auto-detected by default
|
||||||
"--with-graphite2=${if withGraphite2 then "yes" else "no"}"
|
"--with-graphite2=${if withGraphite2 then "yes" else "no"}"
|
||||||
"--with-icu=${if withIcu 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";
|
++ stdenv.lib.optional withCoreText "--with-coretext=yes";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig libintl ];
|
nativeBuildInputs = [
|
||||||
|
gobject-introspection
|
||||||
|
libintl
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ glib freetype cairo ] # recommended by upstream
|
buildInputs = [ glib freetype cairo ] # recommended by upstream
|
||||||
++ stdenv.lib.optionals withCoreText [ ApplicationServices CoreText ];
|
++ stdenv.lib.optionals withCoreText [ ApplicationServices CoreText ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user