gnu: harfbuzz: Enable GObject integration.

* gnu/packages/gtk.scm (harfbuzz): Add glib to propagated-inputs.
  [native-inputs]: Add gobject-introspection.
  [arguments]<#:configure-flags>: Add "--with-gobject".
master
宋文武 2015-05-23 10:25:44 +08:00
parent ac462e52a8
commit a30a0455e9
1 changed files with 6 additions and 2 deletions

View File

@ -151,11 +151,15 @@ affine transformation (scale, rotation, shear, etc.)")
`(("cairo" ,cairo) `(("cairo" ,cairo)
("graphite2" ,graphite2) ("graphite2" ,graphite2)
("icu4c" ,icu4c))) ("icu4c" ,icu4c)))
(propagated-inputs
`(("glib" ,glib))) ; required by harfbuzz-gobject.pc
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config)
("python" ,python-2))) ; incompatible with Python 3 (print syntax) ("python" ,python-2))) ; incompatible with Python 3 (print syntax)
(arguments (arguments
`(#:configure-flags `("--with-graphite2=yes"))) `(#:configure-flags `("--with-graphite2"
"--with-gobject")))
(synopsis "OpenType text shaping engine") (synopsis "OpenType text shaping engine")
(description (description
"HarfBuzz is an OpenType text shaping engine.") "HarfBuzz is an OpenType text shaping engine.")