Commit 87f3043a authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize kcmutils_generate_desktop_file cmake method

Task: https://phabricator.kde.org/T15609
parent f707eeeb
Pipeline #210644 passed with stage
in 6 minutes and 35 seconds
......@@ -6,7 +6,7 @@ set(PROJECT_VERSION "5.25.80")
set(PROJECT_VERSION_MAJOR 5)
set(QT_MIN_VERSION "5.15.2")
set(KF5_MIN_VERSION "5.94")
set(KF5_MIN_VERSION "5.97")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
set(CMAKE_CXX_STANDARD 17)
......
......@@ -12,6 +12,7 @@ qt_add_dbus_interface(screenlocker_kcm_SRCS ../dbus/org.kde.screensaver.xml scre
kcoreaddons_add_plugin(kcm_screenlocker SOURCES ${screenlocker_kcm_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings")
kcmutils_generate_desktop_file(kcm_screenlocker)
target_link_libraries(kcm_screenlocker
settings
Qt::DBus
......@@ -25,5 +26,3 @@ target_link_libraries(kcm_screenlocker
)
kpackage_install_package(package kcm_screenlocker kcms)
install(FILES kcm_screenlocker.desktop DESTINATION ${KDE_INSTALL_APPDIR})
[Desktop Entry]
Type=Application
Icon=preferences-desktop-user-password
Exec=systemsettings kcm_screenlocker
NoDisplay=true
Name=Screen Locking
Name[ar]=قفل الشاشة
Name[bg]=Заключване на екрана
Name[ca]=Bloqueig de pantalla
Name[ca@valencia]=Bloqueig de pantalla
Name[cs]=Uzamykání obrazovky
Name[da]=Skærmlås
Name[de]=Bildschirmsperre
Name[el]=Κλείδωμα οθόνης
Name[en_GB]=Screen Locking
Name[es]=Bloqueo de pantalla
Name[et]=Ekraani lukustamine
Name[eu]=Pantaila giltzatzea
Name[fi]=Näytön lukitus
Name[fr]=Verrouillage de l'écran
Name[gl]=Trancar a pantalla
Name[he]=נעילת מסך
Name[hu]=Képernyőzárolás
Name[ia]=Schermo blocate
Name[id]=Penguncian Layar
Name[it]=Blocco dello schermo
Name[ja]=スクリーンロック
Name[ko]=화면 잠금
Name[lt]=Ekrano užraktas
Name[lv]=Ekrāna slēgšana
Name[ml]=സ്ക്രീൻ പുട്ടുക
Name[nb]=Skjermlåsing
Name[nl]=Scherm vergrendelen
Name[nn]=Skjerm­låsing
Name[pa]=ਸਕਰੀਨ ਲਾਕ
Name[pl]=Blokada ekranu
Name[pt]=Bloqueio do Ecrã
Name[pt_BR]=Bloqueio de tela
Name[ro]=Blocarea ecranului
Name[ru]=Блокировка экрана
Name[sk]=Zamykanie obrazovky
Name[sl]=Zaklep zaslona
Name[sr]=Закључавање екрана
Name[sr@ijekavian]=Закључавање екрана
Name[sr@ijekavianlatin]=Zaključavanje ekrana
Name[sr@latin]=Zaključavanje ekrana
Name[sv]=Skärmlåsning
Name[ta]=திரை பூட்டல்
Name[tg]=Қулфкунии экран
Name[tr]=Ekran Kilitleme
Name[uk]=Блокування екрана
Name[x-test]=xxScreen Lockingxx
Name[zh_CN]=锁屏
Name[zh_TW]=螢幕鎖定
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