summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-11-10 03:01:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-10 14:31:35 +0000
commit7763bd0d2f2c668208dc196d0060eff7fc046959 (patch)
tree5a8ef8cb116ac760cd2c3702ac45470f70e9b02c
parentb29c66484a9e0532e9e11e1c21be6c3e7eefae8c (diff)
downloadpoky-7763bd0d2f2c668208dc196d0060eff7fc046959.tar.gz
pango: Make it build with ptest disabled
This avoids the following error: ERROR: pango-1.50.11-r0 do_package: QA Issue: pango: Files/directories were installed but not shipped in any package: /usr/libexec /usr/libexec/installed-tests /usr/libexec/installed-tests/pango /usr/libexec/installed-tests/pango/nofonts /usr/libexec/installed-tests/pango/nofonts/fonts.conf Also use tabs for indentation of shell code. (From OE-Core rev: d4bcd4050a6a9b6b1cb8e68b2053523cc0501814) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/pango/pango_1.50.11.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-graphics/pango/pango_1.50.11.bb b/meta/recipes-graphics/pango/pango_1.50.11.bb
index f545689811..f982d9a65b 100644
--- a/meta/recipes-graphics/pango/pango_1.50.11.bb
+++ b/meta/recipes-graphics/pango/pango_1.50.11.bb
@@ -38,13 +38,15 @@ PACKAGECONFIG[thai] = ",,libthai"
38GIR_MESON_OPTION = 'introspection' 38GIR_MESON_OPTION = 'introspection'
39 39
40do_configure:prepend() { 40do_configure:prepend() {
41 chmod +x ${S}/tests/*.py 41 chmod +x ${S}/tests/*.py
42} 42}
43 43
44# https://gitlab.gnome.org/GNOME/pango/-/issues/713 44# https://gitlab.gnome.org/GNOME/pango/-/issues/713
45do_install:append() { 45do_install:append() {
46 mkdir -p ${D}/${libexecdir}/installed-tests/pango/nofonts/ 46 if [ "${@bb.utils.filter('PACKAGECONFIG', 'tests', d)}" ]; then
47 install ${S}/tests/nofonts/fonts.conf ${D}/${libexecdir}/installed-tests/pango/nofonts/ 47 mkdir -p ${D}${libexecdir}/installed-tests/pango/nofonts
48 install ${S}/tests/nofonts/fonts.conf ${D}${libexecdir}/installed-tests/pango/nofonts
49 fi
48} 50}
49 51
50LEAD_SONAME = "libpango-1.0*" 52LEAD_SONAME = "libpango-1.0*"