From 92d80a5cfaa6730ac7291a295bf0398f36366b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 26 Jan 2020 18:09:14 +0100 Subject: [PATCH] baloo: get rid of cmake_auto_align_paths & cmake_lib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-kde/kf5/tier3/baloo/baloo.bb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/recipes-kde/kf5/tier3/baloo/baloo.bb b/recipes-kde/kf5/tier3/baloo/baloo.bb index 97e77a2d..5a790b41 100644 --- a/recipes-kde/kf5/tier3/baloo/baloo.bb +++ b/recipes-kde/kf5/tier3/baloo/baloo.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = " \ file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ " -inherit kde-kf5 cmake_auto_align_paths cmake_lib gtk-icon-cache +inherit kde-kf5 gtk-icon-cache DEPENDS += " \ ki18n \ @@ -33,13 +33,18 @@ SRC_URI += " \ file://baloo_file.desktop \ " +do_configure_append() { + # remove absolute paths from exported cmake files + for f in `find ${B} -name '*Targets*.cmake'`; do + sed -i 's:${RECIPE_SYSROOT}${prefix}:${_IMPORT_PREFIX}:g' $f + done +} + do_install_append() { install -d ${D}/${sysconfdir}/skel/.config/autostart install -m 0644 ${WORKDIR}/baloo_file.desktop ${D}/${sysconfdir}/skel/.config/autostart/ } -CMAKE_ALIGN_SYSROOT[1] = "KF5Baloo, -S${libdir}, -s${OE_QMAKE_PATH_HOST_LIBS}" - PACKAGES =+ "${PN}-no-autostart" FILES_${PN} += " \