diff options
Diffstat (limited to 'meta/recipes-graphics/pango/pango.inc')
-rw-r--r-- | meta/recipes-graphics/pango/pango.inc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc new file mode 100644 index 0000000000..fa22fa578e --- /dev/null +++ b/meta/recipes-graphics/pango/pango.inc | |||
@@ -0,0 +1,46 @@ | |||
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." | ||
4 | HOMEPAGE = "http://www.pango.org/" | ||
5 | BUGTRACKER = "http://bugzilla.gnome.org" | ||
6 | SECTION = "x11/libs" | ||
7 | LICENSE = "LGPL" | ||
8 | |||
9 | DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc-native cairo" | ||
10 | |||
11 | PACKAGES_DYNAMIC = "pango-module-*" | ||
12 | |||
13 | RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc" | ||
14 | |||
15 | inherit gnome | ||
16 | |||
17 | EXTRA_AUTORECONF = "" | ||
18 | |||
19 | # seems to go wrong with default cflags | ||
20 | FULL_OPTIMIZATION_arm = "-O2" | ||
21 | |||
22 | EXTRA_OECONF = "--disable-glibtest \ | ||
23 | --enable-explicit-deps=no \ | ||
24 | --disable-debug" | ||
25 | |||
26 | LEAD_SONAME = "libpango-1.0*" | ||
27 | LIBV = "1.6.0" | ||
28 | |||
29 | postinst_prologue() { | ||
30 | if [ "x$D" != "x" ]; then | ||
31 | exit 1 | ||
32 | fi | ||
33 | |||
34 | } | ||
35 | |||
36 | python populate_packages_prepend () { | ||
37 | prologue = bb.data.getVar("postinst_prologue", d, 1) | ||
38 | |||
39 | modules_root = bb.data.expand('${libdir}/pango/${LIBV}/modules', d) | ||
40 | |||
41 | do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules') | ||
42 | } | ||
43 | |||
44 | FILES_${PN} = "/etc ${bindir}/* ${libdir}/libpango*${SOLIBS}" | ||
45 | FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug" | ||
46 | FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la" | ||