mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 22:35:49 +00:00
Small changes
* move logging ini file from dataengine to library * improve dataengine desktop file * fix configuration warnings with the newest plasma
This commit is contained in:
@ -16,7 +16,6 @@ file(RELATIVE_PATH SUBPROJECT_DESKTOP ${CMAKE_SOURCE_DIR} ${SUBPROJECT_DESKTOP_I
|
||||
file(GLOB SUBPROJECT_SOURCE *.cpp sources/*.cpp ${PROJECT_TRDPARTY_DIR}/task/*.cpp ${CMAKE_SOURCE_DIR}/*.cpp)
|
||||
set(TASK_HEADER ${PROJECT_TRDPARTY_DIR}/task/task.h)
|
||||
file(GLOB SUBPROJECT_CONF *.conf)
|
||||
file(GLOB SUBPROJECT_INI *.ini)
|
||||
|
||||
# prepare
|
||||
configure_file(${SUBPROJECT_DESKTOP_IN} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_DESKTOP})
|
||||
@ -25,10 +24,10 @@ configure_file(${SUBPROJECT_DESKTOP_IN} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT
|
||||
qt5_wrap_cpp(TASK_MOC_SOURCE ${TASK_HEADER})
|
||||
add_library(${SUBPROJECT} MODULE ${SUBPROJECT_SOURCE} ${TASK_MOC_SOURCE})
|
||||
target_link_libraries(${SUBPROJECT} ${PROJECT_LIBRARY} ${Qt_LIBRARIES} ${Kf5_LIBRARIES})
|
||||
kcoreaddons_desktop_to_json(${SUBPROJECT} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_DESKTOP})
|
||||
kcoreaddons_desktop_to_json(${SUBPROJECT} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_DESKTOP}
|
||||
SERVICE_TYPES plasma-dataengine.desktop)
|
||||
|
||||
# install
|
||||
install(TARGETS ${SUBPROJECT} DESTINATION ${PLUGIN_INSTALL_DIR}/plasma/dataengine)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_DESKTOP} DESTINATION ${SERVICES_INSTALL_DIR})
|
||||
install(FILES ${SUBPROJECT_CONF} DESTINATION ${CONFIG_INSTALL_DIR})
|
||||
install(FILES ${SUBPROJECT_INI} DESTINATION ${CONFIG_INSTALL_DIR})
|
||||
|
@ -1,17 +0,0 @@
|
||||
[Rules]
|
||||
org.kde.plasma.awesomewidget.debug=true
|
||||
org.kde.plasma.awesomewidget.info=true
|
||||
org.kde.plasma.awesomewidget.warning=true
|
||||
org.kde.plasma.awesomewidget.critical=true
|
||||
org.kde.plasma.desktoppanel.debug=true
|
||||
org.kde.plasma.desktoppanel.info=true
|
||||
org.kde.plasma.desktoppanel.warning=true
|
||||
org.kde.plasma.desktoppanel.critical=true
|
||||
org.kde.plasma.extsysmon.debug=true
|
||||
org.kde.plasma.extsysmon.info=true
|
||||
org.kde.plasma.extsysmon.warning=true
|
||||
org.kde.plasma.extsysmon.critical=true
|
||||
org.kde.plasma.awesomewidgets.debug=true
|
||||
org.kde.plasma.awesomewidgets.info=true
|
||||
org.kde.plasma.awesomewidgets.warning=true
|
||||
org.kde.plasma.awesomewidgets.critical=true
|
@ -6,9 +6,7 @@ ServiceTypes=Plasma/DataEngine
|
||||
Type=Service
|
||||
Icon=utilities-system-monitor
|
||||
|
||||
X-KDE-ServiceTypes=Plasma/DataEngine
|
||||
X-KDE-Library=plasma_dataengine_extsysmon
|
||||
X-Plasma-EngineName=extsysmon
|
||||
|
||||
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||
@ -17,4 +15,3 @@ X-KDE-PluginInfo-Version=@PROJECT_VERSION@
|
||||
X-KDE-PluginInfo-Category=System Information
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL3
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
|
Reference in New Issue
Block a user