diff options
Diffstat (limited to 'meta/recipes-graphics/pango/pango_1.46.2.bb')
-rw-r--r-- | meta/recipes-graphics/pango/pango_1.46.2.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-graphics/pango/pango_1.46.2.bb b/meta/recipes-graphics/pango/pango_1.46.2.bb new file mode 100644 index 0000000000..c41d1e8a9b --- /dev/null +++ b/meta/recipes-graphics/pango/pango_1.46.2.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Framework for layout and rendering of internationalized text" | ||
2 | DESCRIPTION = "Pango is a library for laying out and rendering of text, \ | ||
3 | with an emphasis on internationalization. Pango can be used anywhere \ | ||
4 | that text layout is needed, though most of the work on Pango so far has \ | ||
5 | been done in the context of the GTK+ widget toolkit. Pango forms the \ | ||
6 | core of text and font handling for GTK+-2.x." | ||
7 | HOMEPAGE = "http://www.pango.org/" | ||
8 | BUGTRACKER = "http://bugzilla.gnome.org" | ||
9 | SECTION = "libs" | ||
10 | LICENSE = "LGPLv2.0+" | ||
11 | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | ||
13 | |||
14 | GNOMEBASEBUILDCLASS = "meson" | ||
15 | |||
16 | inherit gnomebase gtk-doc ptest-gnome upstream-version-is-even gobject-introspection | ||
17 | |||
18 | SRC_URI += " file://run-ptest" | ||
19 | SRC_URI[archive.sha256sum] = "d89fab5f26767261b493279b65cfb9eb0955cd44c07c5628d36094609fc51841" | ||
20 | |||
21 | DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi" | ||
22 | |||
23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | ||
24 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | ||
25 | |||
26 | PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" | ||
27 | PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false" | ||
28 | PACKAGECONFIG[thai] = ",,libthai" | ||
29 | |||
30 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
31 | GIR_MESON_OPTION = 'introspection' | ||
32 | |||
33 | do_configure_prepend_toolchain-clang() { | ||
34 | sed -i -e "/Werror=implicit-fallthrough/d" ${S}/meson.build | ||
35 | } | ||
36 | |||
37 | LEAD_SONAME = "libpango-1.0*" | ||
38 | |||
39 | FILES_${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" | ||
40 | |||
41 | RDEPENDS_${PN}-ptest += "cantarell-fonts" | ||
42 | RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-en-us" | ||
43 | |||
44 | RPROVIDES_${PN} += "pango-modules pango-module-indic-lang \ | ||
45 | pango-module-basic-fc pango-module-arabic-lang" | ||
46 | |||
47 | BBCLASSEXTEND = "native nativesdk" | ||