1 DESCRIPTION = "The goal of the Pango project is to provide an \
2 Open Source framework for the layout and rendering of \
3 internationalized text."
11 DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc cairo"
13 DEPENDS_virtclass-native = "glib-2.0-native cairo-native"
14 BBCLASSEXTEND = "native"
16 PACKAGES_DYNAMIC = "pango-module-*"
18 RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc"
19 RRECOMMENDS_${PN}_virtclass-native = ""
24 # seems to go wrong with default cflags
25 FULL_OPTIMIZATION_arm = "-O2"
27 SRC_URI += "file://no-tests.patch \
30 EXTRA_OECONF += "--disable-glibtest \
31 --enable-explicit-deps=no \
34 LEAD_SONAME = "libpango-1.0*"
37 FILES_${PN} = "/etc ${bindir}/* ${libdir}/libpango*.so.*"
38 FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
39 FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
42 if [ "x$D" != "x" ]; then
48 python populate_packages_prepend () {
49 prologue = bb.data.getVar("postinst_prologue", d, 1)
51 modules_root = bb.data.expand('${libdir}/pango/${LIBV}/modules', d)
53 do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules')