Add appstream file for Plasmoid

This commit is contained in:
Martchus 2022-10-08 21:56:46 +02:00
parent 127cd71856
commit 4e19c98471
2 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PA
find_package(KF5Plasma REQUIRED)
# find c++utilities
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.0.0 REQUIRED)
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.20.0 REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${CPP_UTILITIES_MODULE_DIRS})
# prepare plasmoid package/configuration

View File

@ -42,6 +42,7 @@ include(QtConfig)
include(WindowsResources)
include(LibraryTarget)
include(ConfigHeader)
include(AppUtilities)
# export some variable for further use in the overall plasmoid build script
set(META_TARGET_NAME
@ -57,3 +58,6 @@ set(META_PROJECT_LICENSE
# what ever this does, it is done
kcoreaddons_desktop_to_json("${META_TARGET_NAME}" "${PLASMOID_CONFIG_TARGET_FILE}" DESKTOP_TO_JSON_OUTPUT_DIR
"${PLASMOID_PACKAGE_DIR}")
# install appstream file
add_appstream_file()