Commit 4ad7ceea authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use kcoreaddons_add_plugin for kded module

Reviewers: #frameworks, bshah, leinir, apol

Reviewed By: apol

Differential Revision: https://phabricator.kde.org/D27707
parent 3f4fc9d4
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
set(accounts_daemon_SRCS
daemon.cpp
kcoreaddons_add_plugin(
kded_accounts
SOURCES daemon.cpp
JSON kded_accounts.json
INSTALL_NAMESPACE "kf5/kded"
)
add_library(kded_accounts MODULE
${accounts_daemon_SRCS}
)
kcoreaddons_desktop_to_json(kded_accounts accounts.desktop)
target_link_libraries(kded_accounts
Qt5::Core
KF5::DBusAddons
kaccounts
)
set_target_properties(kded_accounts PROPERTIES OUTPUT_NAME accounts)
install(TARGETS kded_accounts DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kded)
[Desktop Entry]
Name=Accounts
Name[ar]=الحسابات
Name[ca]=Comptes
Name[ca@valencia]=Comptes
Name[cs]=Účty
Name[da]=Konti
Name[de]=Zugänge
Name[el]=Λογαριασμοί
Name[en_GB]=Accounts
Name[es]=Cuentas
Name[et]=Kontod
Name[eu]=Kontuak
Name[fi]=Tilit
Name[fr]=Comptes
Name[gl]=Contas
Name[hu]=Fiókok
Name[ia]=Contos
Name[it]=Account
Name[ko]=계정
Name[lt]=Paskyros
Name[nl]=Accounts
Name[nn]=Kontoar
Name[pl]=Konta
Name[pt]=Contas
Name[pt_BR]=Contas
Name[ro]=Conturi
Name[ru]=Учётные записи в Интернете
Name[sk]=Účty
Name[sl]=Računi
Name[sr]=Налози
Name[sr@ijekavian]=Налози
Name[sr@ijekavianlatin]=Nalozi
Name[sr@latin]=Nalozi
Name[sv]=Konton
Name[tr]=Hesaplar
Name[uk]=Облікові записи
Name[x-test]=xxAccountsxx
Name[zh_CN]=帐户
Name[zh_TW]=帳號
Comment=Accounts management
Comment[ar]=إدارة الحساباتل
Comment[ca]=Gestor de comptes
Comment[ca@valencia]=Gestor de comptes
Comment[cs]=Správa účtů
Comment[da]=Håndtering af konti
Comment[de]=Zugangs-Verwaltung
Comment[el]=Διαχείριση λογαριασμών
Comment[en_GB]=Accounts management
Comment[es]=Gestión de cuentas
Comment[et]=Kontode haldus
Comment[eu]=Kontuen kudeaketa
Comment[fi]=Tilienhallinta
Comment[fr]=Gestion des comptes
Comment[gl]=Xestión das contas
Comment[hu]=Fiókkezelés
Comment[ia]=Gestion de contos
Comment[it]=Gestione account
Comment[ko]=계정 관리
Comment[lt]=Paskyrų tvarkymas
Comment[nl]=Accountbeheer
Comment[nn]=Konto­handsaming
Comment[pl]=Zarządzanie kontami
Comment[pt]=Gestão de contas
Comment[pt_BR]=Gerenciamento de contas
Comment[ro]=Gestiune conturi
Comment[ru]=Управление учётными записями в интернет-службах
Comment[sk]=Správa účtov
Comment[sl]=Upravljanje računov
Comment[sr]=Управљање налозима
Comment[sr@ijekavian]=Управљање налозима
Comment[sr@ijekavianlatin]=Upravljanje nalozima
Comment[sr@latin]=Upravljanje nalozima
Comment[sv]=Kontohantering
Comment[tr]=Hesap yönetimi
Comment[uk]=Керування обліковими записами
Comment[x-test]=xxAccounts managementxx
Comment[zh_CN]=账户管理
Comment[zh_TW]=帳號管理
Type=Service
Icon=preferences-system-power-management
X-KDE-ServiceTypes=KDEDModule
X-KDE-Library=accounts
X-KDE-DBus-ModuleName=accounts
X-KDE-Kded-autoload=true
X-KDE-Kded-load-on-demand=false
X-KDE-Kded-phase=1
{
"KPlugin": {
"Description": "Accounts management",
"Name": "Accounts"
},
"OnlyShowIn": "KDE;",
"X-KDE-Kded-autoload": true,
"X-KDE-Kded-phase": 1,
"X-KDE-ModuleType": "Library"
}
Markdown is supported
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