mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
pango: use ptest-gnome
Instead of hand-coding the ptest integration, use the ptest-gnome class. (From OE-Core rev: 70674d4ee2a24971d1bab048906fa8d0d2ba2e75) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
43b29d9d07
commit
c19036abc0
@@ -12,16 +12,13 @@ LICENSE = "LGPLv2.0+"
|
|||||||
X11DEPENDS = "virtual/libx11 libxft"
|
X11DEPENDS = "virtual/libx11 libxft"
|
||||||
DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv cairo harfbuzz qemu-native"
|
DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv cairo harfbuzz qemu-native"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
|
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'ptest', '', d)}"
|
|
||||||
|
|
||||||
PACKAGECONFIG[x11] = "--with-xft,--without-xft,${X11DEPENDS}"
|
PACKAGECONFIG[x11] = "--with-xft,--without-xft,${X11DEPENDS}"
|
||||||
PACKAGECONFIG[ptest] = "--enable-installed-tests,--disable-installed-tests,glib-2.0-native"
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
DEPENDS_class-native = "glib-2.0-native cairo-native harfbuzz-native"
|
DEPENDS_class-native = "glib-2.0-native cairo-native harfbuzz-native"
|
||||||
|
|
||||||
inherit gnomebase gtk-doc qemu ptest
|
inherit gnomebase gtk-doc qemu ptest-gnome
|
||||||
|
|
||||||
EXTRA_AUTORECONF = ""
|
EXTRA_AUTORECONF = ""
|
||||||
|
|
||||||
@@ -46,11 +43,7 @@ FILES_${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}"
|
|||||||
FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
|
FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
|
||||||
FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
|
FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
|
||||||
|
|
||||||
FILES_${PN}-ptest += "${libexecdir}/installed-tests/* \
|
RDEPENDS_${PN}-ptest += "liberation-fonts"
|
||||||
${datadir}/installed-tests/pango"
|
|
||||||
FILES_${PN}-dbg += "${libexecdir}/installed-tests/.debug"
|
|
||||||
|
|
||||||
RDEPENDS_${PN}-ptest += "gnome-desktop-testing liberation-fonts"
|
|
||||||
|
|
||||||
RPROVIDES_${PN} += "pango-modules pango-module-indic-lang \
|
RPROVIDES_${PN} += "pango-modules pango-module-indic-lang \
|
||||||
pango-module-basic-fc pango-module-arabic-lang"
|
pango-module-basic-fc pango-module-arabic-lang"
|
||||||
|
|||||||
Reference in New Issue
Block a user