Warning, /packaging/yocto-meta-kde/classes/cmake_plasma.bbclass is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2018-2019 Volker Krause <vkrause@kde.org> 0002 # SPDX-FileCopyrightText: 2018 Alistair Francis <alistair.francis@wdc.com> 0003 # 0004 # SPDX-License-Identifier: MIT 0005 0006 inherit cmake_qt5 0007 inherit ki18n 0008 inherit kcoreaddons 0009 inherit kconfig 0010 inherit kauth 0011 inherit kcmutils 0012 inherit kdoctools 0013 inherit pkgconfig 0014 0015 EXTRA_OECMAKE:append = " \ 0016 -DBUILD_TESTING=OFF \ 0017 -DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST} \ 0018 " 0019 0020 DEPENDS:append = " \ 0021 extra-cmake-modules \ 0022 qtbase \ 0023 kpackage-native \ 0024 " 0025 0026 do_configure:prepend() { 0027 # kpackagetool5 needs to find installed service type files 0028 export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS 0029 } 0030 0031 FILES:${PN}:append = " \ 0032 ${libdir}/libkdeinit5_*.so \ 0033 ${libdir}/kconf_update_bin/* \ 0034 ${libdir}/plugins/*.so \ 0035 ${libdir}/plugins/*/*.so \ 0036 ${libdir}/plugins/*/*/*.so \ 0037 ${libdir}/plugins/plasma/kcms/*/*.so \ 0038 ${libdir}/systemd/user \ 0039 ${datadir}/config.kcfg/*.kcfg \ 0040 ${datadir}/dbus-1/services/*.service \ 0041 ${datadir}/dbus-1/system-services/*.service \ 0042 ${datadir}/dbus-1/system.d/*.conf \ 0043 ${datadir}/icons/hicolor \ 0044 ${datadir}/kconf_update/* \ 0045 ${datadir}/knotifications5/*.notifyrc \ 0046 ${datadir}/knsrcfiles \ 0047 ${datadir}/kservices5/*.desktop \ 0048 ${datadir}/kservices5/*.protocol \ 0049 ${datadir}/kservicetypes5/*.desktop \ 0050 ${datadir}/kxmlgui5/*/*.rc \ 0051 ${datadir}/metainfo/*.xml \ 0052 ${datadir}/polkit-1/actions/*.policy \ 0053 " 0054 0055 FILES:${PN}-dev:append = " \ 0056 ${datadir}/dbus-1/interfaces/*.xml \ 0057 ${datadir}/kdevappwizard/templates/*.tar.bz2 \ 0058 ${datadir}/qlogging-categories5/* \ 0059 ${libdir}/cmake/*/*.cmake \ 0060 ${prefix}/mkspecs/modules/qt_*.pri \ 0061 "