Commit ab7b805d authored by Nicolas Fella's avatar Nicolas Fella
Browse files

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
parent a3082de5
Pipeline #72398 passed with stage
in 4 minutes and 6 seconds
...@@ -71,6 +71,7 @@ else() ...@@ -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()
......
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}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment