diff --git a/containment/package/metadata.json b/containment/package/metadata.json index 5f9830ff6..08148b9be 100644 --- a/containment/package/metadata.json +++ b/containment/package/metadata.json @@ -72,7 +72,6 @@ "Plasma/Applet", "Plasma/Containment" ], - "Version": "0.10.77", "Website": "https://userbase.kde.org/LatteDock" }, "NoDisplay": true, diff --git a/plasmoid/CMakeLists.txt b/plasmoid/CMakeLists.txt index d298c9977..be014fa55 100644 --- a/plasmoid/CMakeLists.txt +++ b/plasmoid/CMakeLists.txt @@ -1,5 +1,10 @@ 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) set(tasks_SRCS diff --git a/plasmoid/package/metadata.json b/plasmoid/metadata.json.in similarity index 97% rename from plasmoid/package/metadata.json rename to plasmoid/metadata.json.in index db0fc2eae..d20ad2d6a 100644 --- a/plasmoid/package/metadata.json +++ b/plasmoid/metadata.json.in @@ -75,8 +75,8 @@ "ServiceTypes": [ "Plasma/Applet" ], - "Version": "0.10.77", - "Website": "https://userbase.kde.org/LatteDock" + "Version": "@VERSION@", + "Website": "@WEBSITE@" }, "X-Plasma-API": "declarativeappletscript", "X-Plasma-MainScript": "ui/main.qml", diff --git a/shell/package/metadata.json b/shell/package/metadata.json index b444fe412..f453bfb2a 100644 --- a/shell/package/metadata.json +++ b/shell/package/metadata.json @@ -75,7 +75,6 @@ "ServiceTypes": [ "Plasma/Shell" ], - "Version": "0.10.77", "Website": "https://userbase.kde.org/LatteDock" }, "Keywords": "shell",