mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
Small fixes in dataengine
This commit is contained in:
@ -1,24 +1,24 @@
|
||||
project (extsysmon)
|
||||
|
||||
# Find the required Libaries
|
||||
# set project name
|
||||
project (plasma_engine_extsysmon)
|
||||
|
||||
# find required libaries
|
||||
find_package (KDE4 REQUIRED)
|
||||
include (KDE4Defaults)
|
||||
|
||||
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
include_directories (${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
|
||||
add_definitions (${QT_DEFINITIONS}
|
||||
${KDE4_DEFINITIONS})
|
||||
include_directories (${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${KDE4_INCLUDES})
|
||||
|
||||
set (extsysmon_engine_SRCS extsysmon.cpp)
|
||||
|
||||
# Now make sure all files get to the right place
|
||||
kde4_add_plugin (plasma_engine_extsysmon ${extsysmon_engine_SRCS})
|
||||
target_link_libraries(plasma_engine_extsysmon
|
||||
${KDE4_KDECORE_LIBS}
|
||||
${KDE4_PLASMA_LIBS})
|
||||
|
||||
install(TARGETS plasma_engine_extsysmon
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
|
||||
install(FILES plasma-engine-extsysmon.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR})
|
||||
set (PLUGIN_NAME ${PROJECT_NAME})
|
||||
file (GLOB PROJECT_DESKTOP *.desktop)
|
||||
file (GLOB PROJECT_SRCS *.cpp)
|
||||
|
||||
# make
|
||||
kde4_add_plugin (${PLUGIN_NAME} ${PROJECT_SRCS})
|
||||
target_link_libraries (${PLUGIN_NAME} ${KDE4_KDECORE_LIBS} ${KDE4_PLASMA_LIBS})
|
||||
|
||||
# install
|
||||
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
install(FILES ${PROJECT_DESKTOP} DESTINATION ${SERVICES_INSTALL_DIR})
|
||||
|
@ -9,7 +9,8 @@ Icon=utilities-system-monitor
|
||||
X-KDE-ServiceTypes=Plasma/DataEngine
|
||||
X-KDE-Library=plasma_engine_extsysmon
|
||||
X-Plasma-EngineName=ext-sysmon
|
||||
X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis
|
||||
|
||||
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||
X-KDE-PluginInfo-Name=ext-sysmon
|
||||
X-KDE-PluginInfo-Version=1.2
|
||||
|
Reference in New Issue
Block a user