iyzsong pushed a commit to branch gtk-rebuild
in repository guix.
commit a30a0455e9717175b1ce09f58b7e6ae5798fd645
Author: 宋文武 <[email protected]>
Date: Sat May 23 10:25:44 2015 +0800
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".
---
gnu/packages/gtk.scm | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3f3f16a..590048e 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -151,11 +151,15 @@ affine transformation (scale, rotation, shear, etc.)")
`(("cairo" ,cairo)
("graphite2" ,graphite2)
("icu4c" ,icu4c)))
+ (propagated-inputs
+ `(("glib" ,glib))) ; required by harfbuzz-gobject.pc
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)
("python" ,python-2))) ; incompatible with Python 3 (print syntax)
(arguments
- `(#:configure-flags `("--with-graphite2=yes")))
+ `(#:configure-flags `("--with-graphite2"
+ "--with-gobject")))
(synopsis "OpenType text shaping engine")
(description
"HarfBuzz is an OpenType text shaping engine.")