Move to new override syntax
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PACKAGECONFIG_append = " gui imageformats"
|
||||
PACKAGECONFIG:append = " gui imageformats"
|
||||
|
||||
|
||||
@@ -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)}"
|
||||
|
||||
Reference in New Issue
Block a user