Commit b38babd8 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Declare as DBusActivatable and install D-Bus service file

KDBusService provides the needed code support already out-of-the-box.
parent 057219df
Pipeline #113010 passed with stage
in 1 minute and 31 seconds
......@@ -24,6 +24,7 @@ include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMInstallIcons)
include(ECMSetupVersion)
include(ECMGenerateDBusServiceFile)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core Network Widgets)
......
......@@ -3,6 +3,11 @@ add_subdirectory(images)
add_subdirectory(scripts)
add_subdirectory(scripting_support)
ecm_generate_dbus_service_file(
NAME org.kde.konversation
EXECUTABLE ${KDE_INSTALL_FULL_BINDIR}/konversation
DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR}
)
########### install files ###############
......
......@@ -117,6 +117,7 @@ Name[x-test]=xxKonversationxx
Name[zh_CN]=Konversation
Name[zh_TW]=Konversation
Categories=Qt;KDE;Network;IRCClient;
DBusActivatable=true
X-DBUS-StartupType=Unique
X-DBUS-ServiceName=org.kde.konversation
StartupNotify=true
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