DESCRIPTION = "SDK version of Qt/[X11|Mac|Embedded]" DEPENDS = "nativesdk-zlib nativesdk-dbus qtbase-native" SECTION = "libs" HOMEPAGE = "http://qt-project.org" QT_MODULE = "qtbase" require nativesdk-qt5.inc # common with -native and target version SRC_URI += "\ file://0001-Add-linux-oe-g-platform.patch \ file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ file://0003-Add-external-hostbindir-option.patch \ file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ file://0005-qt_module-Fix-pkgconfig-replacement.patch \ file://0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch \ file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \ file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \ file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \ " # common with -native SRC_URI += " \ file://0010-Always-build-uic.patch \ " # specific for nativesdk version SRC_URI += " \ file://0011-configure-preserve-built-qmake-and-swap-with-native-.patch \ file://0012-configure-bump-path-length-from-256-to-512-character.patch \ " PACKAGES = "${PN}-tools-dbg ${PN}-tools" PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" FILES_${PN}-tools-dbg = " \ ${OE_QMAKE_PATH_BINS}/.debug \ " FILES_${PN}-tools = " \ ${OE_QMAKE_PATH_BINS}/* \ " QT_CONFIG_FLAGS += " \ -reduce-relocations \ -shared \ -silent \ -no-pch \ -no-rpath \ -pkg-config \ ${EXTRA_OECONF} \ " # qtbase is exception, as these are used as install path for sysroots OE_QMAKE_PATH_HOST_DATA = "${libdir}/${QT_DIR_NAME}" OE_QMAKE_PATH_HOST_LIBS = "${libdir}" do_generate_qt_config_file() { cat > ${QT_CONF_PATH} <> ${QT_CONF_PATH} <