mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-08-29 07:21:58 +02:00
kcolorscheme, kiconthemes: add a hack to fix cmake build
This commit is contained in:
@@ -19,4 +19,19 @@ DEPENDS = " \
|
|||||||
|
|
||||||
inherit qt6-cmake gettext pkgconfig
|
inherit qt6-cmake gettext pkgconfig
|
||||||
|
|
||||||
|
do_configure:prepend() {
|
||||||
|
# Those files are provided by 'kconfig' package but dont make it into STAGING_SYSROOT
|
||||||
|
#| The imported target "KF6::kconfig_compiler" references the file
|
||||||
|
#|
|
||||||
|
#| "../6.17.0/recipe-sysroot/usr/libexec/kf6/kconfig_compiler_kf6"
|
||||||
|
#|
|
||||||
|
#| but this file does not exist.
|
||||||
|
# add a hack to avoid cmake confusion:
|
||||||
|
mkdir -p ${STAGING_LIBEXECDIR}/kf6
|
||||||
|
touch ${STAGING_LIBEXECDIR}/kf6/kconf_update
|
||||||
|
touch ${STAGING_LIBEXECDIR}/kf6/kconfig_compiler_kf6
|
||||||
|
}
|
||||||
|
|
||||||
FILES:${PN} += "${libdir}/qml ${datadir}/qlogging-categories6"
|
FILES:${PN} += "${libdir}/qml ${datadir}/qlogging-categories6"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} += "kconfig"
|
||||||
|
@@ -22,4 +22,19 @@ DEPENDS = " \
|
|||||||
|
|
||||||
inherit qt6-cmake gettext pkgconfig
|
inherit qt6-cmake gettext pkgconfig
|
||||||
|
|
||||||
|
do_configure:prepend() {
|
||||||
|
# Those files are provided by 'kconfig' package but dont make it into STAGING_SYSROOT
|
||||||
|
#| The imported target "KF6::kconfig_compiler" references the file
|
||||||
|
#|
|
||||||
|
#| "../6.17.0/recipe-sysroot/usr/libexec/kf6/kconfig_compiler_kf6"
|
||||||
|
#|
|
||||||
|
#| but this file does not exist.
|
||||||
|
# add a hack to avoid cmake confusion:
|
||||||
|
mkdir -p ${STAGING_LIBEXECDIR}/kf6
|
||||||
|
touch ${STAGING_LIBEXECDIR}/kf6/kconf_update
|
||||||
|
touch ${STAGING_LIBEXECDIR}/kf6/kconfig_compiler_kf6
|
||||||
|
}
|
||||||
|
|
||||||
FILES:${PN} += "${libdir}/qml ${libdir}/plugins/kiconthemes6 ${datadir}/qlogging-categories6"
|
FILES:${PN} += "${libdir}/qml ${libdir}/plugins/kiconthemes6 ${datadir}/qlogging-categories6"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} += "kconfig"
|
||||||
|
Reference in New Issue
Block a user