Remove += from append and override syntax

Note that this is a simple change that make the syntax more obvious,
even though mistakenly the previous syntax might implied a different
behavior.
This commit is contained in:
Andreas Cord-Landwehr
2022-05-28 13:36:21 +02:00
parent 2eafa7168f
commit f8d25f1f7d
6 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ DEPENDS = "qtbase kconfig-native"
require kconfig_metainfo.inc
inherit cmake_kf5
inherit reuse_license_checksums
EXTRA_OECMAKE:class-native += " -DKCONFIG_USE_GUI=OFF"
EXTRA_OECMAKE:class-native = " -DKCONFIG_USE_GUI=OFF"
FILES:${PN}-dev += " \
${libexecdir}/kf5/kconfig_compiler_kf5 \

View File

@@ -8,12 +8,12 @@
LICENSE = "LGPL-2.0+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL) & BSD-3-Clause"
PR = "r0"
DEPENDS:class-native += " \
DEPENDS:class-native = " \
qtbase \
gettext-native \
extra-cmake-modules-native \
"
DEPENDS:class-target += " \
DEPENDS:class-target = " \
qtdeclarative \
gettext-native \
extra-cmake-modules \
@@ -24,9 +24,9 @@ inherit cmake_kf5
inherit python3native
inherit reuse_license_checksums
EXTRA_OECMAKE:class-native += " -DBUILD_WITH_QTSCRIPT=OFF -DLibIntl_SEARCH_PATH=/usr/include"
EXTRA_OECMAKE:class-native = " -DBUILD_WITH_QTSCRIPT=OFF -DLibIntl_SEARCH_PATH=/usr/include"
RDEPENDS:${PN}:class-target += "iso-codes"
RDEPENDS:${PN}:class-target = " iso-codes"
FILES:${PN}-dbg += " \
${libdir}/plugins/kf5/.debug/ktranscript.so \

View File

@@ -16,8 +16,8 @@ require sonnet_metainfo.inc
inherit cmake_kf5
inherit reuse_license_checksums
EXTRA_OECMAKE:append:class-native += " -DSONNET_USE_WIDGETS=OFF -DSONNET_USE_QML=OFF"
EXTRA_OECMAKE:append:class-target += " -DPARSETRIGRAMS_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/parsetrigrams"
EXTRA_OECMAKE:append:class-native = " -DSONNET_USE_WIDGETS=OFF -DSONNET_USE_QML=OFF"
EXTRA_OECMAKE:append:class-target = " -DPARSETRIGRAMS_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/parsetrigrams"
FILES:${PN} += " \
${datadir}/kf5/sonnet/ \

View File

@@ -19,8 +19,8 @@ inherit cmake_kf5
inherit perlnative
inherit reuse_license_checksums
EXTRA_OECMAKE:class-native += " -DKSYNTAXHIGHLIGHTING_USE_GUI=OFF"
EXTRA_OECMAKE:class-target += " -DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/katehighlightingindexer"
EXTRA_OECMAKE:class-native = " -DKSYNTAXHIGHLIGHTING_USE_GUI=OFF"
EXTRA_OECMAKE:class-target = " -DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/katehighlightingindexer"
sysroot_stage_all:append:class-native () {
mkdir -p ${SYSROOT_DESTDIR}/${bindir}

View File

@@ -14,11 +14,11 @@ require kauth_metainfo.inc
inherit cmake_kf5
inherit reuse_license_checksums
EXTRA_OECMAKE:class-target += " \
EXTRA_OECMAKE:class-target = " \
-DKAUTH_BACKEND_NAME=POLKITQT5-1 \
"
EXTRA_OECMAKE:class-native += " \
EXTRA_OECMAKE:class-native = " \
-DKAUTH_BACKEND_NAME=POLKITQT5-1 \
-DKAUTH_BUILD_CODEGENERATOR_ONLY=ON \
-DKAUTH_POLICY_FILES_INSTALL_DIR=${datadir}/polkit-1/actions \

View File

@@ -25,9 +25,9 @@ inherit python3native
inherit perlnative
inherit reuse_license_checksums
EXTRA_OECMAKE:class-native += " -DINSTALL_INTERNAL_TOOLS=ON"
EXTRA_OECMAKE:class-native = " -DINSTALL_INTERNAL_TOOLS=ON"
EXTRA_OECMAKE:class-target += " \
EXTRA_OECMAKE:class-target = " \
-DMEINPROC5_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/meinproc5 \
-DDOCBOOKL10NHELPER_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/docbookl10nhelper \
-DCHECKXML5_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/checkXML5 \