diff options
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r-- | meta/recipes-graphics/pango/pango-1.28.0/no-tests.patch | 12 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango.inc | 46 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango_1.28.0.bb | 9 |
3 files changed, 67 insertions, 0 deletions
diff --git a/meta/recipes-graphics/pango/pango-1.28.0/no-tests.patch b/meta/recipes-graphics/pango/pango-1.28.0/no-tests.patch new file mode 100644 index 0000000000..4a74d8c4d6 --- /dev/null +++ b/meta/recipes-graphics/pango/pango-1.28.0/no-tests.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: pango-1.22.2/Makefile.am | ||
2 | =================================================================== | ||
3 | --- pango-1.22.2.orig/Makefile.am | ||
4 | +++ pango-1.22.2/Makefile.am | ||
5 | @@ -1,6 +1,6 @@ | ||
6 | ## Process this file with automake to create Makefile.in. | ||
7 | |||
8 | -SUBDIRS= pango modules pango-view examples docs tools tests | ||
9 | +SUBDIRS= pango modules pango-view examples docs tools | ||
10 | |||
11 | EXTRA_DIST = \ | ||
12 | autogen.sh \ | ||
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" | ||
diff --git a/meta/recipes-graphics/pango/pango_1.28.0.bb b/meta/recipes-graphics/pango/pango_1.28.0.bb new file mode 100644 index 0000000000..ae914ffc53 --- /dev/null +++ b/meta/recipes-graphics/pango/pango_1.28.0.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require pango.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | ||
4 | |||
5 | PR = "r0" | ||
6 | |||
7 | SRC_URI += "file://no-tests.patch" | ||
8 | |||
9 | PARALLEL_MAKE = "" | ||