1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-10 21:18:19 +03:00

taks:provide single json metadata file

--this way make installation happy without warnings
This commit is contained in:
Michail Vourlakos 2022-06-19 18:00:18 +03:00
parent 3c155198a1
commit 81e0f90f43
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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",