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

Configure metadata for plasmoid, remove versions where not needed

This commit is contained in:
Alexander Lohnau 2022-05-12 17:30:25 +02:00 committed by Luigi Toscano
parent cb32286a8f
commit a2fb837ea1
4 changed files with 7 additions and 4 deletions

View File

@ -72,7 +72,6 @@
"Plasma/Applet", "Plasma/Applet",
"Plasma/Containment" "Plasma/Containment"
], ],
"Version": "0.10.77",
"Website": "https://userbase.kde.org/LatteDock" "Website": "https://userbase.kde.org/LatteDock"
}, },
"NoDisplay": true, "NoDisplay": true,

View File

@ -1,5 +1,10 @@
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": "0.10.77", "Version": "@VERSION@",
"Website": "https://userbase.kde.org/LatteDock" "Website": "@WEBSITE@"
}, },
"X-Plasma-API": "declarativeappletscript", "X-Plasma-API": "declarativeappletscript",
"X-Plasma-MainScript": "ui/main.qml", "X-Plasma-MainScript": "ui/main.qml",

View File

@ -75,7 +75,6 @@
"ServiceTypes": [ "ServiceTypes": [
"Plasma/Shell" "Plasma/Shell"
], ],
"Version": "0.10.77",
"Website": "https://userbase.kde.org/LatteDock" "Website": "https://userbase.kde.org/LatteDock"
}, },
"Keywords": "shell", "Keywords": "shell",