mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
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: 0a449acddca1ba9022c9ffd8af0d9ac5ad2c4e4c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4bcd4050a6a9b6b1cb8e68b2053523cc0501814)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
343951ee61
commit
9fdf3e22dd
@@ -38,13 +38,15 @@ PACKAGECONFIG[thai] = ",,libthai"
|
|||||||
GIR_MESON_OPTION = 'introspection'
|
GIR_MESON_OPTION = 'introspection'
|
||||||
|
|
||||||
do_configure:prepend() {
|
do_configure:prepend() {
|
||||||
chmod +x ${S}/tests/*.py
|
chmod +x ${S}/tests/*.py
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://gitlab.gnome.org/GNOME/pango/-/issues/713
|
# https://gitlab.gnome.org/GNOME/pango/-/issues/713
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
mkdir -p ${D}/${libexecdir}/installed-tests/pango/nofonts/
|
if [ "${@bb.utils.filter('PACKAGECONFIG', 'tests', d)}" ]; then
|
||||||
install ${S}/tests/nofonts/fonts.conf ${D}/${libexecdir}/installed-tests/pango/nofonts/
|
mkdir -p ${D}${libexecdir}/installed-tests/pango/nofonts
|
||||||
|
install ${S}/tests/nofonts/fonts.conf ${D}${libexecdir}/installed-tests/pango/nofonts
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
LEAD_SONAME = "libpango-1.0*"
|
LEAD_SONAME = "libpango-1.0*"
|
||||||
|
|||||||
Reference in New Issue
Block a user