Use KPackage macro for installing plasmoid
The macro does some extra stuff under the hood, like converting the metadata.desktop to json, which makes loading the plasmoid a bit faster
This commit is contained in:
parent
a3082de593
commit
ab7b805da1
2 changed files with 2 additions and 2 deletions
|
@ -71,6 +71,7 @@ else()
|
||||||
)
|
)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
|
find_package(KF5Package REQUIRED)
|
||||||
find_package(KF5PulseAudioQt)
|
find_package(KF5PulseAudioQt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
install(DIRECTORY package/
|
kpackage_install_package(package org.kde.kdeconnect plasmoids plasma NO_DEPRECATED_WARNING)
|
||||||
DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/org.kde.kdeconnect)
|
|
||||||
|
|
||||||
install(FILES package/metadata.desktop
|
install(FILES package/metadata.desktop
|
||||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
|
Loading…
Reference in a new issue