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