summaryrefslogtreecommitdiffstats
path: root/meta/packages/pango/pango_1.10.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/pango/pango_1.10.1.bb')
-rw-r--r--meta/packages/pango/pango_1.10.1.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/packages/pango/pango_1.10.1.bb b/meta/packages/pango/pango_1.10.1.bb
new file mode 100644
index 0000000000..869b146d56
--- /dev/null
+++ b/meta/packages/pango/pango_1.10.1.bb
@@ -0,0 +1,49 @@
1LICENSE = "LGPL"
2SECTION = "x11/libs"
3# Xt needed to keep autoconf's check for X11 happy
4DEPENDS = "glib-2.0 fontconfig freetype zlib libx11 libxft libxt gtk-doc cairo"
5DESCRIPTION = "The goal of the Pango project is to provide an \
6Open Source framework for the layout and rendering of \
7internationalized text."
8PR = "r0"
9
10# seems to go wrong with default cflags
11FULL_OPTIMIZATION_arm = "-O2"
12
13SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.8/pango-${PV}.tar.bz2 \
14 file://no-tests.patch;patch=1"
15
16inherit autotools pkgconfig
17
18EXTRA_OECONF = "--disable-glibtest \
19 --enable-explicit-deps=no \
20 --disable-debug"
21
22FILES_${PN} = "/etc ${bindir} ${libdir}/libpango*.so.*"
23
24LIBV = "1.4.0"
25
26do_stage () {
27 for lib in pango pangox pangoft2 pangoxft pangocairo; do
28 oe_libinstall -so -C pango lib$lib-1.0 ${STAGING_LIBDIR}/
29 done
30 install -d ${STAGING_INCDIR}/pango
31 install -m 0644 ${S}/pango/pango*.h ${STAGING_INCDIR}/pango/
32}
33
34postinst_prologue() {
35if [ "x$D" != "x" ]; then
36 exit 1
37fi
38
39}
40
41PACKAGES_DYNAMIC = "pango-module-*"
42
43python populate_packages_prepend () {
44 prologue = bb.data.getVar("postinst_prologue", d, 1)
45
46 modules_root = bb.data.expand('${libdir}/pango/${LIBV}/modules', d)
47
48 do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules')
49}