blob: 8138ef72c16fc1a298231cd2b473859ac4da37d2 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Framework for layout and rendering of internationalized text"
2DESCRIPTION = "Pango is a library for laying out and rendering of text, \
3with an emphasis on internationalization. Pango can be used anywhere \
4that text layout is needed, though most of the work on Pango so far has \
5been done in the context of the GTK+ widget toolkit. Pango forms the \
6core of text and font handling for GTK+-2.x."
7HOMEPAGE = "http://www.pango.org/"
8BUGTRACKER = "http://bugzilla.gnome.org"
9SECTION = "libs"
10LICENSE = "LGPLv2.0+"
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
13
Brad Bishop19323692019-04-05 15:28:33 -040014GNOMEBASEBUILDCLASS = "meson"
15
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016inherit gnomebase gtk-doc ptest-gnome upstream-version-is-even gobject-introspection
17
Brad Bishop00e122a2019-10-05 11:10:57 -040018SRC_URI += "file://run-ptest \
19 file://0001-Skip-thai-break-tests-without-libthai.patch"
Brad Bishop79641f22019-09-10 07:20:22 -040020SRC_URI[archive.md5sum] = "db0a3243ba33e02aaa775412f8e5f412"
21SRC_URI[archive.sha256sum] = "3e1e41ba838737e200611ff001e3b304c2ca4cdbba63d200a20db0b0ddc0f86c"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022
23DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi"
24
Brad Bishop08902b02019-08-20 09:16:51 -040025PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
26 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -040027
Brad Bishop08902b02019-08-20 09:16:51 -040028PACKAGECONFIG[x11] = ",,virtual/libx11 libxft"
29PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false"
Brad Bishop79641f22019-09-10 07:20:22 -040030PACKAGECONFIG[thai] = ",,libthai"
Brad Bishop08902b02019-08-20 09:16:51 -040031
32GTKDOC_MESON_OPTION = "gtk_doc"
33GIR_MESON_OPTION = 'introspection'
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080034
35LEAD_SONAME = "libpango-1.0*"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080036
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080037FILES_${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080038
Brad Bishopc68388fc2019-08-26 01:33:31 -040039RDEPENDS_${PN}-ptest += "cantarell-fonts"
40RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-en-us"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080041
42RPROVIDES_${PN} += "pango-modules pango-module-indic-lang \
43 pango-module-basic-fc pango-module-arabic-lang"
44
Brad Bishop19323692019-04-05 15:28:33 -040045BBCLASSEXTEND = "native nativesdk"