poppler: fix gobject introspection

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This commit is contained in:
Alexander Kanavin
2016-02-22 19:38:31 +02:00
committed by Martin Jansa
parent c259f032fe
commit 9afa64e6d2

View File

@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "b89f9c5eae3bbb1046b0f767714afd75eca102a0406a3a30856778d42a
DEPENDS = "fontconfig zlib cairo lcms"
inherit autotools pkgconfig gtk-doc
inherit autotools pkgconfig gtk-doc gobject-introspection
PACKAGECONFIG ??= "jpeg openjpeg png tiff ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt5-layer', 'qt5', '', d)}"
PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg"
@@ -28,6 +28,10 @@ EXTRA_OECONF = "\
--enable-zlib \
"
do_compile_prepend() {
export GIR_EXTRA_LIBS_PATH="${B}/poppler/.libs"
}
# Adjust library names when building for QT4e
QT4E_PATCHES = "${@bb.utils.contains('PACKAGECONFIG', 'qt4e', 'file://fix-qt4e-library-dependencies.patch', '', d)}"
SRC_URI_append = "${QT4E_PATCHES}"