kwindowsystem: get rid of cmake_auto_align_paths & cmake_lib
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
SUMMARY = "Access to the windowing system"
|
||||
LICENSE = "GPLv2 | LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
|
||||
inherit kde-kf5 cmake_auto_align_paths cmake_lib
|
||||
inherit kde-kf5
|
||||
|
||||
DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "virtual/libx11 qtx11extras libxrender libxfixes libxfixes-native", "", d)}"
|
||||
|
||||
@@ -12,6 +10,11 @@ PV = "${KF5_VERSION}"
|
||||
SRC_URI[md5sum] = "784dd55a5b912d8023f01930867b9848"
|
||||
SRC_URI[sha256sum] = "416e2ba52a8c95a6b161ca306724525c1971723cb12e7d8ad7fa108e0b820f0c"
|
||||
|
||||
CMAKE_ALIGN_SYSROOT[1] = "KF5WindowSystem, -S${includedir}, -s${_IMPORT_PREFIX}/include"
|
||||
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
|
||||
}
|
||||
|
||||
FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}"
|
||||
|
||||
Reference in New Issue
Block a user