Convert missing override syntax changes

This commit is contained in:
Hannah Kiekens
2022-01-29 13:26:34 +01:00
parent 96fcf9ee06
commit 7ea59f18dd
10 changed files with 13 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ DEPENDS += " \
kpackage-native \
"
do_configure_prepend() {
do_configure:prepend() {
# kpackagetool5 needs to find installed service type files
export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS
}

View File

@@ -20,7 +20,7 @@ DEPENDS += " \
kpackage-native \
"
do_configure_prepend() {
do_configure:prepend() {
# kpackagetool5 needs to find installed service type files
export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS
}

View File

@@ -26,7 +26,7 @@ DEPENDS += " \
"
# dirty hack to force the mobile version and hide the desktop one
do_install_append() {
do_install:append() {
sed -i 's/Exec=okular %U$/Exec=okularkirigami %U/g' ${D}${datadir}/applications/org.kde.okular.desktop
}

View File

@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
# SPDX-License-Identifier: MIT
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
SRC_URI += " \
file://0001-Consider-pkgconfig-sysroot-for-pkgdatadir.patch \
"

View File

@@ -28,13 +28,13 @@ DEPENDS = " \
wayland-native \
"
SRC_URI_append = " \
SRC_URI:append = " \
file://kde.pam \
"
inherit cmake_plasma
do_install_append() {
do_install:append() {
install -d ${D}${sysconfdir}/pam.d
install -m 0644 ${WORKDIR}/kde.pam ${D}${sysconfdir}/pam.d/kde
}

View File

@@ -44,13 +44,13 @@ DEPENDS = " \
libinput \
"
SRC_URI_append = " \
SRC_URI:append = " \
file://kwinrc \
"
inherit cmake_plasma kdoctools
do_install_append() {
do_install:append() {
# dirty workaround for aurora crash on Wayland
rm -rf ${D}/${libdir}/plugins/org.kde.kdecoration2/

View File

@@ -41,7 +41,7 @@ EXTRA_OECMAKE:class-native += "-DINSTALL_UTILS=ON -DDISABLE_DATA_GENERATION=ON"
# workaround for generator that can be executed only once:
# https://github.com/libpinyin/libpinyin/issues/128
do_install_prepend() {
do_install:prepend() {
rm -f ${WORKDIR}/build/data/*.bin
rm -f ${WORKDIR}/build/data/*.db
}

View File

@@ -2,5 +2,5 @@
#
# SPDX-License-Identifier: MIT
PACKAGECONFIG_append = " qt5"
PACKAGECONFIG:append = " qt5"
inherit cmake_qt5

View File

@@ -15,7 +15,7 @@ S = "${WORKDIR}/git"
inherit cmake_qt5
do_install_prepend() {
do_install:prepend() {
if [ "0" -ne $(find . -name \*.cmake | grep _usr | wc -l) ]; then
sed -i 's/\"\/usr\//\"\$\{OE_QCA_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
sed -i 's/\;\/usr\//\;\$\{OE_QCA_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)

View File

@@ -44,12 +44,12 @@ EXTRA_OECMAKE += " \
-DSYSTEMD_SYSTEM_UNIT_DIR=${systemd_unitdir}/system \
"
do_configure_append() {
do_configure:append() {
# fix sysroot path
sed -i 's:${STAGING_DIR_HOST}.*${libdir}:${libdir}:g' ${B}/src/common/Constants.h
}
do_install_append() {
do_install:append() {
install -d ${D}/${sysconfdir}/sddm.conf.d
install -m 644 ${WORKDIR}/sddm.conf ${D}/${sysconfdir}/sddm.conf.d/00-default.conf