Warning, /packaging/yocto-meta-kf5/recipes-kf5/obsolete/kdesignerplugin.inc is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2019-2020 Volker Krause <vkrause@kde.org> 0002 # 0003 # SPDX-License-Identifier: MIT 0004 0005 LICENSE = "LGPL-2.1-only" 0006 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" 0007 PR = "r0" 0008 0009 DEPENDS = " \ 0010 qtbase \ 0011 kcoreaddons \ 0012 kconfig \ 0013 kdesignerplugin-native \ 0014 " 0015 RDEPENDS:${PN}:class-native += " \ 0016 kconfig \ 0017 kcoreaddons \ 0018 " 0019 0020 require kdesignerplugin_metainfo.inc 0021 inherit cmake_kf5 0022 0023 FILES:${PN}-dev += " \ 0024 ${datadir}/kf5/widgets/pics/*.png \ 0025 " 0026 0027 do_install:append:class-target() { 0028 if [ "0" -ne $(find . -name \*.cmake | grep '_usr\|Export' | grep 'noconfig' | wc -l) ]; then 0029 sed -i 's#'\$\{_IMPORT_PREFIX\}'#\$\{OE_KF5_PATH_HOST_ROOT\}/usr/#g' $(find . -name "*.cmake" | grep '_usr\|Export' | grep 'noconfig' ) 0030 fi 0031 } 0032 0033 0034 sysroot_stage_all:append:class-target () { 0035 mkdir -p ${SYSROOT_DESTDIR}${bindir} 0036 cp ${STAGING_BINDIR_NATIVE}/kgendesignerplugin ${SYSROOT_DESTDIR}/${bindir} 0037 } 0038 0039 FILES:${PN}-dev += " \ 0040 ${bindir}/kgendesignerplugin \ 0041 "