Commit 268f98e5 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize kcmutils_generate_desktop_file cmake method

Task: https://phabricator.kde.org/T15609
parent 82ffa5ab
Pipeline #210645 passed with stage
in 2 minutes and 43 seconds
......@@ -22,6 +22,7 @@ kconfig_add_kcfg_files(kcm_updates_PART_SRCS updatessettings.kcfgc GENERATE_MOC)
kconfig_add_kcfg_files(kcm_updates_PART_SRCS discoversettings.kcfgc GENERATE_MOC)
add_library(kcm_updates MODULE updates.cpp updates.h ${kcm_updates_PART_SRCS})
kcmutils_generate_desktop_file(kcm_updates)
target_link_libraries(kcm_updates
KF5::I18n
KF5::KCMUtils
......@@ -29,5 +30,4 @@ target_link_libraries(kcm_updates
)
install(TARGETS kcm_updates DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings)
install(FILES kcm_updates.desktop DESTINATION ${KDE_INSTALL_APPDIR})
kpackage_install_package(package kcm_updates kcms)
[Desktop Entry]
Type=Application
NoDisplay=true
Icon=system-software-update
Exec=systemsettings kcm_updates
Name=Software Update
Name[ar]=تحديث البرمجيّات
Name[az]=Proqram Təminatı Yenilənməsi
Name[bg]=Актуализация на софтуера
Name[ca]=Actualització de programari
Name[ca@valencia]=Actualització de programari
Name[cs]=Aktualizace softwaru
Name[de]=Softwareaktualisierung
Name[en_GB]=Software Update
Name[es]=Actualización de software
Name[eu]=Software eguneratzea
Name[fi]=Ohjelmapäivitys
Name[fr]=Mise à jour des logiciels
Name[hi]=सॉफ्टवेयर अद्यतन
Name[hsb]=Aktualizowanje
Name[ia]=Actualisationes de Software
Name[id]=Pembaruan Perangkat Lunak
Name[it]=Aggiornamento software
Name[ko]=소프트웨어 업데이트
Name[lt]=Programinės įrangos atnaujinimas
Name[my]=ဆော့ဖ်ဝဲလ်အပ်ဒိတ်
Name[nl]=Bijwerken van software
Name[nn]=Program­oppdatering
Name[pa]=ਸਾਫਟਵੇਅਰ ਅੱਪਡੇਟ
Name[pl]=Uaktualnienia oprogramowania
Name[pt]=Actualização das Aplicações
Name[pt_BR]=Atualização de aplicativos
Name[ro]=Actualizare de programe
Name[ru]=Обновление программ
Name[sk]=Aktualizácia softvéru
Name[sl]=Posodobi programe
Name[sv]=Uppdatering av programvara
Name[tg]=Навсозии нармафзор
Name[tr]=Yazılım Güncelleme
Name[uk]=Оновлення програм
Name[x-test]=xxSoftware Updatexx
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