Port platformstatus kded plugin to json metadata...
and disable installation of desktop file.
This commit is contained in:
parent
7061235418
commit
cc885eb652
@ -13,6 +13,7 @@ add_library(kded_platformstatus MODULE ${kded_platformstatus_SRCS} )
|
||||
set_target_properties(kded_platformstatus PROPERTIES
|
||||
OUTPUT_NAME platformstatus
|
||||
)
|
||||
kcoreaddons_desktop_to_json(kded_platformstatus platformstatus.desktop)
|
||||
|
||||
target_link_libraries(
|
||||
kded_platformstatus
|
||||
@ -26,6 +27,5 @@ target_link_libraries(
|
||||
)
|
||||
|
||||
install( TARGETS kded_platformstatus DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kded )
|
||||
install( FILES platformstatus.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kded )
|
||||
install( FILES org.kde.platformstatus.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
|
||||
|
||||
|
@ -16,7 +16,9 @@
|
||||
const char defaultPackage[] = "org.kde.plasma.desktop";
|
||||
const char defaultLnFPackage[] = "org.kde.breeze.desktop";
|
||||
|
||||
K_PLUGIN_FACTORY(PlatformStatusFactory, registerPlugin<PlatformStatus>();)
|
||||
K_PLUGIN_FACTORY_WITH_JSON(PlatformStatusFactory,
|
||||
"platformstatus.json",
|
||||
registerPlugin<PlatformStatus>();)
|
||||
|
||||
PlatformStatus::PlatformStatus(QObject *parent, const QVariantList &)
|
||||
: KDEDModule(parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user