Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 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 = "LGPL-2.0-or-later" |
| 11 | |
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" |
| 13 | |
| 14 | GNOMEBASEBUILDCLASS = "meson" |
| 15 | |
| 16 | inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even gobject-introspection |
| 17 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 18 | UPSTREAM_CHECK_REGEX = "pango-(?P<pver>\d+\.(?!9\d+)\d+\.\d+)" |
| 19 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 20 | GIR_MESON_ENABLE_FLAG = "enabled" |
| 21 | GIR_MESON_DISABLE_FLAG = "disabled" |
| 22 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 23 | SRC_URI += "file://run-ptest \ |
| 24 | file://0001-Skip-running-test-layout-test.patch \ |
| 25 | " |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 26 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 27 | SRC_URI[archive.sha256sum] = "0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 28 | |
| 29 | DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi" |
| 30 | |
| 31 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ |
| 32 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
| 33 | |
| 34 | PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" |
| 35 | PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false" |
| 36 | PACKAGECONFIG[thai] = ",,libthai" |
| 37 | |
| 38 | GIR_MESON_OPTION = 'introspection' |
| 39 | |
| 40 | do_configure:prepend() { |
| 41 | chmod +x ${S}/tests/*.py |
| 42 | } |
| 43 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 44 | LEAD_SONAME = "libpango-1.0*" |
| 45 | |
| 46 | FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" |
| 47 | |
| 48 | RDEPENDS:${PN}-ptest += "cantarell-fonts" |
| 49 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us" |
| 50 | |
| 51 | RPROVIDES:${PN} += "pango-modules pango-module-indic-lang \ |
| 52 | pango-module-basic-fc pango-module-arabic-lang" |
| 53 | |
| 54 | BBCLASSEXTEND = "native nativesdk" |