diff options
Diffstat (limited to 'packages/pango')
-rw-r--r-- | packages/pango/pango_1.8.0.bb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/pango/pango_1.8.0.bb b/packages/pango/pango_1.8.0.bb index 3a81953256..081dd7d158 100644 --- a/packages/pango/pango_1.8.0.bb +++ b/packages/pango/pango_1.8.0.bb @@ -5,7 +5,7 @@ DEPENDS = "glib-2.0 fontconfig freetype zlib x11 libxft xt gtk-doc" DESCRIPTION = "The goal of the Pango project is to provide an \ Open Source framework for the layout and rendering of \ internationalized text." -PR = "r1" +PR = "r2" # seems to go wrong with default cflags FULL_OPTIMIZATION_arm = "-O2" @@ -31,8 +31,17 @@ do_stage () { install -m 0644 ${S}/pango/pango*.h ${STAGING_INCDIR}/pango/ } +postinst_prologue() { +if [ "x$D" != "x" ]; then + exit 1 +fi + +} + python populate_packages_prepend () { + prologue = bb.data.getVar("postinst_prologue", d, 1) + modules_root = bb.data.expand('${libdir}/pango/${LIBV}/modules', d) - do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', 'pango-querymodules > /etc/pango/pango.modules') + do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules') } |