summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/pango/pango.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/pango/pango.inc')
-rw-r--r--meta/recipes-graphics/pango/pango.inc46
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 @@
1DESCRIPTION = "The goal of the Pango project is to provide an \
2Open Source framework for the layout and rendering of \
3internationalized text."
4HOMEPAGE = "http://www.pango.org/"
5BUGTRACKER = "http://bugzilla.gnome.org"
6SECTION = "x11/libs"
7LICENSE = "LGPL"
8
9DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc-native cairo"
10
11PACKAGES_DYNAMIC = "pango-module-*"
12
13RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc"
14
15inherit gnome
16
17EXTRA_AUTORECONF = ""
18
19# seems to go wrong with default cflags
20FULL_OPTIMIZATION_arm = "-O2"
21
22EXTRA_OECONF = "--disable-glibtest \
23 --enable-explicit-deps=no \
24 --disable-debug"
25
26LEAD_SONAME = "libpango-1.0*"
27LIBV = "1.6.0"
28
29postinst_prologue() {
30if [ "x$D" != "x" ]; then
31 exit 1
32fi
33
34}
35
36python 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
44FILES_${PN} = "/etc ${bindir}/* ${libdir}/libpango*${SOLIBS}"
45FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
46FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"