Commit fa11777c authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize kcmutils_generate_desktop_file cmake method

Task: https://phabricator.kde.org/T15609
parent 83699789
Pipeline #212189 passed with stage
in 2 minutes and 6 seconds
......@@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 14)
#################################################
# Dependencies
set(QT_MIN_VERSION "5.15.2")
set(KF5_VERSION "5.90")
set(KF5_VERSION "5.97")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
find_package(ECM ${KF5_VERSION} REQUIRED)
......
......@@ -3,6 +3,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_library(kcm_bolt MODULE)
kcmutils_generate_desktop_file(kcm_bolt)
target_sources(kcm_bolt PRIVATE
kcm_bolt.cpp
kcm_bolt.h
......@@ -16,7 +17,6 @@ target_link_libraries(kcm_bolt
)
install(TARGETS kcm_bolt DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings)
install(FILES kcm_bolt.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_bolt kcms)
[Desktop Entry]
Icon=preferences-desktop-thunderbolt
Type=Application
Exec=systemsettings kcm_bolt
NoDisplay=true
Name=Thunderbolt
Name[ar]=ثندر بولت
Name[az]=Thunderbolt
Name[bg]=Thunderbolt
Name[ca]=Thunderbolt
Name[ca@valencia]=Thunderbolt
Name[cs]=Thunderbolt
Name[da]=Thunderbolt
Name[de]=Thunderbolt
Name[en_GB]=Thunderbolt
Name[es]=Thunderbolt
Name[et]=Thunderbolt
Name[eu]=Thunderbolt
Name[fi]=Thunderbolt
Name[fr]=Thunderbolt
Name[gl]=Thunderbolt
Name[hu]=Thunderbolt
Name[ia]=Thunderbolt
Name[id]=Thunderbolt
Name[it]=Thunderbolt
Name[ko]=Thunderbolt
Name[lt]=Thunderbolt
Name[nl]=Thunderbolt
Name[nn]=Thunderbolt
Name[pa]=ਥੰਡਰਬੋਲਟ
Name[pl]=Thunderbolt
Name[pt]=Thunderbolt
Name[pt_BR]=Thunderbolt
Name[ro]=Thunderbolt
Name[ru]=Thunderbolt
Name[sk]=Thunderbolt
Name[sl]=Thunderbolt
Name[sv]=Thunderbolt
Name[tr]=Thunderbolt
Name[uk]=Thunderbolt
Name[x-test]=xxThunderboltxx
Name[zh_CN]=雷电接口
Name[zh_TW]=Thunderbolt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment