taks:provide single json metadata file

--this way make installation happy without warnings
pull/24/head
Michail Vourlakos 3 years ago
parent 3c155198a1
commit 81e0f90f43

@ -1,10 +1,5 @@
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.latte.plasmoid\") add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.latte.plasmoid\")
configure_file(metadata.json.in ${CMAKE_CURRENT_BINARY_DIR}/metadata.json @ONLY)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/metadata.json"
DESTINATION ${PLASMA_DATA_INSTALL_DIR}/plasmoids/org.kde.latte.plasmoid
)
plasma_install_package(package org.kde.latte.plasmoid) plasma_install_package(package org.kde.latte.plasmoid)
set(tasks_SRCS set(tasks_SRCS

@ -75,8 +75,8 @@
"ServiceTypes": [ "ServiceTypes": [
"Plasma/Applet" "Plasma/Applet"
], ],
"Version": "@VERSION@", "Version": "0.1",
"Website": "@WEBSITE@" "Website": "https://userbase.kde.org/LatteDock"
}, },
"X-Plasma-API": "declarativeappletscript", "X-Plasma-API": "declarativeappletscript",
"X-Plasma-MainScript": "ui/main.qml", "X-Plasma-MainScript": "ui/main.qml",
Loading…
Cancel
Save