diff --git a/ksplash/ksplashqml/CMakeLists.txt b/ksplash/ksplashqml/CMakeLists.txt --- a/ksplash/ksplashqml/CMakeLists.txt +++ b/ksplash/ksplashqml/CMakeLists.txt @@ -23,3 +23,5 @@ install(TARGETS ksplashqml ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) install(FILES org.kde.KSplash.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) +configure_file(ksplashqml.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/ksplashqml.desktop @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ksplashqml.desktop DESTINATION ${KDE_INSTALL_APPDIR}) diff --git a/ksplash/ksplashqml/ksplashqml.desktop.cmake b/ksplash/ksplashqml/ksplashqml.desktop.cmake new file mode 100644 --- /dev/null +++ b/ksplash/ksplashqml/ksplashqml.desktop.cmake @@ -0,0 +1,8 @@ +[Desktop Entry] +Exec=@CMAKE_INSTALL_PREFIX@/bin/ksplashqml +GenericName=Plasma Qml Splash Screen +Name=ksplashqml +NoDisplay=true +Type=Application +X-KDE-Wayland-Interfaces=org_kde_plasma_window_management +