Move to new override syntax

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2021-08-16 00:25:06 +02:00
parent 88a5ceec31
commit 42a6ec9399
130 changed files with 321 additions and 321 deletions

View File

@@ -4,7 +4,7 @@
inherit binconfig
PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
PACKAGECONFIG[opengl] = ",,libglu"
do_patch[postfuncs] += "do_patch_nocross"
@@ -13,7 +13,7 @@ do_patch_nocross() {
sed -i 's:@cross_compiling@:no:g' ${S}/wx-config.in
}
do_compile_append() {
do_compile:append() {
if [ -L ${B}/wx-config ]; then
echo "wxwidget recipe is not yet updated to wx-config adjustments so we do"
# ${B}/wx-config is a symlink for build and not needed after compile

View File

@@ -1,11 +1,11 @@
BBCLASSEXTEND = "native"
DEPENDS_class-native = "qtbase-native sip3-native python3-native"
DEPENDS:class-native = "qtbase-native sip3-native python3-native"
PYQT_MODULES_class-native = "QtCore"
PYQT_MODULES:class-native = "QtCore"
# This is a copy from meta-qt5 adjusted to native staging
do_configure_prepend_class-native() {
do_configure:prepend:class-native() {
cd ${S}
echo "py_platform = linux" > pyqt.cfg
echo "py_inc_dir = %(sysroot)/$includedir/python%(py_major).%(py_minor)${PYTHON_ABI}" >> pyqt.cfg
@@ -28,10 +28,10 @@ do_configure_prepend_class-native() {
return 0
}
CFLAGS_append_class-native = " -I${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
CXXFLAGS_append_class-native = " -I${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
CFLAGS:append:class-native = " -I${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
CXXFLAGS:append:class-native = " -I${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
do_install_class-native() {
do_install:class-native() {
cd ${S}
oe_runmake MAKEFLAGS='-j 1' install
@@ -42,5 +42,5 @@ do_install_class-native() {
done
}
RDEPENDS_${PN}_class-native = ""
RDEPENDS:${PN}:class-native = ""

View File

@@ -1,2 +1,2 @@
PACKAGECONFIG_append = " gui imageformats"
PACKAGECONFIG:append = " gui imageformats"

View File

@@ -1,2 +1,2 @@
# yeah I know yocto does not want us to change this
PACKAGECONFIG_append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"
PACKAGECONFIG:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"